{"schema":1,"platform":"spectrum","game":"where-time-stood-still","part":"bank-03","title":"Where Time Stood Still","build":"Ocean's original 128K release (TOSEC: Where Time Stood Still (1988)(Ocean)(128K)[aka Land That Time Forgot, The][aka Tibet].tzx), a BASIC loader and SpeedLock 4 turbo blocks: the loading screen, 22,183 bytes of program, five 16 KB banks and 9,472 bytes of bank 7","symbols_sha256":"0869732fcca2d0f0f0bc4f55082153bf9f893abe6dab50ce0e3767330ab1b1eb","snapshot":{"file":"work/entry.sna","sha256":"c1653798c4bec7bc9c489cc73afe15aceb438c58c27838c0dd8d16b2be13f5cd"},"index":[{"a":49152,"n":"area_boxes","k":"table","len":256,"c":true},{"a":49408,"n":"shots","k":"table","len":192,"c":true},{"a":49600,"n":"muzzles","k":"table","len":72,"c":true},{"a":49672,"n":"hits_left","k":"table","len":16,"c":true},{"a":49688,"n":"shot_ptr","k":"table","len":3,"c":true},{"a":49691,"n":"move_shots","k":"routine","len":46,"c":true},{"a":49737,"n":"shot_step","k":"routine","len":57,"c":true},{"a":49794,"n":"shot_end","k":"routine","len":224,"c":true},{"a":50018,"n":"project","k":"routine","len":44,"c":true},{"a":50062,"n":"screen_address","k":"routine","len":57,"c":true},{"a":50119,"n":"next_shot","k":"routine","len":87,"c":true},{"a":50206,"n":"draw_shot","k":"routine","len":68,"c":true},{"a":50274,"n":"shot_line","k":"routine","len":107,"c":true},{"a":50381,"n":"shot_advance","k":"routine","len":42,"c":true},{"a":50423,"n":"shot_offsets","k":"routine","len":77,"c":true},{"a":50500,"n":"shot_nudges","k":"table","len":20,"c":true},{"a":50520,"n":"shot_steps","k":"table","len":50,"c":true},{"a":50570,"n":"draw_any_shot","k":"routine","len":174,"c":true},{"a":50744,"n":"shot_path","k":"routine","len":164,"c":true},{"a":50908,"n":"enemy_shot_hit","k":"routine","len":89,"c":true},{"a":50997,"n":"can_fire","k":"routine","len":37,"c":true},{"a":51034,"n":"fire","k":"routine","len":79,"c":true},{"a":51113,"n":"shot_collapse","k":"routine","len":13,"c":true},{"a":51126,"n":"shot_hits","k":"routine","len":163,"c":true},{"a":51289,"n":"muzzle","k":"routine","len":55,"c":true},{"a":51344,"n":"menu_mode","k":"variable","len":1,"c":true},{"a":51345,"n":"menu_vars","k":"table","len":8,"c":true},{"a":51353,"n":"menu_windows","k":"table","len":26,"c":true},{"a":51379,"n":"pointer","k":"table","len":18,"c":true},{"a":51397,"n":"click","k":"routine","len":15,"c":true},{"a":51412,"n":"menus_pass","k":"routine","len":26,"c":true},{"a":51438,"n":"redraw_dragged","k":"routine","len":37,"c":true},{"a":51475,"n":"update_icons","k":"routine","len":112,"c":true},{"a":51587,"n":"update_inventory","k":"routine","len":101,"c":true},{"a":51688,"n":"fill_slots","k":"routine","len":97,"c":true},{"a":51785,"n":"menu_move","k":"routine","len":38,"c":true},{"a":51823,"n":"menu_moves","k":"table","len":36,"c":true},{"a":51859,"n":"pointer_up_right","k":"routine","len":20,"c":true},{"a":51879,"n":"pointer_left","k":"routine","len":12,"c":true},{"a":51891,"n":"pointer_right","k":"routine","len":24,"c":true},{"a":51915,"n":"pointer_up","k":"routine","len":12,"c":true},{"a":51927,"n":"pointer_down","k":"routine","len":20,"c":true},{"a":51947,"n":"copy_window","k":"routine","len":9,"c":true},{"a":51956,"n":"menu_fire","k":"routine","len":209,"c":true},{"a":52165,"n":"redraw_area","k":"routine","len":85,"c":true},{"a":52250,"n":"window_down_left","k":"routine","len":47,"c":true},{"a":52297,"n":"window_up","k":"routine","len":47,"c":true},{"a":52344,"n":"drop_on_icon","k":"routine","len":63,"c":true},{"a":52407,"n":"four_clear","k":"routine","len":25,"c":true},{"a":52432,"n":"drop_object","k":"routine","len":63,"c":true},{"a":52495,"n":"icon_actions","k":"table","len":36,"c":true},{"a":52531,"n":"pick_character","k":"routine","len":24,"c":true},{"a":52555,"n":"ask_new_game","k":"routine","len":44,"c":true},{"a":52599,"n":"toggle_music","k":"routine","len":12,"c":true},{"a":52611,"n":"use_item","k":"routine","len":56,"c":true},{"a":52667,"n":"quit_menu","k":"routine","len":50,"c":true},{"a":52717,"n":"spare_ret","k":"variable","len":1,"c":true},{"a":52718,"n":"pause","k":"routine","len":37,"c":true},{"a":52755,"n":"take_object","k":"routine","len":68,"c":true},{"a":52823,"n":"open_menu_2","k":"routine","len":32,"c":true},{"a":52855,"n":"open_menu_1","k":"routine","len":36,"c":true},{"a":52891,"n":"draw_menu","k":"routine","len":38,"c":true},{"a":52929,"n":"portraits_state","k":"routine","len":27,"c":true},{"a":52956,"n":"menu_colour","k":"routine","len":13,"c":true},{"a":52969,"n":"draw_icon","k":"routine","len":89,"c":true},{"a":53058,"n":"draw_object_icon","k":"routine","len":161,"c":true},{"a":53219,"n":"draw_char_icon","k":"routine","len":66,"c":true},{"a":53285,"n":"icon_colours","k":"routine","len":99,"c":true},{"a":53384,"n":"menu_1_icons","k":"table","len":40,"c":true},{"a":53424,"n":"menu_2_icons","k":"table","len":50,"c":true},{"a":53474,"n":"menu_frame","k":"table","len":36,"c":true},{"a":53510,"n":"icon_pictures","k":"table","len":26,"c":true},{"a":53536,"n":"icon_lists","k":"table","len":188,"c":true},{"a":53724,"n":"portraits","k":"table","len":60,"c":true},{"a":53784,"n":"menu_chars","k":"table","len":936,"c":true},{"a":54720,"n":"text_vars","k":"table","len":3,"c":true},{"a":54723,"n":"needs","k":"table","len":32,"c":true},{"a":54755,"n":"need_limits","k":"table","len":32,"c":true},{"a":54787,"n":"needs_pass","k":"routine","len":142,"c":true},{"a":54929,"n":"need_up","k":"routine","len":9,"c":true},{"a":54938,"n":"need_down","k":"routine","len":32,"c":true},{"a":54970,"n":"runner_noise","k":"routine","len":35,"c":true},{"a":55005,"n":"thirst_starve","k":"routine","len":45,"c":true},{"a":55050,"n":"needs_check","k":"routine","len":139,"c":true},{"a":55189,"n":"leave_party","k":"routine","len":36,"c":true},{"a":55225,"n":"next_message","k":"routine","len":51,"c":true},{"a":55276,"n":"show_message","k":"routine","len":96,"c":true},{"a":55372,"n":"mirror_letters","k":"table","len":4,"c":true},{"a":55376,"n":"print_letter","k":"routine","len":97,"c":true},{"a":55473,"n":"message_codes","k":"table","len":14,"c":true},{"a":55487,"n":"code_he_said","k":"routine","len":12,"c":true},{"a":55499,"n":"code_name","k":"routine","len":5,"c":true},{"a":55504,"n":"code_exclamation","k":"routine","len":10,"c":true},{"a":55514,"n":"code_leader","k":"routine","len":25,"c":true},{"a":55539,"n":"new_line","k":"routine","len":23,"c":true},{"a":55562,"n":"new_line_back","k":"routine","len":8,"c":true},{"a":55570,"n":"or_letter_row","k":"routine","len":9,"c":true},{"a":55579,"n":"message_frame","k":"routine","len":137,"c":true},{"a":55716,"n":"frame_count","k":"variable","len":1,"c":true},{"a":55717,"n":"draw_menu_frame","k":"routine","len":76,"c":true},{"a":55793,"n":"draw_menu_char","k":"routine","len":28,"c":true},{"a":55821,"n":"message_lists","k":"table","len":125,"c":true},{"a":55946,"n":"small_font","k":"table","len":117,"c":true},{"a":56063,"n":"route_vars","k":"table","len":12,"c":true},{"a":56075,"n":"area_edges","k":"routine","len":56,"c":true},{"a":56131,"n":"area_east","k":"routine","len":101,"c":true},{"a":56232,"n":"carry_actors","k":"routine","len":53,"c":true},{"a":56285,"n":"carry_actor","k":"routine","len":46,"c":true},{"a":56331,"n":"place_creatures","k":"routine","len":149,"c":true},{"a":56480,"n":"record_ground","k":"routine","len":25,"c":true},{"a":56505,"n":"drop_far_actors","k":"routine","len":99,"c":true},{"a":56604,"n":"bring_in","k":"routine","len":316,"c":true},{"a":56920,"n":"put_back","k":"routine","len":93,"c":true},{"a":57013,"n":"leader_place","k":"routine","len":32,"c":true},{"a":57045,"n":"actors_pass","k":"routine","len":79,"c":true},{"a":57124,"n":"actor_step","k":"routine","len":34,"c":true},{"a":57158,"n":"state_steps","k":"table","len":20,"c":true},{"a":57178,"n":"state_die","k":"routine","len":6,"c":true},{"a":57184,"n":"state_route","k":"routine","len":40,"c":true},{"a":57224,"n":"state_stand","k":"routine","len":3,"c":true},{"a":57227,"n":"state_follow","k":"routine","len":152,"c":true},{"a":57379,"n":"walk_to_leader","k":"routine","len":43,"c":true},{"a":57422,"n":"step_round","k":"routine","len":44,"c":true},{"a":57466,"n":"state_fixed","k":"routine","len":8,"c":true},{"a":57474,"n":"state_fetch","k":"routine","len":132,"c":true},{"a":57606,"n":"next_point","k":"routine","len":15,"c":true},{"a":57621,"n":"walk_towards","k":"routine","len":55,"c":true},{"a":57676,"n":"axis_walk","k":"routine","len":59,"c":true},{"a":57735,"n":"move_records","k":"routine","len":199,"c":true},{"a":57934,"n":"nearest_route","k":"routine","len":102,"c":true},{"a":58036,"n":"near_leader","k":"routine","len":30,"c":true},{"a":58066,"n":"edge_east","k":"routine","len":68,"c":true},{"a":58134,"n":"record_edges","k":"routine","len":131,"c":true},{"a":58265,"n":"route_point","k":"routine","len":176,"c":true},{"a":58441,"n":"turn_round","k":"routine","len":15,"c":true},{"a":58456,"n":"step_record","k":"routine","len":41,"c":true},{"a":58497,"n":"random","k":"routine","len":15,"c":true},{"a":58512,"n":"random_ptr","k":"variable","len":2,"c":true},{"a":58514,"n":"record_of","k":"routine","len":14,"c":true},{"a":58528,"n":"add_percent","k":"routine","len":30,"c":true},{"a":58558,"n":"left_behind","k":"table","len":4,"c":true},{"a":58562,"n":"state_pull","k":"routine","len":115,"c":true},{"a":58677,"n":"state_throw","k":"routine","len":65,"c":true},{"a":58742,"n":"state_haul","k":"routine","len":50,"c":true},{"a":58792,"n":"back_to_follow","k":"routine","len":97,"c":true},{"a":58889,"n":"clive_falls","k":"routine","len":132,"c":true},{"a":59021,"n":"rope_timer","k":"routine","len":38,"c":true},{"a":59059,"n":"draw_rope","k":"routine","len":156,"c":true},{"a":59215,"n":"rope_end","k":"routine","len":15,"c":true},{"a":59230,"n":"clip_falling","k":"routine","len":105,"c":true},{"a":59335,"n":"shot_visible","k":"routine","len":170,"c":true},{"a":59505,"n":"view_limits","k":"routine","len":102,"c":true},{"a":59607,"n":"turn_marker","k":"routine","len":57,"c":true},{"a":59664,"n":"game_end","k":"routine","len":101,"c":true},{"a":59765,"n":"end_screen","k":"routine","len":150,"c":true},{"a":59915,"n":"pity_line","k":"routine","len":50,"c":true},{"a":59965,"n":"frame_size","k":"routine","len":27,"c":true},{"a":59992,"n":"end_texts","k":"string","len":110,"c":true},{"a":60102,"n":"record_vars","k":"variable","len":2,"c":true},{"a":60104,"n":"actor_classes","k":"table","len":60,"c":true},{"a":60164,"n":"unused_eb04","k":"variable","len":1,"c":true},{"a":60165,"n":"records","k":"table","len":368,"c":true},{"a":60533,"n":"restart_places","k":"table","len":84,"c":true},{"a":60617,"n":"restart_places_28","k":"table","len":15,"c":true},{"a":60632,"n":"objects","k":"table","len":119,"c":true},{"a":60751,"n":"objects_extra","k":"table","len":21,"c":true},{"a":60772,"n":"ham_place","k":"table","len":4,"c":true},{"a":60776,"n":"routes","k":"table","len":72,"c":true},{"a":60848,"n":"waypoints","k":"table","len":573,"c":true},{"a":61421,"n":"hostility","k":"table","len":14,"c":true},{"a":61435,"n":"gather_offsets","k":"table","len":5,"c":true},{"a":61440,"n":"gather_offsets_2","k":"table","len":11,"c":true},{"a":61451,"n":"ai_vars","k":"table","len":9,"c":true},{"a":61460,"n":"carry_offsets","k":"table","len":24,"c":true},{"a":61484,"n":"alarm_pass","k":"routine","len":119,"c":true},{"a":61603,"n":"route_ended","k":"routine","len":48,"c":true},{"a":61651,"n":"state_gather","k":"routine","len":67,"c":true},{"a":61718,"n":"actor_ai","k":"routine","len":52,"c":true},{"a":61770,"n":"grabber_ai","k":"routine","len":140,"c":true},{"a":61910,"n":"type_10_ai","k":"routine","len":44,"c":true},{"a":61954,"n":"type_14_ai","k":"routine","len":48,"c":true},{"a":62002,"n":"seize","k":"routine","len":60,"c":true},{"a":62062,"n":"carry_flight","k":"routine","len":58,"c":true},{"a":62120,"n":"drop_victim","k":"routine","len":22,"c":true},{"a":62142,"n":"move_with","k":"routine","len":55,"c":true},{"a":62197,"n":"sink","k":"routine","len":40,"c":true},{"a":62237,"n":"hold_victim","k":"routine","len":33,"c":true},{"a":62270,"n":"look_round","k":"routine","len":41,"c":true},{"a":62311,"n":"look_one_way","k":"routine","len":44,"c":true},{"a":62355,"n":"own_place","k":"routine","len":12,"c":true},{"a":62367,"n":"scan_down","k":"routine","len":21,"c":true},{"a":62388,"n":"scan_actors","k":"routine","len":146,"c":true},{"a":62534,"n":"scan_boxes","k":"routine","len":122,"c":true},{"a":62656,"n":"will_target","k":"routine","len":41,"c":true},{"a":62697,"n":"face_target","k":"routine","len":38,"c":true},{"a":62735,"n":"set_action","k":"routine","len":14,"c":true},{"a":62749,"n":"new_leader","k":"routine","len":234,"c":true},{"a":62983,"n":"leader_done","k":"routine","len":15,"c":true},{"a":62998,"n":"object_colours","k":"table","len":17,"c":true},{"a":63015,"n":"object_stock","k":"table","len":12,"c":true},{"a":63027,"n":"objects_pass","k":"routine","len":86,"c":true},{"a":63113,"n":"next_object","k":"routine","len":77,"c":true},{"a":63190,"n":"draw_object","k":"routine","len":84,"c":true},{"a":63274,"n":"carry_objects","k":"routine","len":128,"c":true},{"a":63402,"n":"fetch_object","k":"routine","len":22,"c":true},{"a":63424,"n":"drop_object_ground","k":"routine","len":28,"c":true},{"a":63452,"n":"put_down","k":"routine","len":37,"c":true},{"a":63489,"n":"place_object","k":"routine","len":23,"c":true},{"a":63512,"n":"object_screen","k":"routine","len":38,"c":true},{"a":63550,"n":"object_record","k":"routine","len":13,"c":true},{"a":63563,"n":"use_item","k":"routine","len":27,"c":true},{"a":63590,"n":"use_handlers","k":"table","len":34,"c":true},{"a":63624,"n":"use_dynamite","k":"routine","len":29,"c":true},{"a":63653,"n":"use_bag","k":"routine","len":6,"c":true},{"a":63659,"n":"use_knife","k":"routine","len":101,"c":true},{"a":63760,"n":"consume","k":"routine","len":95,"c":true},{"a":63855,"n":"icon_slot","k":"routine","len":15,"c":true},{"a":63870,"n":"use_first_aid","k":"routine","len":15,"c":true},{"a":63885,"n":"use_bottle","k":"routine","len":117,"c":true},{"a":64002,"n":"bottle_filled","k":"routine","len":28,"c":true},{"a":64030,"n":"use_ham","k":"routine","len":28,"c":true},{"a":64058,"n":"use_tin","k":"routine","len":40,"c":true},{"a":64098,"n":"use_ammunition","k":"routine","len":17,"c":true},{"a":64115,"n":"use_watch","k":"routine","len":41,"c":true},{"a":64156,"n":"rescue_vars","k":"table","len":5,"c":true},{"a":64161,"n":"use_rope","k":"routine","len":31,"c":true},{"a":64192,"n":"drop_all","k":"routine","len":43,"c":true},{"a":64235,"n":"coarse_place","k":"routine","len":20,"c":true},{"a":64255,"n":"cycle_graphic","k":"routine","len":29,"c":true},{"a":64284,"n":"zone_vars","k":"variable","len":2,"c":true},{"a":64286,"n":"zones","k":"table","len":45,"c":true},{"a":64331,"n":"zone_handlers","k":"table","len":18,"c":true},{"a":64349,"n":"zone_state","k":"table","len":3,"c":true},{"a":64352,"n":"find_actor","k":"routine","len":28,"c":true},{"a":64380,"n":"within_reach","k":"routine","len":31,"c":true},{"a":64411,"n":"zones_pass","k":"routine","len":82,"c":true},{"a":64493,"n":"dynamite","k":"routine","len":208,"c":true},{"a":64701,"n":"river","k":"routine","len":51,"c":true},{"a":64752,"n":"tribe_welcome","k":"routine","len":165,"c":true},{"a":64917,"n":"tribe_says","k":"routine","len":16,"c":true},{"a":64933,"n":"zone_2d_outer","k":"routine","len":62,"c":true},{"a":64995,"n":"zone_2d_inner","k":"routine","len":30,"c":true},{"a":65025,"n":"zone_2d_fed","k":"routine","len":22,"c":true},{"a":65047,"n":"zone_2d_grab","k":"routine","len":68,"c":true},{"a":65115,"n":"capture","k":"routine","len":109,"c":true},{"a":65224,"n":"altar","k":"routine","len":136,"c":true},{"a":65360,"n":"sacrifice","k":"routine","len":47,"c":true},{"a":65407,"n":"ceremony_over","k":"routine","len":23,"c":true},{"a":65430,"n":"dynamite_zone","k":"routine","len":43,"c":true},{"a":65473,"n":"set_route","k":"routine","len":13,"c":true},{"a":65486,"n":"held_places","k":"table","len":16,"c":true},{"a":65502,"n":"capture_places","k":"table","len":34,"c":true}],"records":[{"a":0,"t":"gap","n":49152},{"a":49152,"l":"area_boxes","c":"The area's boxes, four bytes each (first and last across, first and last down, in units of four; up to 64), copied here from bank 6 when an area is loaded ($87CF; $962D counts them): the ground that the actors walk round ($9546) and that stops a shot ($F452). Zero in the snapshot, taken before the first area was loaded.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49160,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49168,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49176,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49184,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49192,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49200,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49208,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49216,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49224,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49232,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49240,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49248,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49256,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49264,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49272,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49280,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49288,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49296,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49304,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49312,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49320,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49328,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49336,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49344,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49352,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49360,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49368,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49376,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49384,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49392,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49400,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49408,"l":"shots","c":"A shot for each of the eight actors at $8300, 24 bytes each, $FF at +0 when there is none. +0 the direction (bits 0-1, 4 down) with bit 7 set while it flies and bit 6 for an enemy's; +1 bit 7 set once it is drawn this pass, and for an enemy's shot a count of its passes, held at 4 in flight, 5 when it hits and on to $0F after ($C58A); +2/+4/+6 where its line starts (across, down, height) and +8/+$0A that point on the screen; +$0C-+$15 the same for where it ends. The zeros and the $FF and $C0 bytes in the snapshot are left over.","t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":49416,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49424,"t":"byte","b":[0,0,0,0,0,0,0,192],"x":[59124]},{"a":49432,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":49440,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49448,"t":"byte","b":[0,0,0,0,0,0,0,192],"x":[59185]},{"a":49456,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":49464,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49472,"t":"byte","b":[0,0,0,0,0,0,0,192]},{"a":49480,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":49488,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49496,"t":"byte","b":[0,0,0,0,0,0,0,192]},{"a":49504,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":49512,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49520,"t":"byte","b":[0,0,0,0,0,0,0,192]},{"a":49528,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":49536,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49544,"t":"byte","b":[0,0,0,0,0,0,0,192]},{"a":49552,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":49560,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49568,"t":"byte","b":[0,0,0,0,0,0,0,192]},{"a":49576,"t":"byte","b":[255,0,0,0,0,0,0,0]},{"a":49584,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":49592,"t":"byte","b":[0,0,0,0,0,0,0,192]},{"a":49600,"l":"muzzles","c":"Where a shot starts, from the shooter's position: three bytes (across, down, height) for each of four directions, for each shooter: Jarret, Gloria, Dirk, Clive, an enemy (4) and the one at $E6B3 (5). A byte is a distance with bit 7 for minus ($C859).","t":"byte","b":[0,0,24,132,7,22,136,4]},{"a":49608,"t":"byte","b":[21,0,0,18,1,0,25,131]},{"a":49616,"t":"byte","b":[6,24,135,0,20,132,131,21]},{"a":49624,"t":"byte","b":[2,0,26,131,9,22,132,2]},{"a":49632,"t":"byte","b":[20,0,0,17,2,2,23,131]},{"a":49640,"t":"byte","b":[9,21,133,1,15,130,0,14]},{"a":49648,"t":"byte","b":[134,129,22,132,132,24,3,129]},{"a":49656,"t":"byte","b":[24,130,4,23,2,2,16,130]},{"a":49664,"t":"byte","b":[2,16,130,4,16,130,0,16]},{"a":49672,"l":"hits_left","c":"Hits still needed to kill each enemy type $18 to $27: 4 for $18-$1B, 2 for the rest, put back each time one is killed ($C821).","t":"byte","b":[4,4,4,4,2,2,2,2]},{"a":49680,"t":"byte","b":[2,2,2,2,2,2,2,2]},{"a":49688,"l":"shot_ptr","c":"The shot being handled, and ($C21A) its direction.","t":"word","b":[0,0,0],"d":[0],"x":[49737,50190,50206,50268,50319,50344,50590,50625,50722,50800,50951,59199,59335,59463]},{"a":49691,"l":"move_shots","c":"Once a pass: each shot that is flying (+0 bit 7) is moved on ($C249), with bit 7 of its shooter's type byte set meanwhile so that the shot cannot hit the one who fired it; bit 7 of every shot's +1 (drawn) is cleared.","t":"code","b":[17,0,131],"m":"ld","o":"de,$8300"},{"a":49694,"t":"code","b":[33,0,193],"m":"ld","o":"hl,$C100"},{"a":49697,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[49733]},{"a":49698,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":49700,"t":"code","b":[40,23],"m":"jr","oa":49725,"o":"z,$C23D"},{"a":49702,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49703,"t":"code","b":[203,190],"m":"res","o":"7,(hl)"},{"a":49705,"t":"code","b":[45],"m":"dec","o":"l"},{"a":49706,"t":"code","b":[254,127],"m":"cp","o":"$7F"},{"a":49708,"t":"code","b":[218,61,194],"m":"jp","oa":49725,"o":"c,$C23D"},{"a":49711,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":49712,"t":"code","b":[246,128],"m":"or","o":"$80"},{"a":49714,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":49715,"t":"code","b":[229],"m":"push","o":"hl"},{"a":49716,"t":"code","b":[213],"m":"push","o":"de"},{"a":49717,"t":"code","b":[205,73,194],"m":"call","oa":49737,"o":"shot_step"},{"a":49720,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":49721,"t":"code","b":[203,190],"m":"res","o":"7,(hl)"},{"a":49723,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":49724,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":49725,"t":"code","b":[125],"m":"ld","o":"a,l","x":[49700,49708]},{"a":49726,"t":"code","b":[198,24],"m":"add","o":"a,$18"},{"a":49728,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":49729,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":49730,"t":"code","b":[198,32],"m":"add","o":"a,$20"},{"a":49732,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":49733,"t":"code","b":[210,33,194],"m":"jp","oa":49697,"o":"nc,$C221"},{"a":49736,"t":"code","b":[201],"m":"ret"},{"a":49737,"l":"shot_step","c":"One step of a shot. An enemy's (bit 6) has its end put back on its start ($C7A9). Otherwise what lies in its path is found ($C638) and its end placed there or 128 units on ($C282); a shot that goes off the view is removed ($E7C7), the rest have both ends projected on to the screen ($C362), and one going down ends when it reaches the ground ($E75E).","t":"code","b":[34,24,194],"m":"ld","oa":49688,"o":"(shot_ptr),hl","x":[49717]},{"a":49740,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":49741,"t":"code","b":[203,119],"m":"bit","o":"6,a"},{"a":49743,"t":"code","b":[194,169,199],"m":"jp","oa":51113,"o":"nz,shot_collapse"},{"a":49746,"t":"code","b":[230,7],"m":"and","o":"$07"},{"a":49748,"t":"code","b":[50,26,194],"m":"ld","oa":49690,"o":"($C21A),a"},{"a":49751,"t":"code","b":[229],"m":"push","o":"hl"},{"a":49752,"t":"code","b":[205,56,198],"m":"call","oa":50744,"o":"shot_path"},{"a":49755,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":49756,"t":"code","b":[229],"m":"push","o":"hl"},{"a":49757,"t":"code","b":[205,130,194],"m":"call","oa":49794,"o":"shot_end"},{"a":49760,"t":"code","b":[205,199,231],"m":"call","oa":59335,"o":"shot_visible","x":[50634,59212]},{"a":49763,"t":"code","b":[40,4],"m":"jr","oa":49769,"o":"z,$C269"},{"a":49765,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":49766,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":49768,"t":"code","b":[201],"m":"ret"},{"a":49769,"t":"code","b":[225],"m":"pop","o":"hl","x":[49763]},{"a":49770,"t":"code","b":[229],"m":"push","o":"hl"},{"a":49771,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49772,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49773,"t":"code","b":[205,98,195],"m":"call","oa":50018,"o":"project"},{"a":49776,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49777,"t":"code","b":[205,98,195],"m":"call","oa":50018,"o":"project"},{"a":49780,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":49781,"t":"code","b":[58,26,194],"m":"ld","oa":49690,"o":"a,($C21A)"},{"a":49784,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":49786,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":49787,"t":"code","b":[205,94,231],"m":"call","oa":59230,"o":"clip_falling"},{"a":49790,"t":"code","b":[200],"m":"ret","o":"z"},{"a":49791,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":49793,"t":"code","b":[201],"m":"ret"},{"a":49794,"l":"shot_end","c":"Places the shot's end: with nothing in the way ($F00E = $FF) 128 units on from its start, with sound effect 3 for the leader's party; at a box of the area ($F011 = $FF) at the box's edge; at a wall of the ground ($F011 = $FE) where the cell begins, sound effect $17; at an actor ($C7B6 hits it) at the actor's position, sound effect 3.","t":"code","b":[58,14,240],"m":"ld","oa":61454,"o":"a,($F00E)","x":[49757,50955]},{"a":49797,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":49799,"t":"code","b":[194,178,194],"m":"jp","oa":49842,"o":"nz,$C2B2"},{"a":49802,"t":"code","b":[203,118],"m":"bit","o":"6,(hl)"},{"a":49804,"t":"code","b":[32,5],"m":"jr","oa":49811,"o":"nz,$C293"},{"a":49806,"t":"code","b":[62,3],"m":"ld","o":"a,$03"},{"a":49808,"t":"code","b":[50,6,112],"m":"ld","oa":28678,"o":"($7006),a"},{"a":49811,"t":"code","b":[44],"m":"inc","o":"l","x":[49804]},{"a":49812,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49813,"t":"code","b":[58,26,194],"m":"ld","oa":49690,"o":"a,($C21A)"},{"a":49816,"t":"code","b":[31],"m":"rra"},{"a":49817,"t":"code","b":[48,2],"m":"jr","oa":49821,"o":"nc,$C29D"},{"a":49819,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49820,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49821,"t":"code","b":[1,128,0],"m":"ld","o":"bc,$0080","x":[49817]},{"a":49824,"t":"code","b":[31],"m":"rra"},{"a":49825,"t":"code","b":[48,1],"m":"jr","oa":49828,"o":"nc,$C2A4"},{"a":49827,"t":"code","b":[5],"m":"dec","o":"b"},{"a":49828,"t":"code","b":[94],"m":"ld","o":"e,(hl)","x":[49825]},{"a":49829,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49830,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":49831,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":49832,"t":"code","b":[198,9],"m":"add","o":"a,$09"},{"a":49834,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":49835,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":49836,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":49837,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":49838,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":49839,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49840,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":49841,"t":"code","b":[201],"m":"ret"},{"a":49842,"t":"code","b":[58,17,240],"m":"ld","oa":61457,"o":"a,($F011)","x":[49799]},{"a":49845,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":49847,"t":"code","b":[194,228,194],"m":"jp","oa":49892,"o":"nz,$C2E4"},{"a":49850,"t":"code","b":[203,118],"m":"bit","o":"6,(hl)"},{"a":49852,"t":"code","b":[32,5],"m":"jr","oa":49859,"o":"nz,$C2C3"},{"a":49854,"t":"code","b":[62,23],"m":"ld","o":"a,$17"},{"a":49856,"t":"code","b":[50,6,112],"m":"ld","oa":28678,"o":"($7006),a"},{"a":49859,"t":"code","b":[237,91,15,240],"m":"ld","oa":61455,"o":"de,($F00F)","x":[49852]},{"a":49863,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":49864,"t":"code","b":[1,12,0],"m":"ld","o":"bc,$000C"},{"a":49867,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":49868,"t":"code","b":[31],"m":"rra"},{"a":49869,"t":"code","b":[48,4],"m":"jr","oa":49875,"o":"nc,$C2D3"},{"a":49871,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49872,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49873,"t":"code","b":[19],"m":"inc","o":"de"},{"a":49874,"t":"code","b":[19],"m":"inc","o":"de"},{"a":49875,"t":"code","b":[31],"m":"rra","x":[49869]},{"a":49876,"t":"code","b":[48,1],"m":"jr","oa":49879,"o":"nc,$C2D7"},{"a":49878,"t":"code","b":[19],"m":"inc","o":"de"},{"a":49879,"t":"code","b":[26],"m":"ld","o":"a,(de)","x":[49876]},{"a":49880,"t":"code","b":[22,0],"m":"ld","o":"d,$00"},{"a":49882,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":49883,"t":"code","b":[203,18],"m":"rl","o":"d"},{"a":49885,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":49886,"t":"code","b":[203,18],"m":"rl","o":"d"},{"a":49888,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":49889,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49890,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":49891,"t":"code","b":[201],"m":"ret"},{"a":49892,"t":"code","b":[254,254],"m":"cp","o":"$FE","x":[49847]},{"a":49894,"t":"code","b":[194,59,195],"m":"jp","oa":49979,"o":"nz,$C33B"},{"a":49897,"t":"code","b":[203,118],"m":"bit","o":"6,(hl)"},{"a":49899,"t":"code","b":[32,5],"m":"jr","oa":49906,"o":"nz,$C2F2"},{"a":49901,"t":"code","b":[62,23],"m":"ld","o":"a,$17"},{"a":49903,"t":"code","b":[50,6,112],"m":"ld","oa":28678,"o":"($7006),a"},{"a":49906,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[49899]},{"a":49907,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49908,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49909,"t":"code","b":[237,75,226,144],"m":"ld","oa":37090,"o":"bc,($90E2)"},{"a":49913,"t":"code","b":[31],"m":"rra"},{"a":49914,"t":"code","b":[48,6],"m":"jr","oa":49922,"o":"nc,$C302"},{"a":49916,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49917,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49918,"t":"code","b":[237,75,240,144],"m":"ld","oa":37104,"o":"bc,($90F0)"},{"a":49922,"t":"code","b":[94],"m":"ld","o":"e,(hl)","x":[49914]},{"a":49923,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49924,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":49925,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":49926,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":49927,"t":"code","b":[198,9],"m":"add","o":"a,$09"},{"a":49929,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":49930,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":49931,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":49932,"t":"code","b":[230,15],"m":"and","o":"$0F"},{"a":49934,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":49935,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":49937,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":49938,"t":"code","b":[197],"m":"push","o":"bc"},{"a":49939,"t":"code","b":[58,14,240],"m":"ld","oa":61454,"o":"a,($F00E)"},{"a":49942,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":49943,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":49944,"t":"code","b":[31],"m":"rra"},{"a":49945,"t":"code","b":[210,46,195],"m":"jp","oa":49966,"o":"nc,$C32E"},{"a":49948,"t":"code","b":[167],"m":"and","o":"a"},{"a":49949,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":49951,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":49952,"t":"code","b":[230,240],"m":"and","o":"$F0"},{"a":49954,"t":"code","b":[198,16],"m":"add","o":"a,$10"},{"a":49956,"t":"code","b":[48,1],"m":"jr","oa":49959,"o":"nc,$C327"},{"a":49958,"t":"code","b":[36],"m":"inc","o":"h"},{"a":49959,"t":"code","b":[111],"m":"ld","o":"l,a","x":[49956]},{"a":49960,"t":"code","b":[167],"m":"and","o":"a"},{"a":49961,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":49962,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":49964,"t":"code","b":[24,8],"m":"jr","oa":49974,"o":"$C336"},{"a":49966,"t":"code","b":[9],"m":"add","o":"hl,bc","x":[49945]},{"a":49967,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":49968,"t":"code","b":[230,240],"m":"and","o":"$F0"},{"a":49970,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":49971,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":49972,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":49974,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[49964]},{"a":49975,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":49976,"t":"code","b":[44],"m":"inc","o":"l"},{"a":49977,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":49978,"t":"code","b":[201],"m":"ret"},{"a":49979,"t":"code","b":[205,182,199],"m":"call","oa":51126,"o":"shot_hits","x":[49894]},{"a":49982,"t":"code","b":[203,118],"m":"bit","o":"6,(hl)"},{"a":49984,"t":"code","b":[32,5],"m":"jr","oa":49991,"o":"nz,$C347"},{"a":49986,"t":"code","b":[62,3],"m":"ld","o":"a,$03"},{"a":49988,"t":"code","b":[50,6,112],"m":"ld","oa":28678,"o":"($7006),a"},{"a":49991,"t":"code","b":[78],"m":"ld","o":"c,(hl)","x":[49984]},{"a":49992,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":49993,"t":"code","b":[198,12],"m":"add","o":"a,$0C"},{"a":49995,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":49996,"t":"code","b":[237,91,15,240],"m":"ld","oa":61455,"o":"de,($F00F)"},{"a":50000,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":50001,"t":"code","b":[198,14],"m":"add","o":"a,$0E"},{"a":50003,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":50004,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":50005,"t":"code","b":[31],"m":"rra"},{"a":50006,"t":"code","b":[48,4],"m":"jr","oa":50012,"o":"nc,$C35C"},{"a":50008,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50009,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50010,"t":"code","b":[28],"m":"inc","o":"e"},{"a":50011,"t":"code","b":[28],"m":"inc","o":"e"},{"a":50012,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[50006]},{"a":50013,"t":"code","b":[237,160],"m":"ldi"},{"a":50015,"t":"code","b":[237,160],"m":"ldi"},{"a":50017,"t":"code","b":[201],"m":"ret"},{"a":50018,"l":"project","c":"The isometric projection: from the across, down and height words at HL, the screen across is twice (down - across + 512) and the screen down $607 - across - down - height; both are stored in the two words after them and HL is left past them.","t":"code","b":[78],"m":"ld","o":"c,(hl)","x":[49773,49777,56327,61907,62194,65112,65380,65404]},{"a":50019,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":50020,"t":"code","b":[70],"m":"ld","o":"b,(hl)"},{"a":50021,"t":"code","b":[197],"m":"push","o":"bc"},{"a":50022,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":50023,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":50024,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":50025,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":50026,"t":"code","b":[213],"m":"push","o":"de"},{"a":50027,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":50028,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50029,"t":"code","b":[36],"m":"inc","o":"h"},{"a":50030,"t":"code","b":[36],"m":"inc","o":"h"},{"a":50031,"t":"code","b":[167],"m":"and","o":"a"},{"a":50032,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":50034,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":50035,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50036,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":50037,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":50038,"t":"code","b":[70],"m":"ld","o":"b,(hl)"},{"a":50039,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":50040,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":50041,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":50042,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":50043,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":50044,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50045,"t":"code","b":[33,7,6],"m":"ld","o":"hl,$0607"},{"a":50048,"t":"code","b":[167],"m":"and","o":"a"},{"a":50049,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":50051,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":50052,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":50054,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":50055,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":50057,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50058,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":50059,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":50060,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":50061,"t":"code","b":[201],"m":"ret"},{"a":50062,"l":"screen_address","c":"The screen address of a point: from its screen across (HL) and down, less the view's column ($9633) and row ($9637) and the pixel offset ($9632), through the row table at $8D5D.","t":"code","b":[94],"m":"ld","o":"e,(hl)","x":[50351]},{"a":50063,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50064,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":50065,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50066,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50067,"t":"code","b":[203,28],"m":"rr","o":"h"},{"a":50069,"t":"code","b":[203,29],"m":"rr","o":"l"},{"a":50071,"t":"code","b":[203,28],"m":"rr","o":"h"},{"a":50073,"t":"code","b":[203,29],"m":"rr","o":"l"},{"a":50075,"t":"code","b":[203,28],"m":"rr","o":"h"},{"a":50077,"t":"code","b":[203,29],"m":"rr","o":"l"},{"a":50079,"t":"code","b":[58,51,150],"m":"ld","oa":38451,"o":"a,($9633)"},{"a":50082,"t":"code","b":[237,68],"m":"neg"},{"a":50084,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":50085,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":50086,"t":"code","b":[237,75,55,150],"m":"ld","oa":38455,"o":"bc,($9637)"},{"a":50090,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50091,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":50092,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":50093,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":50094,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50095,"t":"code","b":[167],"m":"and","o":"a"},{"a":50096,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":50098,"t":"code","b":[58,50,150],"m":"ld","oa":38450,"o":"a,($9632)"},{"a":50101,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":50102,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":50103,"t":"code","b":[145],"m":"sub","o":"c"},{"a":50104,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":50105,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":50106,"t":"code","b":[17,93,141],"m":"ld","o":"de,$8D5D"},{"a":50109,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":50110,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":50111,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":50112,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":50113,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":50114,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":50115,"t":"code","b":[38,0],"m":"ld","o":"h,$00"},{"a":50117,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":50118,"t":"code","b":[201],"m":"ret"},{"a":50119,"l":"next_shot","c":"For the drawing order ($A802): goes through all eight shots, and each not yet drawn this pass whose place across (BC) or down (BC', by its direction) is no less than the bound becomes $C218 and raises the bound to its own; NZ if any did.","t":"code","b":[175],"m":"xor","o":"a"},{"a":50120,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":50121,"t":"code","b":[30,8],"m":"ld","o":"e,$08"},{"a":50123,"t":"code","b":[33,0,193],"m":"ld","o":"hl,$C100"},{"a":50126,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[50200]},{"a":50127,"t":"code","b":[60],"m":"inc","o":"a"},{"a":50128,"t":"code","b":[40,65],"m":"jr","oa":50195,"o":"z,$C413"},{"a":50130,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50131,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":50132,"t":"code","b":[45],"m":"dec","o":"l"},{"a":50133,"t":"code","b":[203,127],"m":"bit","o":"7,a"},{"a":50135,"t":"code","b":[32,58],"m":"jr","oa":50195,"o":"nz,$C413"},{"a":50137,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":50138,"t":"code","b":[213],"m":"push","o":"de"},{"a":50139,"t":"code","b":[229],"m":"push","o":"hl"},{"a":50140,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":50141,"t":"code","b":[198,2],"m":"add","o":"a,$02"},{"a":50143,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":50144,"t":"code","b":[203,66],"m":"bit","o":"0,d"},{"a":50146,"t":"code","b":[194,252,195],"m":"jp","oa":50172,"o":"nz,$C3FC"},{"a":50149,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50150,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50151,"t":"code","b":[229],"m":"push","o":"hl"},{"a":50152,"t":"code","b":[217],"m":"exx"},{"a":50153,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":50154,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":50155,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50156,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":50157,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50158,"t":"code","b":[167],"m":"and","o":"a"},{"a":50159,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":50161,"t":"code","b":[217],"m":"exx"},{"a":50162,"t":"code","b":[218,17,196],"m":"jp","oa":50193,"o":"c,$C411"},{"a":50165,"t":"code","b":[217],"m":"exx"},{"a":50166,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":50167,"t":"code","b":[77],"m":"ld","o":"c,l"},{"a":50168,"t":"code","b":[68],"m":"ld","o":"b,h"},{"a":50169,"t":"code","b":[217],"m":"exx"},{"a":50170,"t":"code","b":[24,13],"m":"jr","oa":50185,"o":"$C409"},{"a":50172,"t":"code","b":[94],"m":"ld","o":"e,(hl)","x":[50146]},{"a":50173,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50174,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":50175,"t":"code","b":[20],"m":"inc","o":"d"},{"a":50176,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50177,"t":"code","b":[167],"m":"and","o":"a"},{"a":50178,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":50180,"t":"code","b":[56,11],"m":"jr","oa":50193,"o":"c,$C411"},{"a":50182,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":50183,"t":"code","b":[77],"m":"ld","o":"c,l"},{"a":50184,"t":"code","b":[68],"m":"ld","o":"b,h"},{"a":50185,"t":"code","b":[62,255],"m":"ld","o":"a,$FF","x":[50170]},{"a":50187,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":50188,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":50189,"t":"code","b":[229],"m":"push","o":"hl"},{"a":50190,"t":"code","b":[34,24,194],"m":"ld","oa":49688,"o":"(shot_ptr),hl"},{"a":50193,"t":"code","b":[225],"m":"pop","o":"hl","x":[50162,50180]},{"a":50194,"t":"code","b":[209],"m":"pop","o":"de"},{"a":50195,"t":"code","b":[62,24],"m":"ld","o":"a,$18","x":[50128,50135]},{"a":50197,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":50198,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":50199,"t":"code","b":[29],"m":"dec","o":"e"},{"a":50200,"t":"code","b":[194,206,195],"m":"jp","oa":50126,"o":"nz,$C3CE"},{"a":50203,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":50204,"t":"code","b":[167],"m":"and","o":"a"},{"a":50205,"t":"code","b":[201],"m":"ret"},{"a":50206,"l":"draw_shot","c":"Draws the leader's party's shot at $C218 as an isometric line from its start, as many steps as it has to go (up to 12 at a time, $C462, then $C4CD moves the start on), with the line drawers in the RAM part ($8785 to $87BB, by direction). When the view scrolls half a character ($9631) the line is moved with it. The shot is removed when it is drawn out.","t":"code","b":[42,24,194],"m":"ld","oa":49688,"o":"hl,(shot_ptr)","x":[50573]},{"a":50209,"t":"code","b":[229],"m":"push","o":"hl"},{"a":50210,"t":"code","b":[221,225],"m":"pop","o":"ix"},{"a":50212,"t":"code","b":[229],"m":"push","o":"hl"},{"a":50213,"t":"code","b":[62,8],"m":"ld","o":"a,$08"},{"a":50215,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":50216,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":50217,"t":"code","b":[58,49,150],"m":"ld","oa":38449,"o":"a,($9631)"},{"a":50220,"t":"code","b":[167],"m":"and","o":"a"},{"a":50221,"t":"code","b":[40,9],"m":"jr","oa":50232,"o":"z,$C438"},{"a":50223,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":50224,"t":"code","b":[214,4],"m":"sub","o":"$04"},{"a":50226,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":50227,"t":"code","b":[48,3],"m":"jr","oa":50232,"o":"nc,$C438"},{"a":50229,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50230,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":50231,"t":"code","b":[45],"m":"dec","o":"l"},{"a":50232,"t":"code","b":[225],"m":"pop","o":"hl","x":[50221,50227]},{"a":50233,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":50234,"t":"code","b":[230,7],"m":"and","o":"$07"},{"a":50236,"t":"code","b":[50,26,194],"m":"ld","oa":49690,"o":"($C21A),a"},{"a":50239,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50240,"t":"code","b":[203,254],"m":"set","o":"7,(hl)"},{"a":50242,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50243,"t":"code","b":[229],"m":"push","o":"hl","x":[50265]},{"a":50244,"t":"code","b":[205,98,196],"m":"call","oa":50274,"o":"shot_line"},{"a":50247,"t":"code","b":[40,6],"m":"jr","oa":50255,"o":"z,$C44F"},{"a":50249,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":50250,"t":"code","b":[45],"m":"dec","o":"l"},{"a":50251,"t":"code","b":[45],"m":"dec","o":"l"},{"a":50252,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":50254,"t":"code","b":[201],"m":"ret"},{"a":50255,"t":"code","b":[209],"m":"pop","o":"de","x":[50247]},{"a":50256,"t":"code","b":[213],"m":"push","o":"de"},{"a":50257,"t":"code","b":[205,205,196],"m":"call","oa":50381,"o":"shot_advance"},{"a":50260,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":50261,"t":"code","b":[58,26,141],"m":"ld","oa":36122,"o":"a,($8D1A)"},{"a":50264,"t":"code","b":[167],"m":"and","o":"a"},{"a":50265,"t":"code","b":[194,67,196],"m":"jp","oa":50243,"o":"nz,$C443"},{"a":50268,"t":"code","b":[42,24,194],"m":"ld","oa":49688,"o":"hl,(shot_ptr)"},{"a":50271,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":50273,"t":"code","b":[201],"m":"ret"},{"a":50274,"l":"shot_line","c":"The length of the shot's next stretch of line: the difference between its start and its end on the screen, at most 12 ($8D1A says whether more remain), and the pixel to start from ($C38E); then jumps to the line drawer for its direction.","t":"code","b":[205,247,196],"m":"call","oa":50423,"o":"shot_offsets","x":[50244,50668]},{"a":50277,"t":"code","b":[213],"m":"push","o":"de"},{"a":50278,"t":"code","b":[221,110,10],"m":"ld","o":"l,(ix+$0A)"},{"a":50281,"t":"code","b":[221,102,11],"m":"ld","o":"h,(ix+$0B)"},{"a":50284,"t":"code","b":[221,78,20],"m":"ld","o":"c,(ix+$14)"},{"a":50287,"t":"code","b":[221,70,21],"m":"ld","o":"b,(ix+$15)"},{"a":50290,"t":"code","b":[167],"m":"and","o":"a"},{"a":50291,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":50293,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":50294,"t":"code","b":[48,2],"m":"jr","oa":50298,"o":"nc,$C47A"},{"a":50296,"t":"code","b":[237,68],"m":"neg"},{"a":50298,"t":"code","b":[32,4],"m":"jr","oa":50304,"o":"nz,$C480","x":[50294]},{"a":50300,"t":"code","b":[209],"m":"pop","o":"de"},{"a":50301,"t":"code","b":[246,1],"m":"or","o":"$01"},{"a":50303,"t":"code","b":[201],"m":"ret"},{"a":50304,"t":"code","b":[71],"m":"ld","o":"b,a","x":[50298]},{"a":50305,"t":"code","b":[254,12],"m":"cp","o":"$0C"},{"a":50307,"t":"code","b":[62,0],"m":"ld","o":"a,$00"},{"a":50309,"t":"code","b":[56,3],"m":"jr","oa":50314,"o":"c,$C48A"},{"a":50311,"t":"code","b":[6,12],"m":"ld","o":"b,$0C"},{"a":50313,"t":"code","b":[47],"m":"cpl"},{"a":50314,"t":"code","b":[50,26,141],"m":"ld","oa":36122,"o":"($8D1A),a","x":[50309]},{"a":50317,"t":"code","b":[14,128],"m":"ld","o":"c,$80"},{"a":50319,"t":"code","b":[42,24,194],"m":"ld","oa":49688,"o":"hl,(shot_ptr)"},{"a":50322,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":50323,"t":"code","b":[230,96],"m":"and","o":"$60"},{"a":50325,"t":"code","b":[40,2],"m":"jr","oa":50329,"o":"z,$C499"},{"a":50327,"t":"code","b":[14,192],"m":"ld","o":"c,$C0"},{"a":50329,"t":"code","b":[221,126,8],"m":"ld","o":"a,(ix+$08)","x":[50325]},{"a":50332,"t":"code","b":[230,6],"m":"and","o":"$06"},{"a":50334,"t":"code","b":[202,167,196],"m":"jp","oa":50343,"o":"z,$C4A7"},{"a":50337,"t":"code","b":[203,57],"m":"srl","o":"c","x":[50340]},{"a":50339,"t":"code","b":[61],"m":"dec","o":"a"},{"a":50340,"t":"code","b":[194,161,196],"m":"jp","oa":50337,"o":"nz,$C4A1"},{"a":50343,"t":"code","b":[197],"m":"push","o":"bc","x":[50334]},{"a":50344,"t":"code","b":[42,24,194],"m":"ld","oa":49688,"o":"hl,(shot_ptr)"},{"a":50347,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":50348,"t":"code","b":[198,8],"m":"add","o":"a,$08"},{"a":50350,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":50351,"t":"code","b":[205,142,195],"m":"call","oa":50062,"o":"screen_address"},{"a":50354,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":50355,"t":"code","b":[209],"m":"pop","o":"de"},{"a":50356,"t":"code","b":[58,26,194],"m":"ld","oa":49690,"o":"a,($C21A)"},{"a":50359,"t":"code","b":[167],"m":"and","o":"a"},{"a":50360,"t":"code","b":[202,174,135],"m":"jp","oa":34734,"o":"z,$87AE"},{"a":50363,"t":"code","b":[254,1],"m":"cp","o":"$01"},{"a":50365,"t":"code","b":[202,133,135],"m":"jp","oa":34693,"o":"z,line_up_right"},{"a":50368,"t":"code","b":[254,2],"m":"cp","o":"$02"},{"a":50370,"t":"code","b":[202,146,135],"m":"jp","oa":34706,"o":"z,$8792"},{"a":50373,"t":"code","b":[254,3],"m":"cp","o":"$03"},{"a":50375,"t":"code","b":[202,159,135],"m":"jp","oa":34719,"o":"z,$879F"},{"a":50378,"t":"code","b":[195,187,135],"m":"jp","oa":34747,"o":"$87BB"},{"a":50381,"l":"shot_advance","c":"Moves the shot's start on one stretch: the five words from +2 (across, down, height, screen across and down) each get the step for its direction from $C558.","t":"code","b":[58,26,194],"m":"ld","oa":49690,"o":"a,($C21A)","x":[50257,50719]},{"a":50384,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":50385,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":50386,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":50387,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":50388,"t":"code","b":[129],"m":"add","o":"a,c"},{"a":50389,"t":"code","b":[33,88,197],"m":"ld","o":"hl,$C558"},{"a":50392,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":50393,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":50394,"t":"code","b":[48,1],"m":"jr","oa":50397,"o":"nc,$C4DD"},{"a":50396,"t":"code","b":[36],"m":"inc","o":"h"},{"a":50397,"t":"code","b":[62,5],"m":"ld","o":"a,$05","x":[50394]},{"a":50399,"t":"code","b":[78],"m":"ld","o":"c,(hl)","x":[50419]},{"a":50400,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":50401,"t":"code","b":[70],"m":"ld","o":"b,(hl)"},{"a":50402,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":50403,"t":"code","b":[229],"m":"push","o":"hl"},{"a":50404,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50405,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":50406,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50407,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":50408,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50409,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":50410,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50411,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":50412,"t":"code","b":[45],"m":"dec","o":"l"},{"a":50413,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":50414,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50415,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50416,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50417,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":50418,"t":"code","b":[61],"m":"dec","o":"a"},{"a":50419,"t":"code","b":[194,223,196],"m":"jp","oa":50399,"o":"nz,$C4DF"},{"a":50422,"t":"code","b":[201],"m":"ret"},{"a":50423,"l":"shot_offsets","c":"The coarse position of the shot ($A5BB) moved by the direction's four bytes from $C544, and the pattern of the line's first byte (DE, in $8521).","t":"code","b":[205,187,165],"m":"call","oa":42427,"o":"coarse_position","x":[50274]},{"a":50426,"t":"code","b":[58,26,194],"m":"ld","oa":49690,"o":"a,($C21A)"},{"a":50429,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":50430,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":50431,"t":"code","b":[17,68,197],"m":"ld","o":"de,$C544"},{"a":50434,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":50435,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":50436,"t":"code","b":[48,1],"m":"jr","oa":50439,"o":"nc,$C507"},{"a":50438,"t":"code","b":[20],"m":"inc","o":"d"},{"a":50439,"t":"code","b":[6,4],"m":"ld","o":"b,$04","x":[50436]},{"a":50441,"t":"code","b":[33,58,160],"m":"ld","o":"hl,$A03A"},{"a":50444,"t":"code","b":[26],"m":"ld","o":"a,(de)","x":[50449]},{"a":50445,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":50446,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":50447,"t":"code","b":[19],"m":"inc","o":"de"},{"a":50448,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":50449,"t":"code","b":[16,249],"m":"djnz","oa":50444,"o":"$C50C"},{"a":50451,"t":"code","b":[221,78,10],"m":"ld","o":"c,(ix+$0A)"},{"a":50454,"t":"code","b":[17,33,133],"m":"ld","o":"de,$8521"},{"a":50457,"t":"code","b":[58,26,194],"m":"ld","oa":49690,"o":"a,($C21A)"},{"a":50460,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":50462,"t":"code","b":[202,60,197],"m":"jp","oa":50492,"o":"z,$C53C"},{"a":50465,"t":"code","b":[167],"m":"and","o":"a"},{"a":50466,"t":"code","b":[226,40,197],"m":"jp","oa":50472,"o":"po,$C528"},{"a":50469,"t":"code","b":[17,36,133],"m":"ld","o":"de,$8524"},{"a":50472,"t":"code","b":[203,79],"m":"bit","o":"1,a","x":[50466]},{"a":50474,"t":"code","b":[194,60,197],"m":"jp","oa":50492,"o":"nz,$C53C"},{"a":50477,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":50478,"t":"code","b":[203,81],"m":"bit","o":"2,c"},{"a":50480,"t":"code","b":[32,1],"m":"jr","oa":50483,"o":"nz,$C533"},{"a":50482,"t":"code","b":[61],"m":"dec","o":"a"},{"a":50483,"t":"code","b":[61],"m":"dec","o":"a","x":[50480]},{"a":50484,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":50485,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":50486,"t":"code","b":[230,7],"m":"and","o":"$07"},{"a":50488,"t":"code","b":[198,12],"m":"add","o":"a,$0C"},{"a":50490,"t":"code","b":[24,3],"m":"jr","oa":50495,"o":"$C53F"},{"a":50492,"t":"code","b":[121],"m":"ld","o":"a,c","x":[50462,50474]},{"a":50493,"t":"code","b":[230,7],"m":"and","o":"$07"},{"a":50495,"t":"code","b":[135],"m":"add","o":"a,a","x":[50490]},{"a":50496,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":50497,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":50498,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":50499,"t":"code","b":[201],"m":"ret"},{"a":50500,"l":"shot_nudges","c":"Four bytes for each of five directions added to $A03A-$A03D by $C4F7.","t":"byte","b":[3,0,0,253,2,2,0,0]},{"a":50508,"t":"byte","b":[2,0,0,0,1,0,0,253]},{"a":50516,"t":"byte","b":[0,0,0,0]},{"a":50520,"l":"shot_steps","c":"For each direction (0 to 4), five words added to a shot's start each stretch: across, down, height, screen across, screen down. 0 is 12 across, 1 is 12 down, 2 and 3 back, 4 is 12 down in height.","t":"byte","b":[12,0,0,0,0,0,232,255]},{"a":50528,"t":"byte","b":[244,255,0,0,12,0,0,0]},{"a":50536,"t":"byte","b":[24,0,244,255,244,255,0,0]},{"a":50544,"t":"byte","b":[0,0,24,0,12,0,0,0]},{"a":50552,"t":"byte","b":[244,255,0,0,232,255,12,0]},{"a":50560,"t":"byte","b":[0,0,0,0,244,255,0,0]},{"a":50568,"t":"byte","b":[12,0]},{"a":50570,"l":"draw_any_shot","c":"Draws the shot at $C218: the party's go to $C41E. An enemy's is a line 12 units long: each pass until it hits something ($C6DC) its end is put 128 units ahead and it is drawn from $C5CD, which then moves its start on 12 units ($C4CD) and counts its passes (+1) up to 4. Once it has hit (+1 set to 5) it drops to the height of the ground under it ($90D5) and stays there, counting, until +1 passes $0F and it is removed.","t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":50571,"t":"code","b":[203,119],"m":"bit","o":"6,a"},{"a":50573,"t":"code","b":[202,30,196],"m":"jp","oa":50206,"o":"z,draw_shot"},{"a":50576,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":50578,"t":"code","b":[50,26,194],"m":"ld","oa":49690,"o":"($C21A),a"},{"a":50581,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50582,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":50583,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":50585,"t":"code","b":[254,5],"m":"cp","o":"$05"},{"a":50587,"t":"code","b":[220,220,198],"m":"call","oa":50908,"o":"c,enemy_shot_hit"},{"a":50590,"t":"code","b":[42,24,194],"m":"ld","oa":49688,"o":"hl,(shot_ptr)"},{"a":50593,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50594,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50595,"t":"code","b":[58,26,194],"m":"ld","oa":49690,"o":"a,($C21A)"},{"a":50598,"t":"code","b":[31],"m":"rra"},{"a":50599,"t":"code","b":[48,2],"m":"jr","oa":50603,"o":"nc,$C5AB"},{"a":50601,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50602,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50603,"t":"code","b":[1,128,0],"m":"ld","o":"bc,$0080","x":[50599]},{"a":50606,"t":"code","b":[31],"m":"rra"},{"a":50607,"t":"code","b":[48,3],"m":"jr","oa":50612,"o":"nc,$C5B4"},{"a":50609,"t":"code","b":[1,128,255],"m":"ld","o":"bc,$FF80"},{"a":50612,"t":"code","b":[94],"m":"ld","o":"e,(hl)","x":[50607]},{"a":50613,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50614,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":50615,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50616,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":50617,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50618,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":50619,"t":"code","b":[198,10],"m":"add","o":"a,$0A"},{"a":50621,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":50622,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":50623,"t":"code","b":[45],"m":"dec","o":"l"},{"a":50624,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":50625,"t":"code","b":[42,24,194],"m":"ld","oa":49688,"o":"hl,(shot_ptr)"},{"a":50628,"t":"code","b":[229],"m":"push","o":"hl"},{"a":50629,"t":"code","b":[17,205,197],"m":"ld","o":"de,$C5CD"},{"a":50632,"t":"code","b":[213],"m":"push","o":"de"},{"a":50633,"t":"code","b":[229],"m":"push","o":"hl"},{"a":50634,"t":"code","b":[195,96,194],"m":"jp","oa":49760,"o":"$C260"},{"a":50637,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":50638,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":50639,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":50641,"t":"code","b":[200],"m":"ret","o":"z"},{"a":50642,"t":"code","b":[229],"m":"push","o":"hl"},{"a":50643,"t":"code","b":[229],"m":"push","o":"hl"},{"a":50644,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":50645,"t":"code","b":[198,8],"m":"add","o":"a,$08"},{"a":50647,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":50648,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":50649,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50650,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":50651,"t":"code","b":[58,49,150],"m":"ld","oa":38449,"o":"a,($9631)"},{"a":50654,"t":"code","b":[167],"m":"and","o":"a"},{"a":50655,"t":"code","b":[202,233,197],"m":"jp","oa":50665,"o":"z,$C5E9"},{"a":50658,"t":"code","b":[27],"m":"dec","o":"de"},{"a":50659,"t":"code","b":[27],"m":"dec","o":"de"},{"a":50660,"t":"code","b":[27],"m":"dec","o":"de"},{"a":50661,"t":"code","b":[27],"m":"dec","o":"de"},{"a":50662,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":50663,"t":"code","b":[45],"m":"dec","o":"l"},{"a":50664,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":50665,"t":"code","b":[225],"m":"pop","o":"hl","x":[50655]},{"a":50666,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50667,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50668,"t":"code","b":[205,98,196],"m":"call","oa":50274,"o":"shot_line"},{"a":50671,"t":"code","b":[40,4],"m":"jr","oa":50677,"o":"z,$C5F5"},{"a":50673,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":50674,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":50676,"t":"code","b":[201],"m":"ret"},{"a":50677,"t":"code","b":[225],"m":"pop","o":"hl","x":[50671]},{"a":50678,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50679,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":50680,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":50682,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50683,"t":"code","b":[254,5],"m":"cp","o":"$05"},{"a":50685,"t":"code","b":[56,31],"m":"jr","oa":50718,"o":"c,$C61E"},{"a":50687,"t":"code","b":[17,209,142],"m":"ld","o":"de,$8ED1"},{"a":50690,"t":"code","b":[1,6,0],"m":"ld","o":"bc,$0006"},{"a":50693,"t":"code","b":[237,176],"m":"ldir"},{"a":50695,"t":"code","b":[229],"m":"push","o":"hl"},{"a":50696,"t":"code","b":[205,213,144],"m":"call","oa":37077,"o":"ground_cell"},{"a":50699,"t":"code","b":[254,31],"m":"cp","o":"$1F"},{"a":50701,"t":"code","b":[56,1],"m":"jr","oa":50704,"o":"c,$C610"},{"a":50703,"t":"code","b":[175],"m":"xor","o":"a"},{"a":50704,"t":"code","b":[111],"m":"ld","o":"l,a","x":[50701]},{"a":50705,"t":"code","b":[38,0],"m":"ld","o":"h,$00"},{"a":50707,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":50708,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":50709,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":50710,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50711,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":50712,"t":"code","b":[45],"m":"dec","o":"l"},{"a":50713,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":50714,"t":"code","b":[45],"m":"dec","o":"l"},{"a":50715,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":50716,"t":"code","b":[24,4],"m":"jr","oa":50722,"o":"$C622"},{"a":50718,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[50685]},{"a":50719,"t":"code","b":[205,205,196],"m":"call","oa":50381,"o":"shot_advance"},{"a":50722,"t":"code","b":[42,24,194],"m":"ld","oa":49688,"o":"hl,(shot_ptr)","x":[50716]},{"a":50725,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50726,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":50727,"t":"code","b":[230,15],"m":"and","o":"$0F"},{"a":50729,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":50731,"t":"code","b":[40,1],"m":"jr","oa":50734,"o":"z,$C62E"},{"a":50733,"t":"code","b":[60],"m":"inc","o":"a"},{"a":50734,"t":"code","b":[230,15],"m":"and","o":"$0F","x":[50731]},{"a":50736,"t":"code","b":[203,255],"m":"set","o":"7,a"},{"a":50738,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":50739,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":50740,"t":"code","b":[45],"m":"dec","o":"l"},{"a":50741,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":50743,"t":"code","b":[201],"m":"ret"},{"a":50744,"l":"shot_path","c":"What lies in the shot's path: the nearest actor across or down the line ($F3A3, $F3AD), then the boxes ($F446, $F452), then sixteen cells of ground along it (copied from bank 1 by $8CD0); a cell higher than the shot nearer than the rest makes $F011 $FE and $F00E its distance.","t":"code","b":[229],"m":"push","o":"hl","x":[49752,50930]},{"a":50745,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":50746,"t":"code","b":[198,6],"m":"add","o":"a,$06"},{"a":50748,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":50749,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":50750,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50751,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":50752,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50753,"t":"code","b":[34,17,244],"m":"ld","oa":62481,"o":"($F411),hl"},{"a":50756,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":50757,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":50758,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":50760,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":50761,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":50762,"t":"code","b":[198,2],"m":"add","o":"a,$02"},{"a":50764,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":50765,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":50766,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50767,"t":"code","b":[70],"m":"ld","o":"b,(hl)"},{"a":50768,"t":"code","b":[197],"m":"push","o":"bc"},{"a":50769,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50770,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":50771,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50772,"t":"code","b":[70],"m":"ld","o":"b,(hl)"},{"a":50773,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50774,"t":"code","b":[217],"m":"exx"},{"a":50775,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":50776,"t":"code","b":[62,6],"m":"ld","o":"a,$06"},{"a":50778,"t":"code","b":[50,228,243],"m":"ld","oa":62436,"o":"($F3E4),a"},{"a":50781,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":50782,"t":"code","b":[31],"m":"rra"},{"a":50783,"t":"code","b":[56,9],"m":"jr","oa":50794,"o":"c,$C66A"},{"a":50785,"t":"code","b":[217],"m":"exx"},{"a":50786,"t":"code","b":[205,173,243],"m":"call","oa":62381,"o":"$F3AD"},{"a":50789,"t":"code","b":[205,70,244],"m":"call","oa":62534,"o":"scan_boxes"},{"a":50792,"t":"code","b":[24,6],"m":"jr","oa":50800,"o":"$C670"},{"a":50794,"t":"code","b":[205,163,243],"m":"call","oa":62371,"o":"$F3A3","x":[50783]},{"a":50797,"t":"code","b":[205,82,244],"m":"call","oa":62546,"o":"$F452"},{"a":50800,"t":"code","b":[42,24,194],"m":"ld","oa":49688,"o":"hl,(shot_ptr)","x":[50792]},{"a":50803,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50804,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50805,"t":"code","b":[17,209,142],"m":"ld","o":"de,$8ED1"},{"a":50808,"t":"code","b":[1,4,0],"m":"ld","o":"bc,$0004"},{"a":50811,"t":"code","b":[237,176],"m":"ldir"},{"a":50813,"t":"code","b":[229],"m":"push","o":"hl"},{"a":50814,"t":"code","b":[205,213,144],"m":"call","oa":37077,"o":"ground_cell"},{"a":50817,"t":"code","b":[58,26,194],"m":"ld","oa":49690,"o":"a,($C21A)"},{"a":50820,"t":"code","b":[1,64,0],"m":"ld","o":"bc,$0040"},{"a":50823,"t":"code","b":[167],"m":"and","o":"a"},{"a":50824,"t":"code","b":[40,22],"m":"jr","oa":50848,"o":"z,$C6A0"},{"a":50826,"t":"code","b":[14,1],"m":"ld","o":"c,$01"},{"a":50828,"t":"code","b":[254,1],"m":"cp","o":"$01"},{"a":50830,"t":"code","b":[40,16],"m":"jr","oa":50848,"o":"z,$C6A0"},{"a":50832,"t":"code","b":[1,192,255],"m":"ld","o":"bc,$FFC0"},{"a":50835,"t":"code","b":[254,2],"m":"cp","o":"$02"},{"a":50837,"t":"code","b":[40,9],"m":"jr","oa":50848,"o":"z,$C6A0"},{"a":50839,"t":"code","b":[14,255],"m":"ld","o":"c,$FF"},{"a":50841,"t":"code","b":[254,3],"m":"cp","o":"$03"},{"a":50843,"t":"code","b":[40,3],"m":"jr","oa":50848,"o":"z,$C6A0"},{"a":50845,"t":"code","b":[1,0,0],"m":"ld","o":"bc,$0000"},{"a":50848,"t":"code","b":[62,16],"m":"ld","o":"a,$10","x":[50824,50830,50837,50843]},{"a":50850,"t":"code","b":[205,208,140],"m":"call","oa":36048,"o":"copy_from_bank1"},{"a":50853,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":50854,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":50855,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50856,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":50857,"t":"code","b":[203,26],"m":"rr","o":"d"},{"a":50859,"t":"code","b":[31],"m":"rra"},{"a":50860,"t":"code","b":[203,26],"m":"rr","o":"d"},{"a":50862,"t":"code","b":[31],"m":"rra"},{"a":50863,"t":"code","b":[167],"m":"and","o":"a"},{"a":50864,"t":"code","b":[31],"m":"rra"},{"a":50865,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":50866,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50867,"t":"code","b":[33,33,133],"m":"ld","o":"hl,$8521"},{"a":50870,"t":"code","b":[6,16],"m":"ld","o":"b,$10"},{"a":50872,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[50882]},{"a":50873,"t":"code","b":[254,63],"m":"cp","o":"$3F"},{"a":50875,"t":"code","b":[56,1],"m":"jr","oa":50878,"o":"c,$C6BE"},{"a":50877,"t":"code","b":[175],"m":"xor","o":"a"},{"a":50878,"t":"code","b":[185],"m":"cp","o":"c","x":[50875]},{"a":50879,"t":"code","b":[48,5],"m":"jr","oa":50886,"o":"nc,$C6C6"},{"a":50881,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50882,"t":"code","b":[16,244],"m":"djnz","oa":50872,"o":"$C6B8"},{"a":50884,"t":"code","b":[175],"m":"xor","o":"a"},{"a":50885,"t":"code","b":[201],"m":"ret"},{"a":50886,"t":"code","b":[58,14,240],"m":"ld","oa":61454,"o":"a,($F00E)","x":[50879]},{"a":50889,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":50890,"t":"code","b":[62,16],"m":"ld","o":"a,$10"},{"a":50892,"t":"code","b":[144],"m":"sub","o":"b"},{"a":50893,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":50894,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":50895,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":50896,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":50897,"t":"code","b":[185],"m":"cp","o":"c"},{"a":50898,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":50899,"t":"code","b":[50,14,240],"m":"ld","oa":61454,"o":"($F00E),a"},{"a":50902,"t":"code","b":[62,254],"m":"ld","o":"a,$FE"},{"a":50904,"t":"code","b":[50,17,240],"m":"ld","oa":61457,"o":"($F011),a"},{"a":50907,"t":"code","b":[201],"m":"ret"},{"a":50908,"l":"enemy_shot_hit","c":"Whether an enemy's shot hits: with bit 7 of the shooter's type set meanwhile, its path is checked ($C638); something within 21 units is hit ($C282), with sound effect 8 on channel B, the shot's +1 becomes 5 and its start is put 12 units back from where it ended.","t":"code","b":[45],"m":"dec","o":"l","x":[50587]},{"a":50909,"t":"code","b":[229],"m":"push","o":"hl"},{"a":50910,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":50911,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":50913,"t":"code","b":[4],"m":"inc","o":"b","x":[50916]},{"a":50914,"t":"code","b":[214,24],"m":"sub","o":"$18"},{"a":50916,"t":"code","b":[194,225,198],"m":"jp","oa":50913,"o":"nz,$C6E1"},{"a":50919,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":50920,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":50921,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":50922,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":50923,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":50924,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":50925,"t":"code","b":[38,131],"m":"ld","o":"h,$83"},{"a":50927,"t":"code","b":[203,254],"m":"set","o":"7,(hl)"},{"a":50929,"t":"code","b":[227],"m":"ex","o":"(sp),hl"},{"a":50930,"t":"code","b":[205,56,198],"m":"call","oa":50744,"o":"shot_path"},{"a":50933,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":50934,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":50935,"t":"code","b":[60],"m":"inc","o":"a"},{"a":50936,"t":"code","b":[40,2],"m":"jr","oa":50940,"o":"z,$C6FC"},{"a":50938,"t":"code","b":[203,190],"m":"res","o":"7,(hl)"},{"a":50940,"t":"code","b":[58,14,240],"m":"ld","oa":61454,"o":"a,($F00E)","x":[50936]},{"a":50943,"t":"code","b":[254,21],"m":"cp","o":"$15"},{"a":50945,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":50946,"t":"code","b":[62,8],"m":"ld","o":"a,$08"},{"a":50948,"t":"code","b":[50,31,112],"m":"ld","oa":28703,"o":"($701F),a"},{"a":50951,"t":"code","b":[42,24,194],"m":"ld","oa":49688,"o":"hl,(shot_ptr)"},{"a":50954,"t":"code","b":[229],"m":"push","o":"hl"},{"a":50955,"t":"code","b":[205,130,194],"m":"call","oa":49794,"o":"shot_end"},{"a":50958,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":50959,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50960,"t":"code","b":[54,5],"m":"ld","o":"(hl),$05"},{"a":50962,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":50963,"t":"code","b":[198,11],"m":"add","o":"a,$0B"},{"a":50965,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":50966,"t":"code","b":[58,26,194],"m":"ld","oa":49690,"o":"a,($C21A)"},{"a":50969,"t":"code","b":[31],"m":"rra"},{"a":50970,"t":"code","b":[48,2],"m":"jr","oa":50974,"o":"nc,$C71E"},{"a":50972,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50973,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50974,"t":"code","b":[94],"m":"ld","o":"e,(hl)","x":[50970]},{"a":50975,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50976,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":50977,"t":"code","b":[1,244,255],"m":"ld","o":"bc,$FFF4"},{"a":50980,"t":"code","b":[31],"m":"rra"},{"a":50981,"t":"code","b":[48,3],"m":"jr","oa":50986,"o":"nc,$C72A"},{"a":50983,"t":"code","b":[1,12,0],"m":"ld","o":"bc,$000C"},{"a":50986,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[50981]},{"a":50987,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":50988,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":50989,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":50990,"t":"code","b":[214,11],"m":"sub","o":"$0B"},{"a":50992,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":50993,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":50994,"t":"code","b":[44],"m":"inc","o":"l"},{"a":50995,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":50996,"t":"code","b":[201],"m":"ret"},{"a":50997,"l":"can_fire","c":"Whether the actor of type A has a free shot slot (Z): one of the party also needs ammunition (+4 of its need bytes at $D5C3), NZ if none.","t":"code","b":[254,4],"m":"cp","o":"$04","x":[51041,61754]},{"a":50999,"t":"code","b":[48,20],"m":"jr","oa":51021,"o":"nc,$C74D"},{"a":51001,"t":"code","b":[217],"m":"exx"},{"a":51002,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":51003,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51004,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51005,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51006,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":51007,"t":"code","b":[22,0],"m":"ld","o":"d,$00"},{"a":51009,"t":"code","b":[33,199,213],"m":"ld","o":"hl,$D5C7"},{"a":51012,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":51013,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":51014,"t":"code","b":[167],"m":"and","o":"a"},{"a":51015,"t":"code","b":[32,3],"m":"jr","oa":51020,"o":"nz,$C74C"},{"a":51017,"t":"code","b":[246,1],"m":"or","o":"$01"},{"a":51019,"t":"code","b":[201],"m":"ret"},{"a":51020,"t":"code","b":[217],"m":"exx","x":[51015]},{"a":51021,"t":"code","b":[125],"m":"ld","o":"a,l","x":[50999]},{"a":51022,"t":"code","b":[230,224],"m":"and","o":"$E0"},{"a":51024,"t":"code","b":[31],"m":"rra"},{"a":51025,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":51026,"t":"code","b":[31],"m":"rra"},{"a":51027,"t":"code","b":[128],"m":"add","o":"a,b"},{"a":51028,"t":"code","b":[22,193],"m":"ld","o":"d,$C1"},{"a":51030,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":51031,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":51032,"t":"code","b":[60],"m":"inc","o":"a"},{"a":51033,"t":"code","b":[201],"m":"ret"},{"a":51034,"l":"fire","c":"Event 1, the end of a firing animation: an actor of type under $10 that can fire ($C735) gets a shot from its muzzle ($C859) in the direction it faces; one of the party spends 2 units of ammunition (message 1 when it runs out), an enemy's shot has bit 6 and sound effect 2 on channel C.","t":"code","b":[253,126,0],"m":"ld","o":"a,(iy+$00)"},{"a":51037,"t":"code","b":[254,16],"m":"cp","o":"$10"},{"a":51039,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":51040,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":51041,"t":"code","b":[205,53,199],"m":"call","oa":50997,"o":"can_fire"},{"a":51044,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":51045,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":51046,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":51048,"t":"code","b":[48,17],"m":"jr","oa":51067,"o":"nc,$C77B"},{"a":51050,"t":"code","b":[217],"m":"exx"},{"a":51051,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":51052,"t":"code","b":[214,2],"m":"sub","o":"$02"},{"a":51054,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":51055,"t":"code","b":[48,9],"m":"jr","oa":51066,"o":"nc,$C77A"},{"a":51057,"t":"code","b":[54,0],"m":"ld","o":"(hl),$00"},{"a":51059,"t":"code","b":[217],"m":"exx"},{"a":51060,"t":"code","b":[6,1],"m":"ld","o":"b,$01"},{"a":51062,"t":"code","b":[205,41,140],"m":"call","oa":35881,"o":"queue_message"},{"a":51065,"t":"code","b":[217],"m":"exx"},{"a":51066,"t":"code","b":[217],"m":"exx","x":[51055]},{"a":51067,"t":"code","b":[44],"m":"inc","o":"l","x":[51048]},{"a":51068,"t":"code","b":[44],"m":"inc","o":"l"},{"a":51069,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":51070,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":51072,"t":"code","b":[246,128],"m":"or","o":"$80"},{"a":51074,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":51075,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":51076,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":51078,"t":"code","b":[56,7],"m":"jr","oa":51087,"o":"c,$C78F"},{"a":51080,"t":"code","b":[62,2],"m":"ld","o":"a,$02"},{"a":51082,"t":"code","b":[50,56,112],"m":"ld","oa":28728,"o":"($7038),a"},{"a":51085,"t":"code","b":[203,240],"m":"set","o":"6,b"},{"a":51087,"t":"code","b":[120],"m":"ld","o":"a,b","x":[51078]},{"a":51088,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":51089,"t":"code","b":[213],"m":"push","o":"de"},{"a":51090,"t":"code","b":[44],"m":"inc","o":"l"},{"a":51091,"t":"code","b":[28],"m":"inc","o":"e"},{"a":51092,"t":"code","b":[175],"m":"xor","o":"a"},{"a":51093,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":51094,"t":"code","b":[28],"m":"inc","o":"e"},{"a":51095,"t":"code","b":[197],"m":"push","o":"bc"},{"a":51096,"t":"code","b":[217],"m":"exx"},{"a":51097,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":51098,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":51099,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":51101,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":51102,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":51103,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":51105,"t":"code","b":[56,2],"m":"jr","oa":51109,"o":"c,$C7A5"},{"a":51107,"t":"code","b":[62,4],"m":"ld","o":"a,$04"},{"a":51109,"t":"code","b":[205,89,200],"m":"call","oa":51289,"o":"muzzle","x":[51105]},{"a":51112,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":51113,"l":"shot_collapse","c":"Copies the shot's start (+2-+7) over its end (+$0C-+$11).","t":"code","b":[44],"m":"inc","o":"l","x":[49743]},{"a":51114,"t":"code","b":[44],"m":"inc","o":"l"},{"a":51115,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":51116,"t":"code","b":[198,10],"m":"add","o":"a,$0A"},{"a":51118,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":51119,"t":"code","b":[84],"m":"ld","o":"d,h"},{"a":51120,"t":"code","b":[1,6,0],"m":"ld","o":"bc,$0006"},{"a":51123,"t":"code","b":[237,176],"m":"ldir"},{"a":51125,"t":"code","b":[201],"m":"ret"},{"a":51126,"l":"shot_hits","c":"The shot has hit the actor at $F00F. One of the party loses 12 strength (+0 of its need bytes, never below 1) and queues message 0 unless busy; one left at 1 is killed ($C84E). Types 4 to 7 set $EFED/$EFEE and $8D0D, and at the altar ($FB5D = 4) with the ceremony's count ($8D15) neither 0 nor $FF start the sacrifice ($FF50); types $10-$17 and $28 on are not harmed; types $18-$27 need their hits ($C208). A kill adds 0.15% to the score ($E4A6), and 0.25% (types $18-$1B) or 0.10% more for the big ones, and starts the actor's death (+1 $48, action $8B).","t":"code","b":[229],"m":"push","o":"hl","x":[49979]},{"a":51127,"t":"code","b":[42,15,240],"m":"ld","oa":61455,"o":"hl,($F00F)"},{"a":51130,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":51131,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":51133,"t":"code","b":[254,16],"m":"cp","o":"$10"},{"a":51135,"t":"code","b":[56,12],"m":"jr","oa":51149,"o":"c,$C7CD"},{"a":51137,"t":"code","b":[254,24],"m":"cp","o":"$18"},{"a":51139,"t":"code","b":[48,2],"m":"jr","oa":51143,"o":"nc,$C7C7"},{"a":51141,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":51142,"t":"code","b":[216],"m":"ret","o":"c"},{"a":51143,"t":"code","b":[254,40],"m":"cp","o":"$28","x":[51139]},{"a":51145,"t":"code","b":[56,2],"m":"jr","oa":51149,"o":"c,$C7CD"},{"a":51147,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":51148,"t":"code","b":[201],"m":"ret"},{"a":51149,"t":"code","b":[254,4],"m":"cp","o":"$04","x":[51135,51145]},{"a":51151,"t":"code","b":[210,251,199],"m":"jp","oa":51195,"o":"nc,$C7FB"},{"a":51154,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51155,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51156,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51157,"t":"code","b":[17,195,213],"m":"ld","o":"de,$D5C3"},{"a":51160,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":51161,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":51162,"t":"code","b":[48,1],"m":"jr","oa":51165,"o":"nc,$C7DD"},{"a":51164,"t":"code","b":[20],"m":"inc","o":"d"},{"a":51165,"t":"code","b":[26],"m":"ld","o":"a,(de)","x":[51162]},{"a":51166,"t":"code","b":[214,12],"m":"sub","o":"$0C"},{"a":51168,"t":"code","b":[48,5],"m":"jr","oa":51175,"o":"nc,$C7E7"},{"a":51170,"t":"code","b":[62,1],"m":"ld","o":"a,$01"},{"a":51172,"t":"code","b":[19],"m":"inc","o":"de"},{"a":51173,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":51174,"t":"code","b":[27],"m":"dec","o":"de"},{"a":51175,"t":"code","b":[18],"m":"ld","o":"(de),a","x":[51168]},{"a":51176,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":51178,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":51179,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":51181,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":51182,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":51183,"t":"code","b":[230,48],"m":"and","o":"$30"},{"a":51185,"t":"code","b":[204,41,140],"m":"call","oa":35881,"o":"z,queue_message"},{"a":51188,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":51189,"t":"code","b":[254,1],"m":"cp","o":"$01"},{"a":51191,"t":"code","b":[40,85],"m":"jr","oa":51278,"o":"z,$C84E"},{"a":51193,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":51194,"t":"code","b":[201],"m":"ret"},{"a":51195,"t":"code","b":[254,8],"m":"cp","o":"$08","x":[51151]},{"a":51197,"t":"code","b":[48,34],"m":"jr","oa":51233,"o":"nc,$C821"},{"a":51199,"t":"code","b":[62,9],"m":"ld","o":"a,$09"},{"a":51201,"t":"code","b":[50,237,239],"m":"ld","oa":61421,"o":"(hostility),a"},{"a":51204,"t":"code","b":[62,7],"m":"ld","o":"a,$07"},{"a":51206,"t":"code","b":[50,238,239],"m":"ld","oa":61422,"o":"($EFEE),a"},{"a":51209,"t":"code","b":[58,93,251],"m":"ld","oa":64349,"o":"a,(zone_state)"},{"a":51212,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":51214,"t":"code","b":[32,10],"m":"jr","oa":51226,"o":"nz,$C81A"},{"a":51216,"t":"code","b":[58,21,141],"m":"ld","oa":36117,"o":"a,($8D15)"},{"a":51219,"t":"code","b":[167],"m":"and","o":"a"},{"a":51220,"t":"code","b":[40,4],"m":"jr","oa":51226,"o":"z,$C81A"},{"a":51222,"t":"code","b":[60],"m":"inc","o":"a"},{"a":51223,"t":"code","b":[196,80,255],"m":"call","oa":65360,"o":"nz,sacrifice"},{"a":51226,"t":"code","b":[62,255],"m":"ld","o":"a,$FF","x":[51214,51220]},{"a":51228,"t":"code","b":[50,13,141],"m":"ld","oa":36109,"o":"($8D0D),a"},{"a":51231,"t":"code","b":[24,40],"m":"jr","oa":51273,"o":"$C849"},{"a":51233,"t":"code","b":[254,23],"m":"cp","o":"$17","x":[51197]},{"a":51235,"t":"code","b":[202,73,200],"m":"jp","oa":51273,"o":"z,$C849"},{"a":51238,"t":"code","b":[218,73,200],"m":"jp","oa":51273,"o":"c,$C849"},{"a":51241,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":51242,"t":"code","b":[214,24],"m":"sub","o":"$18"},{"a":51244,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":51245,"t":"code","b":[33,8,194],"m":"ld","o":"hl,$C208"},{"a":51248,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":51249,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":51250,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":51252,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":51253,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":51254,"t":"code","b":[40,2],"m":"jr","oa":51258,"o":"z,$C83A"},{"a":51256,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":51257,"t":"code","b":[201],"m":"ret"},{"a":51258,"t":"code","b":[1,4,25],"m":"ld","o":"bc,$1904","x":[51254]},{"a":51261,"t":"code","b":[254,28],"m":"cp","o":"$1C"},{"a":51263,"t":"code","b":[56,3],"m":"jr","oa":51268,"o":"c,$C844"},{"a":51265,"t":"code","b":[1,2,10],"m":"ld","o":"bc,$0A02"},{"a":51268,"t":"code","b":[113],"m":"ld","o":"(hl),c","x":[51263]},{"a":51269,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":51270,"t":"code","b":[205,166,228],"m":"call","oa":58534,"o":"$E4A6"},{"a":51273,"t":"code","b":[6,15],"m":"ld","o":"b,$0F","x":[51231,51235,51238]},{"a":51275,"t":"code","b":[205,166,228],"m":"call","oa":58534,"o":"$E4A6"},{"a":51278,"t":"code","b":[44],"m":"inc","o":"l","x":[51191]},{"a":51279,"t":"code","b":[54,72],"m":"ld","o":"(hl),$48"},{"a":51281,"t":"code","b":[62,11],"m":"ld","o":"a,$0B"},{"a":51283,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":51284,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":51285,"t":"code","b":[54,139],"m":"ld","o":"(hl),$8B"},{"a":51287,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":51288,"t":"code","b":[201],"m":"ret"},{"a":51289,"l":"muzzle","c":"The start of a shot: the shooter's position (HL', three words) plus the muzzle offset for shooter A and direction B from $C1C0, written at DE.","t":"code","b":[111],"m":"ld","o":"l,a","x":[51109,59093,59112]},{"a":51290,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":51291,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51292,"t":"code","b":[128],"m":"add","o":"a,b"},{"a":51293,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":51294,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":51295,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51296,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51297,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":51298,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51299,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":51300,"t":"code","b":[128],"m":"add","o":"a,b"},{"a":51301,"t":"code","b":[33,192,193],"m":"ld","o":"hl,$C1C0"},{"a":51304,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":51305,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":51306,"t":"code","b":[48,1],"m":"jr","oa":51309,"o":"nc,$C86D"},{"a":51308,"t":"code","b":[36],"m":"inc","o":"h"},{"a":51309,"t":"code","b":[217],"m":"exx","x":[51306]},{"a":51310,"t":"code","b":[6,3],"m":"ld","o":"b,$03"},{"a":51312,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[51341]},{"a":51313,"t":"code","b":[44],"m":"inc","o":"l"},{"a":51314,"t":"code","b":[217],"m":"exx"},{"a":51315,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":51316,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":51317,"t":"code","b":[203,121],"m":"bit","o":"7,c"},{"a":51319,"t":"code","b":[40,10],"m":"jr","oa":51331,"o":"z,$C883"},{"a":51321,"t":"code","b":[203,185],"m":"res","o":"7,c"},{"a":51323,"t":"code","b":[145],"m":"sub","o":"c"},{"a":51324,"t":"code","b":[217],"m":"exx"},{"a":51325,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":51326,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":51327,"t":"code","b":[222,0],"m":"sbc","o":"a,$00"},{"a":51329,"t":"code","b":[24,6],"m":"jr","oa":51337,"o":"$C889"},{"a":51331,"t":"code","b":[129],"m":"add","o":"a,c","x":[51319]},{"a":51332,"t":"code","b":[217],"m":"exx"},{"a":51333,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":51334,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":51335,"t":"code","b":[206,0],"m":"adc","o":"a,$00"},{"a":51337,"t":"code","b":[28],"m":"inc","o":"e","x":[51329]},{"a":51338,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":51339,"t":"code","b":[28],"m":"inc","o":"e"},{"a":51340,"t":"code","b":[44],"m":"inc","o":"l"},{"a":51341,"t":"code","b":[16,225],"m":"djnz","oa":51312,"o":"$C870"},{"a":51343,"t":"code","b":[201],"m":"ret"},{"a":51344,"l":"menu_mode","c":"What the pointer may pick in the menus: 7 normally, 8 (or 6) after USE ITEM ($CD83), ANDed with each icon's mask; bit 7 is set while an object is being dragged ($CE13).","t":"byte","b":[7],"x":[51998,52061,52110,52344,52491,52814,52819]},{"a":51345,"l":"menu_vars","c":"$C891 the object being dragged or used (its number less $0D); $C892 the passes left to redraw what is behind a window being dragged; $C893 set while fire is held on an icon, so that one press acts once; $C894-$C897 the four slots of menu 2 for the objects carried, 0 when empty (an object can be taken while one is empty, $CCB7, and a dropped object's slot is emptied, $F7F2); $C898 flags: bit 0 set when an object on the ground is dropped on the bag, to go into the bag when fetched ($CCA9), bit 1 while the bag's contents are shown ($F8A5).","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[52356,52452,52762,63419,63424,63569,64817,65238]},{"a":51353,"l":"menu_windows","c":"The two menu windows' records, laid out as the RAM part's $AA70 (13 bytes: the size shown, the left column, the columns and rows still hidden, the full size, the pixel and attribute addresses and the row-table entry of the top row): $C899 is menu 2 (the inventory, 21 by 9 characters), $C8A6 menu 1 (17 by 9). Both show the pixels at $5B00 and the attributes at $60E8.","t":"byte","b":[21,9,6,0,0,21,9,0],"x":[52551]},{"a":51361,"t":"byte","b":[91,232,96,237,141,2,2,1]},{"a":51369,"t":"byte","b":[7,3,17,9,0,91,232,96],"x":[52869]},{"a":51377,"t":"byte","b":[45,142]},{"a":51379,"l":"pointer","c":"The pointer moved about a menu: two words naming its graphics in bank 6, a word, then its width (bytes) and height (rows) at $C8BA/$C8BB. While an object is dragged its picture takes the pointer's place; $C8BC is the arrow, copied back over it ($CCFE).","t":"byte","b":[151,241,177,241,33,133,0,3]},{"a":51387,"t":"byte","b":[13,151,241,177,241,33,133,0]},{"a":51395,"t":"byte","b":[3,13]},{"a":51397,"l":"click","c":"A click on the beeper: 75 toggles of the speaker bit of port $FE.","t":"code","b":[175],"m":"xor","o":"a","x":[52084]},{"a":51398,"t":"code","b":[14,75],"m":"ld","o":"c,$4B"},{"a":51400,"t":"code","b":[6,50],"m":"ld","o":"b,$32","x":[51409]},{"a":51402,"t":"code","b":[16,254],"m":"djnz","oa":51402,"o":"$C8CA","x":[51402]},{"a":51404,"t":"code","b":[238,16],"m":"xor","o":"$10"},{"a":51406,"t":"code","b":[211,254],"m":"out","o":"($FE),a"},{"a":51408,"t":"code","b":[13],"m":"dec","o":"c"},{"a":51409,"t":"code","b":[32,245],"m":"jr","oa":51400,"o":"nz,$C8C8"},{"a":51411,"t":"code","b":[201],"m":"ret"},{"a":51412,"l":"menus_pass","c":"Once a pass while a menu is up ($8D22): the redraw behind a dragged window ($C8EE); once a window is fully open, its icons are brought up to date ($C913) and the pointer is handled ($CAF4).","t":"code","b":[58,34,141],"m":"ld","oa":36130,"o":"a,($8D22)"},{"a":51415,"t":"code","b":[167],"m":"and","o":"a"},{"a":51416,"t":"code","b":[200],"m":"ret","o":"z"},{"a":51417,"t":"code","b":[245],"m":"push","o":"af"},{"a":51418,"t":"code","b":[205,238,200],"m":"call","oa":51438,"o":"redraw_dragged"},{"a":51421,"t":"code","b":[241],"m":"pop","o":"af"},{"a":51422,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":51423,"t":"code","b":[230,27],"m":"and","o":"$1B"},{"a":51425,"t":"code","b":[254,3],"m":"cp","o":"$03"},{"a":51427,"t":"code","b":[40,3],"m":"jr","oa":51432,"o":"z,$C8E8"},{"a":51429,"t":"code","b":[254,24],"m":"cp","o":"$18"},{"a":51431,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":51432,"t":"code","b":[205,19,201],"m":"call","oa":51475,"o":"update_icons","x":[51427]},{"a":51435,"t":"code","b":[195,244,202],"m":"jp","oa":51956,"o":"menu_fire"},{"a":51438,"l":"redraw_dragged","c":"While $C892 counts down: the view behind the menu window is redrawn ($ACEC) over the window's place and a margin round it ($CBC5).","t":"code","b":[58,146,200],"m":"ld","oa":51346,"o":"a,($C892)","x":[51418,52143]},{"a":51441,"t":"code","b":[167],"m":"and","o":"a"},{"a":51442,"t":"code","b":[200],"m":"ret","o":"z"},{"a":51443,"t":"code","b":[61],"m":"dec","o":"a"},{"a":51444,"t":"code","b":[50,146,200],"m":"ld","oa":51346,"o":"($C892),a"},{"a":51447,"t":"code","b":[33,34,141],"m":"ld","o":"hl,$8D22"},{"a":51450,"t":"code","b":[17,153,200],"m":"ld","o":"de,$C899"},{"a":51453,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":51454,"t":"code","b":[230,24],"m":"and","o":"$18"},{"a":51456,"t":"code","b":[32,7],"m":"jr","oa":51465,"o":"nz,$C909"},{"a":51458,"t":"code","b":[17,166,200],"m":"ld","o":"de,$C8A6"},{"a":51461,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":51462,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":51464,"t":"code","b":[200],"m":"ret","o":"z"},{"a":51465,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[51456]},{"a":51466,"t":"code","b":[205,197,203],"m":"call","oa":52165,"o":"redraw_area"},{"a":51469,"t":"code","b":[205,236,172],"m":"call","oa":44268,"o":"redraw_behind"},{"a":51472,"t":"code","b":[246,1],"m":"or","o":"$01"},{"a":51474,"t":"code","b":[201],"m":"ret"},{"a":51475,"l":"update_icons","c":"Menu 1 ($C8A6): the colour of the whole menu ($CEC1, $CEDC: cyan in play, magenta once the leader has died, when it is the third menu), then each character's portrait is lit or dimmed as he or she is within hailing distance or not ($FB7C), and redrawn when that changes ($D025). Menu 2 goes to $C983.","t":"code","b":[58,34,141],"m":"ld","oa":36130,"o":"a,($8D22)","x":[51432]},{"a":51478,"t":"code","b":[230,56],"m":"and","o":"$38"},{"a":51480,"t":"code","b":[194,131,201],"m":"jp","oa":51587,"o":"nz,update_inventory"},{"a":51483,"t":"code","b":[33,166,200],"m":"ld","o":"hl,$C8A6","x":[52878]},{"a":51486,"t":"code","b":[205,235,202],"m":"call","oa":51947,"o":"copy_window"},{"a":51489,"t":"code","b":[205,193,206],"m":"call","oa":52929,"o":"portraits_state"},{"a":51492,"t":"code","b":[58,232,96],"m":"ld","oa":24808,"o":"a,(menu_attributes)"},{"a":51495,"t":"code","b":[185],"m":"cp","o":"c"},{"a":51496,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":51497,"t":"code","b":[40,6],"m":"jr","oa":51505,"o":"z,$C931"},{"a":51499,"t":"code","b":[205,220,206],"m":"call","oa":52956,"o":"menu_colour"},{"a":51502,"t":"code","b":[205,145,206],"m":"call","oa":52881,"o":"$CE91"},{"a":51505,"t":"code","b":[17,139,208],"m":"ld","o":"de,$D08B","x":[51497]},{"a":51508,"t":"code","b":[175],"m":"xor","o":"a"},{"a":51509,"t":"code","b":[245],"m":"push","o":"af","x":[51583]},{"a":51510,"t":"code","b":[213],"m":"push","o":"de"},{"a":51511,"t":"code","b":[205,124,251],"m":"call","oa":64380,"o":"within_reach"},{"a":51514,"t":"code","b":[62,0],"m":"ld","o":"a,$00"},{"a":51516,"t":"code","b":[32,3],"m":"jr","oa":51521,"o":"nz,$C941"},{"a":51518,"t":"code","b":[47],"m":"cpl"},{"a":51519,"t":"code","b":[24,10],"m":"jr","oa":51531,"o":"$C94B"},{"a":51521,"t":"code","b":[48,8],"m":"jr","oa":51531,"o":"nc,$C94B","x":[51516]},{"a":51523,"t":"code","b":[58,9,141],"m":"ld","oa":36105,"o":"a,($8D09)"},{"a":51526,"t":"code","b":[167],"m":"and","o":"a"},{"a":51527,"t":"code","b":[40,2],"m":"jr","oa":51531,"o":"z,$C94B"},{"a":51529,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":51531,"t":"code","b":[225],"m":"pop","o":"hl","x":[51519,51521,51527]},{"a":51532,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":51533,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":51534,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":51535,"t":"code","b":[202,116,201],"m":"jp","oa":51572,"o":"z,$C974"},{"a":51538,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":51539,"t":"code","b":[241],"m":"pop","o":"af"},{"a":51540,"t":"code","b":[245],"m":"push","o":"af"},{"a":51541,"t":"code","b":[213],"m":"push","o":"de"},{"a":51542,"t":"code","b":[33,220,209],"m":"ld","o":"hl,$D1DC"},{"a":51545,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51546,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":51547,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51548,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51549,"t":"code","b":[129],"m":"add","o":"a,c"},{"a":51550,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":51551,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":51552,"t":"code","b":[48,1],"m":"jr","oa":51555,"o":"nc,$C963"},{"a":51554,"t":"code","b":[36],"m":"inc","o":"h"},{"a":51555,"t":"code","b":[120],"m":"ld","o":"a,b","x":[51552]},{"a":51556,"t":"code","b":[167],"m":"and","o":"a"},{"a":51557,"t":"code","b":[62,6],"m":"ld","o":"a,$06"},{"a":51559,"t":"code","b":[40,2],"m":"jr","oa":51563,"o":"z,$C96B"},{"a":51561,"t":"code","b":[62,7],"m":"ld","o":"a,$07"},{"a":51563,"t":"code","b":[119],"m":"ld","o":"(hl),a","x":[51559]},{"a":51564,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":51565,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":51566,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":51567,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":51568,"t":"code","b":[205,37,208],"m":"call","oa":53285,"o":"icon_colours"},{"a":51571,"t":"code","b":[209],"m":"pop","o":"de"},{"a":51572,"t":"code","b":[123],"m":"ld","o":"a,e","x":[51535]},{"a":51573,"t":"code","b":[198,5],"m":"add","o":"a,$05"},{"a":51575,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":51576,"t":"code","b":[48,1],"m":"jr","oa":51579,"o":"nc,$C97B"},{"a":51578,"t":"code","b":[20],"m":"inc","o":"d"},{"a":51579,"t":"code","b":[241],"m":"pop","o":"af","x":[51576]},{"a":51580,"t":"code","b":[60],"m":"inc","o":"a"},{"a":51581,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":51583,"t":"code","b":[194,53,201],"m":"jp","oa":51509,"o":"nz,$C935"},{"a":51586,"t":"code","b":[201],"m":"ret"},{"a":51587,"l":"update_inventory","c":"Menu 2 ($C899), for the character picked ($D0B0): the menu closes ($CDBB) if he or she is out of reach ($FB7C); the USE ITEM icon is drawn for a character standing still (state 3) or not; the colour is set (red, or green while the bag is open); then the four objects carried ($20 plus the character's number in an object's second byte, or $24 for those in the bag) and up to three of those on the ground in the area ($80 plus the area) fill the slots ($C9E8).","t":"code","b":[58,16,141],"m":"ld","oa":36112,"o":"a,($8D10)","x":[51480,52840]},{"a":51590,"t":"code","b":[167],"m":"and","o":"a"},{"a":51591,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":51592,"t":"code","b":[33,153,200],"m":"ld","o":"hl,$C899"},{"a":51595,"t":"code","b":[205,235,202],"m":"call","oa":51947,"o":"copy_window"},{"a":51598,"t":"code","b":[58,176,208],"m":"ld","oa":53424,"o":"a,(menu_2_icons)"},{"a":51601,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":51603,"t":"code","b":[205,124,251],"m":"call","oa":64380,"o":"within_reach"},{"a":51606,"t":"code","b":[194,187,205],"m":"jp","oa":52667,"o":"nz,quit_menu"},{"a":51609,"t":"code","b":[44],"m":"inc","o":"l"},{"a":51610,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":51611,"t":"code","b":[254,3],"m":"cp","o":"$03"},{"a":51613,"t":"code","b":[33,186,208],"m":"ld","o":"hl,$D0BA"},{"a":51616,"t":"code","b":[62,138],"m":"ld","o":"a,$8A"},{"a":51618,"t":"code","b":[32,2],"m":"jr","oa":51622,"o":"nz,$C9A6"},{"a":51620,"t":"code","b":[62,12],"m":"ld","o":"a,$0C"},{"a":51622,"t":"code","b":[190],"m":"cp","o":"(hl)","x":[51618]},{"a":51623,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":51624,"t":"code","b":[196,233,206],"m":"call","oa":52969,"o":"nz,draw_icon"},{"a":51627,"t":"code","b":[58,176,208],"m":"ld","oa":53424,"o":"a,(menu_2_icons)"},{"a":51630,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":51632,"t":"code","b":[246,32],"m":"or","o":"$20"},{"a":51634,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":51635,"t":"code","b":[58,152,200],"m":"ld","oa":51352,"o":"a,($C898)"},{"a":51638,"t":"code","b":[230,2],"m":"and","o":"$02"},{"a":51640,"t":"code","b":[62,66],"m":"ld","o":"a,$42"},{"a":51642,"t":"code","b":[40,4],"m":"jr","oa":51648,"o":"z,$C9C0"},{"a":51644,"t":"code","b":[62,68],"m":"ld","o":"a,$44"},{"a":51646,"t":"code","b":[14,36],"m":"ld","o":"c,$24"},{"a":51648,"t":"code","b":[197],"m":"push","o":"bc","x":[51642]},{"a":51649,"t":"code","b":[33,232,96],"m":"ld","o":"hl,$60E8"},{"a":51652,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":51653,"t":"code","b":[40,6],"m":"jr","oa":51661,"o":"z,$C9CD"},{"a":51655,"t":"code","b":[205,220,206],"m":"call","oa":52956,"o":"menu_colour"},{"a":51658,"t":"code","b":[205,107,206],"m":"call","oa":52843,"o":"$CE6B"},{"a":51661,"t":"code","b":[193],"m":"pop","o":"bc","x":[51653]},{"a":51662,"t":"code","b":[6,4],"m":"ld","o":"b,$04"},{"a":51664,"t":"code","b":[33,191,208],"m":"ld","o":"hl,$D0BF"},{"a":51667,"t":"code","b":[62,10],"m":"ld","o":"a,$0A"},{"a":51669,"t":"code","b":[205,232,201],"m":"call","oa":51688,"o":"fill_slots"},{"a":51672,"t":"code","b":[6,3],"m":"ld","o":"b,$03"},{"a":51674,"t":"code","b":[33,211,208],"m":"ld","o":"hl,$D0D3"},{"a":51677,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)"},{"a":51680,"t":"code","b":[246,128],"m":"or","o":"$80"},{"a":51682,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":51683,"t":"code","b":[62,4],"m":"ld","o":"a,$04"},{"a":51685,"t":"code","b":[195,232,201],"m":"jp","oa":51688,"o":"fill_slots"},{"a":51688,"l":"fill_slots","c":"Fills B icon slots from HL with the objects (17 records of 7 bytes from $ECD9) whose owner byte is C: picture $0D plus the object's number, mask A; the slots left over get picture 5 (empty) and mask 0. A slot that changes is redrawn ($CEE9). Object 10 is never shown.","t":"code","b":[50,9,202],"m":"ld","oa":51721,"o":"($CA09),a","x":[51669,51685]},{"a":51691,"t":"code","b":[17,217,236],"m":"ld","o":"de,$ECD9"},{"a":51694,"t":"code","b":[62,17],"m":"ld","o":"a,$11"},{"a":51696,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[51752]},{"a":51697,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":51698,"t":"code","b":[185],"m":"cp","o":"c"},{"a":51699,"t":"code","b":[32,42],"m":"jr","oa":51743,"o":"nz,$CA1F"},{"a":51701,"t":"code","b":[27],"m":"dec","o":"de"},{"a":51702,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":51703,"t":"code","b":[230,31],"m":"and","o":"$1F"},{"a":51705,"t":"code","b":[198,13],"m":"add","o":"a,$0D"},{"a":51707,"t":"code","b":[19],"m":"inc","o":"de"},{"a":51708,"t":"code","b":[254,23],"m":"cp","o":"$17"},{"a":51710,"t":"code","b":[40,3],"m":"jr","oa":51715,"o":"z,$CA03"},{"a":51712,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":51713,"t":"code","b":[40,19],"m":"jr","oa":51734,"o":"z,$CA16"},{"a":51715,"t":"code","b":[119],"m":"ld","o":"(hl),a","x":[51710]},{"a":51716,"t":"code","b":[229],"m":"push","o":"hl"},{"a":51717,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":51718,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":51719,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":51720,"t":"code","b":[54,4],"m":"ld","o":"(hl),$04"},{"a":51722,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":51723,"t":"code","b":[229],"m":"push","o":"hl"},{"a":51724,"t":"code","b":[217],"m":"exx"},{"a":51725,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":51726,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":51727,"t":"code","b":[245],"m":"push","o":"af"},{"a":51728,"t":"code","b":[205,233,206],"m":"call","oa":52969,"o":"draw_icon"},{"a":51731,"t":"code","b":[241],"m":"pop","o":"af"},{"a":51732,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":51733,"t":"code","b":[217],"m":"exx"},{"a":51734,"t":"code","b":[125],"m":"ld","o":"a,l","x":[51713]},{"a":51735,"t":"code","b":[198,5],"m":"add","o":"a,$05"},{"a":51737,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":51738,"t":"code","b":[48,1],"m":"jr","oa":51741,"o":"nc,$CA1D"},{"a":51740,"t":"code","b":[36],"m":"inc","o":"h"},{"a":51741,"t":"code","b":[5],"m":"dec","o":"b","x":[51738]},{"a":51742,"t":"code","b":[200],"m":"ret","o":"z"},{"a":51743,"t":"code","b":[62,7],"m":"ld","o":"a,$07","x":[51699]},{"a":51745,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":51746,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":51747,"t":"code","b":[48,1],"m":"jr","oa":51750,"o":"nc,$CA26"},{"a":51749,"t":"code","b":[20],"m":"inc","o":"d"},{"a":51750,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[51747]},{"a":51751,"t":"code","b":[61],"m":"dec","o":"a"},{"a":51752,"t":"code","b":[194,240,201],"m":"jp","oa":51696,"o":"nz,$C9F0"},{"a":51755,"t":"code","b":[62,5],"m":"ld","o":"a,$05","x":[51782]},{"a":51757,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":51758,"t":"code","b":[40,15],"m":"jr","oa":51775,"o":"z,$CA3F"},{"a":51760,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":51761,"t":"code","b":[229],"m":"push","o":"hl"},{"a":51762,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":51763,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":51764,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":51765,"t":"code","b":[54,0],"m":"ld","o":"(hl),$00"},{"a":51767,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":51768,"t":"code","b":[229],"m":"push","o":"hl"},{"a":51769,"t":"code","b":[217],"m":"exx"},{"a":51770,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":51771,"t":"code","b":[205,233,206],"m":"call","oa":52969,"o":"draw_icon"},{"a":51774,"t":"code","b":[217],"m":"exx"},{"a":51775,"t":"code","b":[62,5],"m":"ld","o":"a,$05","x":[51758]},{"a":51777,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":51778,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":51779,"t":"code","b":[48,1],"m":"jr","oa":51782,"o":"nc,$CA46"},{"a":51781,"t":"code","b":[36],"m":"inc","o":"h"},{"a":51782,"t":"code","b":[16,227],"m":"djnz","oa":51755,"o":"$CA2B","x":[51779]},{"a":51784,"t":"code","b":[201],"m":"ret"},{"a":51785,"l":"menu_move","c":"With a menu fully open, an input code 0 to 8 (a direction, without fire) moves the pointer through the table at $CA6F.","t":"code","b":[58,32,141],"m":"ld","oa":36128,"o":"a,($8D20)"},{"a":51788,"t":"code","b":[254,9],"m":"cp","o":"$09"},{"a":51790,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":51791,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":51792,"t":"code","b":[58,34,141],"m":"ld","oa":36130,"o":"a,($8D22)"},{"a":51795,"t":"code","b":[33,166,200],"m":"ld","o":"hl,$C8A6"},{"a":51798,"t":"code","b":[254,3],"m":"cp","o":"$03"},{"a":51800,"t":"code","b":[40,6],"m":"jr","oa":51808,"o":"z,$CA60"},{"a":51802,"t":"code","b":[33,153,200],"m":"ld","o":"hl,$C899"},{"a":51805,"t":"code","b":[254,24],"m":"cp","o":"$18"},{"a":51807,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":51808,"t":"code","b":[205,235,202],"m":"call","oa":51947,"o":"copy_window","x":[51800]},{"a":51811,"t":"code","b":[33,111,202],"m":"ld","o":"hl,$CA6F"},{"a":51814,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":51815,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51816,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":51817,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":51818,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":51819,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":51820,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":51821,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":51822,"t":"code","b":[233],"m":"jp","o":"(hl)"},{"a":51823,"l":"menu_moves","c":"For input codes 0 to 17: the pointer's moves for 0 to 8 (none, up, down, left, up-left, down-left, right, up-right, down-right) and, from 9, the window's moves when fire is held off the icons.","t":"word","b":[72,202,203,202,215,202,167,202],"d":[51784,51915,51927,51879]},{"a":51831,"t":"word","b":[157,202,162,202,179,202,147,202],"d":[51869,51874,51891,51859]},{"a":51839,"t":"word","b":[152,202,72,202,73,204,78,204],"d":[51864,51784,52297,52302]},{"a":51847,"t":"word","b":[34,204,31,204,26,204,53,204],"d":[52258,52255,52250,52277]},{"a":51855,"t":"word","b":[50,204,45,204],"d":[52274,52269]},{"a":51859,"l":"pointer_up_right","c":"Moves the pointer up and right; $CA98 down and right, $CA9D up and left, $CAA2 down and left.","t":"code","b":[205,203,202],"m":"call","oa":51915,"o":"pointer_up"},{"a":51862,"t":"code","b":[24,27],"m":"jr","oa":51891,"o":"pointer_right"},{"a":51864,"t":"code","b":[205,215,202],"m":"call","oa":51927,"o":"pointer_down"},{"a":51867,"t":"code","b":[24,22],"m":"jr","oa":51891,"o":"pointer_right"},{"a":51869,"t":"code","b":[205,203,202],"m":"call","oa":51915,"o":"pointer_up"},{"a":51872,"t":"code","b":[24,5],"m":"jr","oa":51879,"o":"pointer_left"},{"a":51874,"t":"code","b":[205,215,202],"m":"call","oa":51927,"o":"pointer_down"},{"a":51877,"t":"code","b":[24,0],"m":"jr","oa":51879,"o":"pointer_left"},{"a":51879,"l":"pointer_left","c":"Moves the pointer 6 pixels left, to the window's edge at the most ($8D23).","t":"code","b":[58,35,141],"m":"ld","oa":36131,"o":"a,($8D23)","x":[51872,51877]},{"a":51882,"t":"code","b":[214,6],"m":"sub","o":"$06"},{"a":51884,"t":"code","b":[48,1],"m":"jr","oa":51887,"o":"nc,$CAAF"},{"a":51886,"t":"code","b":[175],"m":"xor","o":"a"},{"a":51887,"t":"code","b":[50,35,141],"m":"ld","oa":36131,"o":"($8D23),a","x":[51884]},{"a":51890,"t":"code","b":[201],"m":"ret"},{"a":51891,"l":"pointer_right","c":"Moves the pointer 6 pixels right, no further than the window's width less the pointer's.","t":"code","b":[33,186,200],"m":"ld","o":"hl,$C8BA","x":[51862,51867]},{"a":51894,"t":"code","b":[58,117,170],"m":"ld","oa":43637,"o":"a,($AA75)"},{"a":51897,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":51898,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51899,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51900,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":51901,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":51902,"t":"code","b":[58,35,141],"m":"ld","oa":36131,"o":"a,($8D23)"},{"a":51905,"t":"code","b":[198,6],"m":"add","o":"a,$06"},{"a":51907,"t":"code","b":[185],"m":"cp","o":"c"},{"a":51908,"t":"code","b":[56,1],"m":"jr","oa":51911,"o":"c,$CAC7"},{"a":51910,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":51911,"t":"code","b":[50,35,141],"m":"ld","oa":36131,"o":"($8D23),a","x":[51908]},{"a":51914,"t":"code","b":[201],"m":"ret"},{"a":51915,"l":"pointer_up","c":"Moves the pointer 6 rows up ($8D24).","t":"code","b":[58,36,141],"m":"ld","oa":36132,"o":"a,($8D24)","x":[51859,51869]},{"a":51918,"t":"code","b":[214,6],"m":"sub","o":"$06"},{"a":51920,"t":"code","b":[48,1],"m":"jr","oa":51923,"o":"nc,$CAD3"},{"a":51922,"t":"code","b":[175],"m":"xor","o":"a"},{"a":51923,"t":"code","b":[50,36,141],"m":"ld","oa":36132,"o":"($8D24),a","x":[51920]},{"a":51926,"t":"code","b":[201],"m":"ret"},{"a":51927,"l":"pointer_down","c":"Moves the pointer 6 rows down, no further than 72 less its height.","t":"code","b":[62,72],"m":"ld","o":"a,$48","x":[51864,51874]},{"a":51929,"t":"code","b":[33,187,200],"m":"ld","o":"hl,$C8BB"},{"a":51932,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":51933,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":51934,"t":"code","b":[58,36,141],"m":"ld","oa":36132,"o":"a,($8D24)"},{"a":51937,"t":"code","b":[198,6],"m":"add","o":"a,$06"},{"a":51939,"t":"code","b":[185],"m":"cp","o":"c"},{"a":51940,"t":"code","b":[56,1],"m":"jr","oa":51943,"o":"c,$CAE7"},{"a":51942,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":51943,"t":"code","b":[50,36,141],"m":"ld","oa":36132,"o":"($8D24),a","x":[51940]},{"a":51946,"t":"code","b":[201],"m":"ret"},{"a":51947,"l":"copy_window","c":"Copies the 13-byte window record at HL to the RAM part's $AA70.","t":"code","b":[17,112,170],"m":"ld","o":"de,$AA70","x":[51486,51595,51808,51972,51990,52165,52893,55329,59785]},{"a":51950,"t":"code","b":[1,13,0],"m":"ld","o":"bc,$000D"},{"a":51953,"t":"code","b":[237,176],"m":"ldir"},{"a":51955,"t":"code","b":[201],"m":"ret"},{"a":51956,"l":"menu_fire","c":"Fire held in a menu: the pointer ($8D23 across, $8D24 down) is tested against each icon of the window open (8 records from $D088, or 10 from $D0B0). On one whose mask allows it ($C890; $FF always), once a press ($C893), a click ($C8C5) and its action from the table at $CD0F; in use mode the object is used ($F84B); a dragged object is dropped ($CCD0). Off the icons, a direction with fire drags the window ($CA81), with a redraw behind it.","t":"code","b":[33,147,200],"m":"ld","o":"hl,$C893","x":[51435]},{"a":51959,"t":"code","b":[58,32,141],"m":"ld","oa":36128,"o":"a,($8D20)"},{"a":51962,"t":"code","b":[254,9],"m":"cp","o":"$09"},{"a":51964,"t":"code","b":[48,3],"m":"jr","oa":51969,"o":"nc,$CB01"},{"a":51966,"t":"code","b":[54,0],"m":"ld","o":"(hl),$00"},{"a":51968,"t":"code","b":[201],"m":"ret"},{"a":51969,"t":"code","b":[33,166,200],"m":"ld","o":"hl,$C8A6","x":[51964]},{"a":51972,"t":"code","b":[205,235,202],"m":"call","oa":51947,"o":"copy_window"},{"a":51975,"t":"code","b":[33,137,208],"m":"ld","o":"hl,$D089"},{"a":51978,"t":"code","b":[6,8],"m":"ld","o":"b,$08"},{"a":51980,"t":"code","b":[58,34,141],"m":"ld","oa":36130,"o":"a,($8D22)"},{"a":51983,"t":"code","b":[230,24],"m":"and","o":"$18"},{"a":51985,"t":"code","b":[40,11],"m":"jr","oa":51998,"o":"z,$CB1E"},{"a":51987,"t":"code","b":[33,153,200],"m":"ld","o":"hl,$C899"},{"a":51990,"t":"code","b":[205,235,202],"m":"call","oa":51947,"o":"copy_window"},{"a":51993,"t":"code","b":[33,177,208],"m":"ld","o":"hl,$D0B1"},{"a":51996,"t":"code","b":[6,10],"m":"ld","o":"b,$0A"},{"a":51998,"t":"code","b":[58,144,200],"m":"ld","oa":51344,"o":"a,(menu_mode)","x":[51985]},{"a":52001,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":52002,"t":"code","b":[237,91,35,141],"m":"ld","oa":36131,"o":"de,($8D23)"},{"a":52006,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[52108]},{"a":52007,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52008,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":52009,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":52010,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":52011,"t":"code","b":[61],"m":"dec","o":"a"},{"a":52012,"t":"code","b":[187],"m":"cp","o":"e"},{"a":52013,"t":"code","b":[48,89],"m":"jr","oa":52104,"o":"nc,$CB88"},{"a":52015,"t":"code","b":[198,26],"m":"add","o":"a,$1A"},{"a":52017,"t":"code","b":[187],"m":"cp","o":"e"},{"a":52018,"t":"code","b":[56,84],"m":"jr","oa":52104,"o":"c,$CB88"},{"a":52020,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":52021,"t":"code","b":[61],"m":"dec","o":"a"},{"a":52022,"t":"code","b":[186],"m":"cp","o":"d"},{"a":52023,"t":"code","b":[48,79],"m":"jr","oa":52104,"o":"nc,$CB88"},{"a":52025,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":52026,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":52027,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":52028,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":52030,"t":"code","b":[254,5],"m":"cp","o":"$05"},{"a":52032,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52033,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52034,"t":"code","b":[62,17],"m":"ld","o":"a,$11"},{"a":52036,"t":"code","b":[48,2],"m":"jr","oa":52040,"o":"nc,$CB48"},{"a":52038,"t":"code","b":[62,25],"m":"ld","o":"a,$19"},{"a":52040,"t":"code","b":[134],"m":"add","o":"a,(hl)","x":[52036]},{"a":52041,"t":"code","b":[186],"m":"cp","o":"d"},{"a":52042,"t":"code","b":[56,60],"m":"jr","oa":52104,"o":"c,$CB88"},{"a":52044,"t":"code","b":[58,147,200],"m":"ld","oa":51347,"o":"a,($C893)"},{"a":52047,"t":"code","b":[167],"m":"and","o":"a"},{"a":52048,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":52049,"t":"code","b":[47],"m":"cpl"},{"a":52050,"t":"code","b":[50,147,200],"m":"ld","oa":51347,"o":"($C893),a"},{"a":52053,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":52054,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":52055,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":52056,"t":"code","b":[254,13],"m":"cp","o":"$0D"},{"a":52058,"t":"code","b":[204,120,204],"m":"call","oa":52344,"o":"z,drop_on_icon"},{"a":52061,"t":"code","b":[58,144,200],"m":"ld","oa":51344,"o":"a,(menu_mode)"},{"a":52064,"t":"code","b":[230,192],"m":"and","o":"$C0"},{"a":52066,"t":"code","b":[194,208,204],"m":"jp","oa":52432,"o":"nz,drop_object"},{"a":52069,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52070,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52071,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52072,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":52073,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":52075,"t":"code","b":[40,7],"m":"jr","oa":52084,"o":"z,$CB74"},{"a":52077,"t":"code","b":[161],"m":"and","o":"c"},{"a":52078,"t":"code","b":[200],"m":"ret","o":"z"},{"a":52079,"t":"code","b":[254,8],"m":"cp","o":"$08"},{"a":52081,"t":"code","b":[202,75,248],"m":"jp","oa":63563,"o":"z,use_item"},{"a":52084,"t":"code","b":[205,197,200],"m":"call","oa":51397,"o":"click","x":[52075]},{"a":52087,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52088,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":52089,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":52090,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":52091,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":52092,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":52094,"t":"code","b":[33,15,205],"m":"ld","o":"hl,$CD0F"},{"a":52097,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":52098,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":52099,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52100,"t":"code","b":[102],"m":"ld","o":"h,(hl)"},{"a":52101,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":52102,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":52103,"t":"code","b":[233],"m":"jp","o":"(hl)"},{"a":52104,"t":"code","b":[35],"m":"inc","o":"hl","x":[52013,52018,52023,52042]},{"a":52105,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52106,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52107,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52108,"t":"code","b":[16,152],"m":"djnz","oa":52006,"o":"$CB26"},{"a":52110,"t":"code","b":[58,144,200],"m":"ld","oa":51344,"o":"a,(menu_mode)"},{"a":52113,"t":"code","b":[230,192],"m":"and","o":"$C0"},{"a":52115,"t":"code","b":[194,208,204],"m":"jp","oa":52432,"o":"nz,drop_object"},{"a":52118,"t":"code","b":[58,32,141],"m":"ld","oa":36128,"o":"a,($8D20)"},{"a":52121,"t":"code","b":[214,9],"m":"sub","o":"$09"},{"a":52123,"t":"code","b":[200],"m":"ret","o":"z"},{"a":52124,"t":"code","b":[62,2],"m":"ld","o":"a,$02"},{"a":52126,"t":"code","b":[50,146,200],"m":"ld","oa":51346,"o":"($C892),a"},{"a":52129,"t":"code","b":[58,34,141],"m":"ld","oa":36130,"o":"a,($8D22)"},{"a":52132,"t":"code","b":[33,166,200],"m":"ld","o":"hl,$C8A6"},{"a":52135,"t":"code","b":[230,24],"m":"and","o":"$18"},{"a":52137,"t":"code","b":[40,3],"m":"jr","oa":52142,"o":"z,$CBAE"},{"a":52139,"t":"code","b":[33,153,200],"m":"ld","o":"hl,$C899"},{"a":52142,"t":"code","b":[229],"m":"push","o":"hl","x":[52137]},{"a":52143,"t":"code","b":[205,238,200],"m":"call","oa":51438,"o":"redraw_dragged"},{"a":52146,"t":"code","b":[58,32,141],"m":"ld","oa":36128,"o":"a,($8D20)"},{"a":52149,"t":"code","b":[214,9],"m":"sub","o":"$09"},{"a":52151,"t":"code","b":[33,129,202],"m":"ld","o":"hl,$CA81"},{"a":52154,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":52155,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":52156,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":52158,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":52159,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":52160,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52161,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":52162,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":52163,"t":"code","b":[213],"m":"push","o":"de"},{"a":52164,"t":"code","b":[201],"m":"ret"},{"a":52165,"l":"redraw_area","c":"Widens the window's record at $AA70 by a column left, two right and a character row above and below, within the screen, for the redraw behind it.","t":"code","b":[205,235,202],"m":"call","oa":51947,"o":"copy_window","x":[51466]},{"a":52168,"t":"code","b":[33,114,170],"m":"ld","o":"hl,$AA72"},{"a":52171,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":52172,"t":"code","b":[214,1],"m":"sub","o":"$01"},{"a":52174,"t":"code","b":[56,1],"m":"jr","oa":52177,"o":"c,$CBD1"},{"a":52176,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":52177,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[52174]},{"a":52178,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52179,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52180,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52181,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":52182,"t":"code","b":[12],"m":"inc","o":"c"},{"a":52183,"t":"code","b":[12],"m":"inc","o":"c"},{"a":52184,"t":"code","b":[129],"m":"add","o":"a,c"},{"a":52185,"t":"code","b":[254,33],"m":"cp","o":"$21"},{"a":52187,"t":"code","b":[32,4],"m":"jr","oa":52193,"o":"nz,$CBE1"},{"a":52189,"t":"code","b":[13],"m":"dec","o":"c"},{"a":52190,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":52191,"t":"code","b":[24,3],"m":"jr","oa":52196,"o":"$CBE4"},{"a":52193,"t":"code","b":[48,1],"m":"jr","oa":52196,"o":"nc,$CBE4","x":[52187]},{"a":52195,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":52196,"t":"code","b":[17,6,0],"m":"ld","o":"de,$0006","x":[52191,52193]},{"a":52199,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":52200,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":52201,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52202,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":52203,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":52204,"t":"code","b":[1,16,0],"m":"ld","o":"bc,$0010"},{"a":52207,"t":"code","b":[167],"m":"and","o":"a"},{"a":52208,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":52210,"t":"code","b":[229],"m":"push","o":"hl"},{"a":52211,"t":"code","b":[1,77,141],"m":"ld","o":"bc,$8D4D"},{"a":52214,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":52216,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":52217,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":52218,"t":"code","b":[56,11],"m":"jr","oa":52231,"o":"c,$CC07"},{"a":52220,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":52221,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":52222,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":52223,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52224,"t":"code","b":[58,118,170],"m":"ld","oa":43638,"o":"a,($AA76)"},{"a":52227,"t":"code","b":[60],"m":"inc","o":"a"},{"a":52228,"t":"code","b":[50,118,170],"m":"ld","oa":43638,"o":"($AA76),a"},{"a":52231,"t":"code","b":[86],"m":"ld","o":"d,(hl)","x":[52218]},{"a":52232,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":52233,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":52234,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":52235,"t":"code","b":[1,45,142],"m":"ld","o":"bc,$8E2D"},{"a":52238,"t":"code","b":[167],"m":"and","o":"a"},{"a":52239,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":52241,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":52242,"t":"code","b":[58,118,170],"m":"ld","oa":43638,"o":"a,($AA76)"},{"a":52245,"t":"code","b":[60],"m":"inc","o":"a"},{"a":52246,"t":"code","b":[50,118,170],"m":"ld","oa":43638,"o":"($AA76),a"},{"a":52249,"t":"code","b":[201],"m":"ret"},{"a":52250,"l":"window_down_left","c":"Drags the window a character row down and a column left; $CC1F up and left, $CC22 left, $CC2D down and right, $CC32 up and right, $CC35 right (within 32 columns).","t":"code","b":[205,78,204],"m":"call","oa":52302,"o":"$CC4E"},{"a":52253,"t":"code","b":[24,3],"m":"jr","oa":52258,"o":"$CC22"},{"a":52255,"t":"code","b":[205,73,204],"m":"call","oa":52297,"o":"window_up"},{"a":52258,"t":"code","b":[35],"m":"inc","o":"hl","x":[52253]},{"a":52259,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52260,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":52261,"t":"code","b":[214,1],"m":"sub","o":"$01"},{"a":52263,"t":"code","b":[56,1],"m":"jr","oa":52266,"o":"c,$CC2A"},{"a":52265,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":52266,"t":"code","b":[43],"m":"dec","o":"hl","x":[52263]},{"a":52267,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":52268,"t":"code","b":[201],"m":"ret"},{"a":52269,"t":"code","b":[205,78,204],"m":"call","oa":52302,"o":"$CC4E"},{"a":52272,"t":"code","b":[24,3],"m":"jr","oa":52277,"o":"$CC35"},{"a":52274,"t":"code","b":[205,73,204],"m":"call","oa":52297,"o":"window_up"},{"a":52277,"t":"code","b":[229],"m":"push","o":"hl","x":[52272]},{"a":52278,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52279,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52280,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":52281,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52282,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52283,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52284,"t":"code","b":[62,32],"m":"ld","o":"a,$20"},{"a":52286,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":52287,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":52288,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":52289,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":52290,"t":"code","b":[12],"m":"inc","o":"c"},{"a":52291,"t":"code","b":[185],"m":"cp","o":"c"},{"a":52292,"t":"code","b":[56,1],"m":"jr","oa":52295,"o":"c,$CC47"},{"a":52294,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":52295,"t":"code","b":[225],"m":"pop","o":"hl","x":[52292]},{"a":52296,"t":"code","b":[201],"m":"ret"},{"a":52297,"l":"window_up","c":"Moves the window's top row up ($CC49) or down ($CC4E) a character row, within the top and the bottom of the view.","t":"code","b":[1,240,255],"m":"ld","o":"bc,$FFF0","x":[52255,52274]},{"a":52300,"t":"code","b":[24,3],"m":"jr","oa":52305,"o":"$CC51"},{"a":52302,"t":"code","b":[1,16,0],"m":"ld","o":"bc,$0010","x":[52250,52269]},{"a":52305,"t":"code","b":[229],"m":"push","o":"hl","x":[52300]},{"a":52306,"t":"code","b":[17,11,0],"m":"ld","o":"de,$000B"},{"a":52309,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":52310,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":52311,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52312,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":52313,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":52314,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":52315,"t":"code","b":[229],"m":"push","o":"hl"},{"a":52316,"t":"code","b":[203,120],"m":"bit","o":"7,b"},{"a":52318,"t":"code","b":[32,9],"m":"jr","oa":52329,"o":"nz,$CC69"},{"a":52320,"t":"code","b":[1,62,142],"m":"ld","o":"bc,$8E3E"},{"a":52323,"t":"code","b":[167],"m":"and","o":"a"},{"a":52324,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":52326,"t":"code","b":[63],"m":"ccf"},{"a":52327,"t":"code","b":[24,6],"m":"jr","oa":52335,"o":"$CC6F"},{"a":52329,"t":"code","b":[1,77,141],"m":"ld","o":"bc,$8D4D","x":[52318]},{"a":52332,"t":"code","b":[167],"m":"and","o":"a"},{"a":52333,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":52335,"t":"code","b":[193],"m":"pop","o":"bc","x":[52327]},{"a":52336,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":52337,"t":"code","b":[216],"m":"ret","o":"c"},{"a":52338,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":52339,"t":"code","b":[112],"m":"ld","o":"(hl),b"},{"a":52340,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":52341,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":52342,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":52343,"t":"code","b":[201],"m":"ret"},{"a":52344,"l":"drop_on_icon","c":"An object dropped on the bag's icon (picture $0D, object 0) while the bag is carried: one that is carried goes into the bag (owner $24) when the bag has a free slot ($CCB7); one on the ground is fetched by the character ($F7AA) to go into the bag (bit 0 of $C898).","t":"code","b":[58,144,200],"m":"ld","oa":51344,"o":"a,(menu_mode)","x":[52058]},{"a":52347,"t":"code","b":[230,192],"m":"and","o":"$C0"},{"a":52349,"t":"code","b":[200],"m":"ret","o":"z"},{"a":52350,"t":"code","b":[58,217,236],"m":"ld","oa":60633,"o":"a,($ECD9)"},{"a":52353,"t":"code","b":[230,32],"m":"and","o":"$20"},{"a":52355,"t":"code","b":[200],"m":"ret","o":"z"},{"a":52356,"t":"code","b":[58,145,200],"m":"ld","oa":51345,"o":"a,(menu_vars)"},{"a":52359,"t":"code","b":[167],"m":"and","o":"a"},{"a":52360,"t":"code","b":[200],"m":"ret","o":"z"},{"a":52361,"t":"code","b":[229],"m":"push","o":"hl"},{"a":52362,"t":"code","b":[205,62,248],"m":"call","oa":63550,"o":"object_record"},{"a":52365,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52366,"t":"code","b":[203,110],"m":"bit","o":"5,(hl)"},{"a":52368,"t":"code","b":[40,17],"m":"jr","oa":52387,"o":"z,$CCA3"},{"a":52370,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":52371,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":52372,"t":"code","b":[205,183,204],"m":"call","oa":52407,"o":"four_clear"},{"a":52375,"t":"code","b":[32,5],"m":"jr","oa":52382,"o":"nz,$CC9E"},{"a":52377,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":52378,"t":"code","b":[237,160],"m":"ldi"},{"a":52380,"t":"code","b":[54,36],"m":"ld","o":"(hl),$24"},{"a":52382,"t":"code","b":[225],"m":"pop","o":"hl","x":[52375]},{"a":52383,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":52384,"t":"code","b":[195,254,204],"m":"jp","oa":52478,"o":"$CCFE"},{"a":52387,"t":"code","b":[205,183,204],"m":"call","oa":52407,"o":"four_clear","x":[52368]},{"a":52390,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":52391,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":52392,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":52393,"t":"code","b":[58,152,200],"m":"ld","oa":51352,"o":"a,($C898)"},{"a":52396,"t":"code","b":[246,1],"m":"or","o":"$01"},{"a":52398,"t":"code","b":[50,152,200],"m":"ld","oa":51352,"o":"($C898),a"},{"a":52401,"t":"code","b":[205,170,247],"m":"call","oa":63402,"o":"fetch_object"},{"a":52404,"t":"code","b":[195,254,204],"m":"jp","oa":52478,"o":"$CCFE"},{"a":52407,"l":"four_clear","c":"Z if one of the four slots for objects carried ($C894) is empty; otherwise message $21 (THE BAG IS FULL) for the character picked, and NZ.","t":"code","b":[33,148,200],"m":"ld","o":"hl,$C894","x":[52372,52387,57597]},{"a":52410,"t":"code","b":[6,4],"m":"ld","o":"b,$04"},{"a":52412,"t":"code","b":[175],"m":"xor","o":"a"},{"a":52413,"t":"code","b":[190],"m":"cp","o":"(hl)","x":[52416]},{"a":52414,"t":"code","b":[200],"m":"ret","o":"z"},{"a":52415,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52416,"t":"code","b":[16,251],"m":"djnz","oa":52413,"o":"$CCBD"},{"a":52418,"t":"code","b":[6,33],"m":"ld","o":"b,$21"},{"a":52420,"t":"code","b":[58,176,208],"m":"ld","oa":53424,"o":"a,(menu_2_icons)"},{"a":52423,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":52425,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":52426,"t":"code","b":[205,41,140],"m":"call","oa":35881,"o":"queue_message"},{"a":52429,"t":"code","b":[246,1],"m":"or","o":"$01"},{"a":52431,"t":"code","b":[201],"m":"ret"},{"a":52432,"l":"drop_object","c":"The dragged object let go: in the bottom half of the menu it is dropped ($F7C0), in the top half taken; an object the character cannot carry gives message $22. The pointer becomes the arrow again ($CCFE).","t":"code","b":[58,36,141],"m":"ld","oa":36132,"o":"a,($8D24)","x":[52066,52115]},{"a":52435,"t":"code","b":[254,40],"m":"cp","o":"$28"},{"a":52437,"t":"code","b":[56,5],"m":"jr","oa":52444,"o":"c,$CCDC"},{"a":52439,"t":"code","b":[205,192,247],"m":"call","oa":63424,"o":"drop_object_ground"},{"a":52442,"t":"code","b":[24,34],"m":"jr","oa":52478,"o":"$CCFE"},{"a":52444,"t":"code","b":[58,206,208],"m":"ld","oa":53454,"o":"a,($D0CE)","x":[52437]},{"a":52447,"t":"code","b":[254,5],"m":"cp","o":"$05"},{"a":52449,"t":"code","b":[202,251,204],"m":"jp","oa":52475,"o":"z,$CCFB"},{"a":52452,"t":"code","b":[58,145,200],"m":"ld","oa":51345,"o":"a,(menu_vars)"},{"a":52455,"t":"code","b":[205,62,248],"m":"call","oa":63550,"o":"object_record"},{"a":52458,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52459,"t":"code","b":[203,110],"m":"bit","o":"5,(hl)"},{"a":52461,"t":"code","b":[194,254,204],"m":"jp","oa":52478,"o":"nz,$CCFE"},{"a":52464,"t":"code","b":[58,176,208],"m":"ld","oa":53424,"o":"a,(menu_2_icons)"},{"a":52467,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":52469,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":52470,"t":"code","b":[6,34],"m":"ld","o":"b,$22"},{"a":52472,"t":"code","b":[195,41,140],"m":"jp","oa":35881,"o":"queue_message"},{"a":52475,"t":"code","b":[205,170,247],"m":"call","oa":63402,"o":"fetch_object","x":[52449]},{"a":52478,"t":"code","b":[33,188,200],"m":"ld","o":"hl,$C8BC","x":[52384,52404,52442,52461]},{"a":52481,"t":"code","b":[17,179,200],"m":"ld","o":"de,$C8B3"},{"a":52484,"t":"code","b":[1,9,0],"m":"ld","o":"bc,$0009"},{"a":52487,"t":"code","b":[237,176],"m":"ldir"},{"a":52489,"t":"code","b":[62,7],"m":"ld","o":"a,$07"},{"a":52491,"t":"code","b":[50,144,200],"m":"ld","oa":51344,"o":"(menu_mode),a"},{"a":52494,"t":"code","b":[201],"m":"ret"},{"a":52495,"l":"icon_actions","c":"The action of each icon (0 to 17): nothing; a character's portrait (1-4); quit the menu (5); pause (6); sound effects or music (7); new game (8); use item (9); take an object (10, 11); 12-15 the third menu's portraits ($F51D); yes (16) and no (17) to the new-game question.","t":"word","b":[72,202,51,205,51,205,51,205],"d":[51784,52531,52531,52531]},{"a":52503,"t":"word","b":[51,205,187,205,238,205,119,205],"d":[52531,52667,52718,52599]},{"a":52511,"t":"word","b":[75,205,131,205,19,206,19,206],"d":[52555,52611,52755,52755]},{"a":52519,"t":"word","b":[29,245,29,245,29,245,29,245],"d":[62749,62749,62749,62749]},{"a":52527,"t":"word","b":[113,205,105,205],"d":[52593,52585]},{"a":52531,"l":"pick_character","c":"A portrait in menu 1: that character's inventory, menu 2 ($D0B0 = $80 plus the character), opens as menu 1 closes ($8D22 = $0A).","t":"code","b":[61],"m":"dec","o":"a"},{"a":52532,"t":"code","b":[246,128],"m":"or","o":"$80"},{"a":52534,"t":"code","b":[50,176,208],"m":"ld","oa":53424,"o":"(menu_2_icons),a"},{"a":52537,"t":"code","b":[62,10],"m":"ld","o":"a,$0A","x":[59757]},{"a":52539,"t":"code","b":[50,34,141],"m":"ld","oa":36130,"o":"($8D22),a"},{"a":52542,"t":"code","b":[33,9,4],"m":"ld","o":"hl,$0409"},{"a":52545,"t":"code","b":[34,156,200],"m":"ld","oa":51356,"o":"($C89C),hl"},{"a":52548,"t":"code","b":[33,3,1],"m":"ld","o":"hl,$0103"},{"a":52551,"t":"code","b":[34,153,200],"m":"ld","oa":51353,"o":"(menu_windows),hl"},{"a":52554,"t":"code","b":[201],"m":"ret"},{"a":52555,"l":"ask_new_game","c":"New game asks first: the pause and sound icons become yes ($0B, action 16) and no ($0C, 17). $CD69 puts them back; $CD71, yes, starts a new game ($85E2).","t":"code","b":[17,11,16],"m":"ld","o":"de,$100B"},{"a":52558,"t":"code","b":[1,12,17],"m":"ld","o":"bc,$110C"},{"a":52561,"t":"code","b":[33,161,208],"m":"ld","o":"hl,$D0A1","x":[52591]},{"a":52564,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":52565,"t":"code","b":[122],"m":"ld","o":"a,d"},{"a":52566,"t":"code","b":[50,165,208],"m":"ld","oa":53413,"o":"($D0A5),a"},{"a":52569,"t":"code","b":[229],"m":"push","o":"hl"},{"a":52570,"t":"code","b":[33,166,208],"m":"ld","o":"hl,$D0A6"},{"a":52573,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":52574,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":52575,"t":"code","b":[50,170,208],"m":"ld","oa":53418,"o":"($D0AA),a"},{"a":52578,"t":"code","b":[205,233,206],"m":"call","oa":52969,"o":"draw_icon"},{"a":52581,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":52582,"t":"code","b":[195,233,206],"m":"jp","oa":52969,"o":"draw_icon"},{"a":52585,"t":"code","b":[17,135,6],"m":"ld","o":"de,$0687","x":[52593]},{"a":52588,"t":"code","b":[1,136,7],"m":"ld","o":"bc,$0788"},{"a":52591,"t":"code","b":[24,224],"m":"jr","oa":52561,"o":"$CD51"},{"a":52593,"t":"code","b":[205,105,205],"m":"call","oa":52585,"o":"$CD69"},{"a":52596,"t":"code","b":[195,226,133],"m":"jp","oa":34274,"o":"new_game"},{"a":52599,"l":"toggle_music","c":"Asks the sound driver for tune 14 (music) and 4 (sound effects only) in turn, keeping the next choice in its own operand.","t":"code","b":[33,2,112],"m":"ld","o":"hl,$7002"},{"a":52602,"t":"code","b":[62,14],"m":"ld","o":"a,$0E"},{"a":52604,"t":"code","b":[238,10],"m":"xor","o":"$0A"},{"a":52606,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":52607,"t":"code","b":[50,123,205],"m":"ld","oa":52603,"o":"($CD7B),a"},{"a":52610,"t":"code","b":[201],"m":"ret"},{"a":52611,"l":"use_item","c":"USE ITEM: the next object picked is used ($C890 8). A character not standing still is told to stop (state 1, action $80) instead.","t":"code","b":[58,186,208],"m":"ld","oa":53434,"o":"a,($D0BA)","x":[63586]},{"a":52614,"t":"code","b":[254,138],"m":"cp","o":"$8A"},{"a":52616,"t":"code","b":[40,23],"m":"jr","oa":52641,"o":"z,$CDA1"},{"a":52618,"t":"code","b":[58,176,208],"m":"ld","oa":53424,"o":"a,(menu_2_icons)"},{"a":52621,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":52623,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":52626,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":52627,"t":"code","b":[44],"m":"inc","o":"l"},{"a":52628,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":52629,"t":"code","b":[254,3],"m":"cp","o":"$03"},{"a":52631,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":52632,"t":"code","b":[54,1],"m":"ld","o":"(hl),$01"},{"a":52634,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":52635,"t":"code","b":[198,11],"m":"add","o":"a,$0B"},{"a":52637,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":52638,"t":"code","b":[54,128],"m":"ld","o":"(hl),$80"},{"a":52640,"t":"code","b":[201],"m":"ret"},{"a":52641,"t":"code","b":[33,144,200],"m":"ld","o":"hl,$C890","x":[52616]},{"a":52644,"t":"code","b":[62,8],"m":"ld","o":"a,$08"},{"a":52646,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":52647,"t":"code","b":[32,2],"m":"jr","oa":52651,"o":"nz,$CDAB"},{"a":52649,"t":"code","b":[62,6],"m":"ld","o":"a,$06"},{"a":52651,"t":"code","b":[119],"m":"ld","o":"(hl),a","x":[52647]},{"a":52652,"t":"code","b":[58,66,209],"m":"ld","oa":53570,"o":"a,($D142)"},{"a":52655,"t":"code","b":[238,118],"m":"xor","o":"$76"},{"a":52657,"t":"code","b":[50,66,209],"m":"ld","oa":53570,"o":"($D142),a"},{"a":52660,"t":"code","b":[33,186,208],"m":"ld","o":"hl,$D0BA"},{"a":52663,"t":"code","b":[205,233,206],"m":"call","oa":52969,"o":"draw_icon"},{"a":52666,"t":"code","b":[201],"m":"ret"},{"a":52667,"l":"quit_menu","c":"Closes the menu open, putting back the arrow; when the game is over ($8D10) a new game starts; while the bag is open (bit 1 of $C898) it goes back to the character's own objects.","t":"code","b":[33,188,200],"m":"ld","o":"hl,$C8BC","x":[51606]},{"a":52670,"t":"code","b":[17,179,200],"m":"ld","o":"de,$C8B3"},{"a":52673,"t":"code","b":[1,9,0],"m":"ld","o":"bc,$0009"},{"a":52676,"t":"code","b":[237,176],"m":"ldir"},{"a":52678,"t":"code","b":[58,16,141],"m":"ld","oa":36112,"o":"a,($8D10)"},{"a":52681,"t":"code","b":[167],"m":"and","o":"a"},{"a":52682,"t":"code","b":[40,8],"m":"jr","oa":52692,"o":"z,$CDD4"},{"a":52684,"t":"code","b":[62,16],"m":"ld","o":"a,$10"},{"a":52686,"t":"code","b":[50,34,141],"m":"ld","oa":36130,"o":"($8D22),a"},{"a":52689,"t":"code","b":[195,226,133],"m":"jp","oa":34274,"o":"new_game"},{"a":52692,"t":"code","b":[58,152,200],"m":"ld","oa":51352,"o":"a,($C898)","x":[52682]},{"a":52695,"t":"code","b":[203,79],"m":"bit","o":"1,a"},{"a":52697,"t":"code","b":[40,6],"m":"jr","oa":52705,"o":"z,$CDE1"},{"a":52699,"t":"code","b":[238,2],"m":"xor","o":"$02"},{"a":52701,"t":"code","b":[50,152,200],"m":"ld","oa":51352,"o":"($C898),a"},{"a":52704,"t":"code","b":[201],"m":"ret"},{"a":52705,"t":"code","b":[33,34,141],"m":"ld","o":"hl,$8D22","x":[52697]},{"a":52708,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":52709,"t":"code","b":[230,24],"m":"and","o":"$18"},{"a":52711,"t":"code","b":[54,2],"m":"ld","o":"(hl),$02"},{"a":52713,"t":"code","b":[200],"m":"ret","o":"z"},{"a":52714,"t":"code","b":[54,16],"m":"ld","o":"(hl),$10"},{"a":52716,"t":"code","b":[201],"m":"ret"},{"a":52717,"l":"spare_ret","c":"A RET ($C9) after $CDEC's that no code in the code maps reaches.","t":"byte","b":[201]},{"a":52718,"l":"pause","c":"Waits for fire and every direction to be let go, then for any input, with the border magenta ($BF30 = 3) meanwhile.","t":"code","b":[205,17,104],"m":"call","oa":26641,"o":"input_routine","x":[52723]},{"a":52721,"t":"code","b":[254,9],"m":"cp","o":"$09"},{"a":52723,"t":"code","b":[48,249],"m":"jr","oa":52718,"o":"nc,pause"},{"a":52725,"t":"code","b":[118],"m":"halt"},{"a":52726,"t":"code","b":[205,17,104],"m":"call","oa":26641,"o":"input_routine","x":[52731]},{"a":52729,"t":"code","b":[254,9],"m":"cp","o":"$09"},{"a":52731,"t":"code","b":[48,249],"m":"jr","oa":52726,"o":"nc,$CDF6"},{"a":52733,"t":"code","b":[62,3],"m":"ld","o":"a,$03","x":[52745]},{"a":52735,"t":"code","b":[50,48,191],"m":"ld","oa":48944,"o":"($BF30),a"},{"a":52738,"t":"code","b":[211,254],"m":"out","o":"($FE),a"},{"a":52740,"t":"code","b":[205,17,104],"m":"call","oa":26641,"o":"input_routine"},{"a":52743,"t":"code","b":[254,9],"m":"cp","o":"$09"},{"a":52745,"t":"code","b":[218,253,205],"m":"jp","oa":52733,"o":"c,$CDFD"},{"a":52748,"t":"code","b":[175],"m":"xor","o":"a"},{"a":52749,"t":"code","b":[50,48,191],"m":"ld","oa":48944,"o":"($BF30),a"},{"a":52752,"t":"code","b":[211,254],"m":"out","o":"($FE),a"},{"a":52754,"t":"code","b":[201],"m":"ret"},{"a":52755,"l":"take_object","c":"Fire on an object's icon: it becomes the pointer ($C8B3, from its record in bank 6 at $F1B1, six bytes each) and is being dragged ($C890 bit 7).","t":"code","b":[27],"m":"dec","o":"de"},{"a":52756,"t":"code","b":[27],"m":"dec","o":"de"},{"a":52757,"t":"code","b":[27],"m":"dec","o":"de"},{"a":52758,"t":"code","b":[27],"m":"dec","o":"de"},{"a":52759,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":52760,"t":"code","b":[214,13],"m":"sub","o":"$0D"},{"a":52762,"t":"code","b":[50,145,200],"m":"ld","oa":51345,"o":"(menu_vars),a"},{"a":52765,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":52766,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":52767,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":52768,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":52769,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":52770,"t":"code","b":[22,0],"m":"ld","o":"d,$00"},{"a":52772,"t":"code","b":[33,177,241],"m":"ld","o":"hl,$F1B1"},{"a":52775,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":52776,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":52777,"t":"code","b":[14,6],"m":"ld","o":"c,$06"},{"a":52779,"t":"code","b":[205,226,140],"m":"call","oa":36066,"o":"copy_from_bank6"},{"a":52782,"t":"code","b":[33,33,133],"m":"ld","o":"hl,$8521"},{"a":52785,"t":"code","b":[17,186,200],"m":"ld","o":"de,$C8BA"},{"a":52788,"t":"code","b":[237,160],"m":"ldi"},{"a":52790,"t":"code","b":[237,160],"m":"ldi"},{"a":52792,"t":"code","b":[229],"m":"push","o":"hl"},{"a":52793,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":52794,"t":"code","b":[62,72],"m":"ld","o":"a,$48"},{"a":52796,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":52797,"t":"code","b":[33,36,141],"m":"ld","o":"hl,$8D24"},{"a":52800,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":52801,"t":"code","b":[48,2],"m":"jr","oa":52805,"o":"nc,$CE45"},{"a":52803,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":52804,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":52805,"t":"code","b":[225],"m":"pop","o":"hl","x":[52801]},{"a":52806,"t":"code","b":[17,179,200],"m":"ld","o":"de,$C8B3"},{"a":52809,"t":"code","b":[1,4,0],"m":"ld","o":"bc,$0004"},{"a":52812,"t":"code","b":[237,176],"m":"ldir"},{"a":52814,"t":"code","b":[58,144,200],"m":"ld","oa":51344,"o":"a,(menu_mode)"},{"a":52817,"t":"code","b":[246,128],"m":"or","o":"$80"},{"a":52819,"t":"code","b":[50,144,200],"m":"ld","oa":51344,"o":"(menu_mode),a"},{"a":52822,"t":"code","b":[201],"m":"ret"},{"a":52823,"l":"open_menu_2","c":"Menu 2 opens (click on channel B); when the game is over ($8D10) the end is shown instead ($E975). The colour, the inventory and the window's icons are drawn ($CE9B).","t":"code","b":[62,7],"m":"ld","o":"a,$07"},{"a":52825,"t":"code","b":[50,31,112],"m":"ld","oa":28703,"o":"($701F),a"},{"a":52828,"t":"code","b":[58,16,141],"m":"ld","oa":36112,"o":"a,($8D10)"},{"a":52831,"t":"code","b":[167],"m":"and","o":"a"},{"a":52832,"t":"code","b":[194,117,233],"m":"jp","oa":59765,"o":"nz,end_screen"},{"a":52835,"t":"code","b":[62,66],"m":"ld","o":"a,$42"},{"a":52837,"t":"code","b":[205,220,206],"m":"call","oa":52956,"o":"menu_colour"},{"a":52840,"t":"code","b":[205,131,201],"m":"call","oa":51587,"o":"update_inventory"},{"a":52843,"t":"code","b":[6,10],"m":"ld","o":"b,$0A","x":[51658]},{"a":52845,"t":"code","b":[17,176,208],"m":"ld","o":"de,$D0B0"},{"a":52848,"t":"code","b":[33,153,200],"m":"ld","o":"hl,$C899"},{"a":52851,"t":"code","b":[62,147],"m":"ld","o":"a,$93"},{"a":52853,"t":"code","b":[24,36],"m":"jr","oa":52891,"o":"draw_menu"},{"a":52855,"l":"open_menu_1","c":"SPACE: menu 1 opens from its middle with the pointer at 16 across and 50 down; its frame and its eight icons are drawn into the menu buffer ($CE9B).","t":"code","b":[62,7],"m":"ld","o":"a,$07"},{"a":52857,"t":"code","b":[50,31,112],"m":"ld","oa":28703,"o":"($701F),a"},{"a":52860,"t":"code","b":[33,16,50],"m":"ld","o":"hl,$3210"},{"a":52863,"t":"code","b":[34,35,141],"m":"ld","oa":36131,"o":"($8D23),hl"},{"a":52866,"t":"code","b":[33,7,4],"m":"ld","o":"hl,$0407"},{"a":52869,"t":"code","b":[34,169,200],"m":"ld","oa":51369,"o":"($C8A9),hl"},{"a":52872,"t":"code","b":[33,3,1],"m":"ld","o":"hl,$0103"},{"a":52875,"t":"code","b":[34,166,200],"m":"ld","oa":51366,"o":"($C8A6),hl"},{"a":52878,"t":"code","b":[205,27,201],"m":"call","oa":51483,"o":"$C91B"},{"a":52881,"t":"code","b":[6,8],"m":"ld","o":"b,$08","x":[51502]},{"a":52883,"t":"code","b":[17,136,208],"m":"ld","o":"de,$D088"},{"a":52886,"t":"code","b":[33,166,200],"m":"ld","o":"hl,$C8A6"},{"a":52889,"t":"code","b":[62,143],"m":"ld","o":"a,$8F"},{"a":52891,"l":"draw_menu","c":"Draws a menu's frame ($EA3D, $D9A5) and its B icons from DE ($CEE9).","t":"code","b":[197],"m":"push","o":"bc","x":[52853]},{"a":52892,"t":"code","b":[213],"m":"push","o":"de"},{"a":52893,"t":"code","b":[205,235,202],"m":"call","oa":51947,"o":"copy_window"},{"a":52896,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":52897,"t":"code","b":[14,2],"m":"ld","o":"c,$02"},{"a":52899,"t":"code","b":[205,61,234],"m":"call","oa":59965,"o":"frame_size"},{"a":52902,"t":"code","b":[42,117,170],"m":"ld","oa":43637,"o":"hl,($AA75)"},{"a":52905,"t":"code","b":[76],"m":"ld","o":"c,h"},{"a":52906,"t":"code","b":[69],"m":"ld","o":"b,l"},{"a":52907,"t":"code","b":[205,165,217],"m":"call","oa":55717,"o":"draw_menu_frame"},{"a":52910,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":52911,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":52912,"t":"code","b":[197],"m":"push","o":"bc","x":[52926]},{"a":52913,"t":"code","b":[229],"m":"push","o":"hl"},{"a":52914,"t":"code","b":[205,233,206],"m":"call","oa":52969,"o":"draw_icon"},{"a":52917,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":52918,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":52919,"t":"code","b":[198,5],"m":"add","o":"a,$05"},{"a":52921,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":52922,"t":"code","b":[48,1],"m":"jr","oa":52925,"o":"nc,$CEBD"},{"a":52924,"t":"code","b":[36],"m":"inc","o":"h"},{"a":52925,"t":"code","b":[193],"m":"pop","o":"bc","x":[52922]},{"a":52926,"t":"code","b":[16,240],"m":"djnz","oa":52912,"o":"$CEB0"},{"a":52928,"t":"code","b":[201],"m":"ret"},{"a":52929,"l":"portraits_state","c":"The four portraits' masks ($D08C on, five bytes apart): 1 to 4 in play, $0C to $0F once the leader has died ($8D09), and C the menu's colour.","t":"code","b":[14,69],"m":"ld","o":"c,$45","x":[51489]},{"a":52931,"t":"code","b":[33,9,141],"m":"ld","o":"hl,$8D09"},{"a":52934,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":52935,"t":"code","b":[167],"m":"and","o":"a"},{"a":52936,"t":"code","b":[40,4],"m":"jr","oa":52942,"o":"z,$CECE"},{"a":52938,"t":"code","b":[14,67],"m":"ld","o":"c,$43"},{"a":52940,"t":"code","b":[62,11],"m":"ld","o":"a,$0B"},{"a":52942,"t":"code","b":[6,4],"m":"ld","o":"b,$04","x":[52936]},{"a":52944,"t":"code","b":[33,140,208],"m":"ld","o":"hl,$D08C"},{"a":52947,"t":"code","b":[17,5,0],"m":"ld","o":"de,$0005"},{"a":52950,"t":"code","b":[60],"m":"inc","o":"a","x":[52953]},{"a":52951,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":52952,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":52953,"t":"code","b":[16,251],"m":"djnz","oa":52950,"o":"$CED6"},{"a":52955,"t":"code","b":[201],"m":"ret"},{"a":52956,"l":"menu_colour","c":"Fills the menu's 189 attributes from $60E8 with A.","t":"code","b":[33,232,96],"m":"ld","o":"hl,$60E8","x":[51499,51655,52837,59767]},{"a":52959,"t":"code","b":[17,233,96],"m":"ld","o":"de,$60E9"},{"a":52962,"t":"code","b":[1,188,0],"m":"ld","o":"bc,$00BC"},{"a":52965,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":52966,"t":"code","b":[237,176],"m":"ldir"},{"a":52968,"t":"code","b":[201],"m":"ret"},{"a":52969,"l":"draw_icon","c":"Draws the icon record at HL into the menu buffer: its colours ($D025), then a picture of characters ($80 on, $CFE3), a bitmap three bytes across ($CF1C: 24 rows for pictures 0-3, 16 for the rest) or an object ($CF42).","t":"code","b":[205,37,208],"m":"call","oa":53285,"o":"icon_colours","x":[51624,51728,51771,52578,52582,52663,52914,59804,63650,63751,63852,64024]},{"a":52972,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":52973,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":52974,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52975,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":52976,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":52977,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":52978,"t":"code","b":[58,117,170],"m":"ld","oa":43637,"o":"a,($AA75)"},{"a":52981,"t":"code","b":[213],"m":"push","o":"de"},{"a":52982,"t":"code","b":[205,93,170],"m":"call","oa":43613,"o":"multiply"},{"a":52985,"t":"code","b":[209],"m":"pop","o":"de"},{"a":52986,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":52987,"t":"code","b":[130],"m":"add","o":"a,d"},{"a":52988,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":52989,"t":"code","b":[48,1],"m":"jr","oa":52992,"o":"nc,$CF00"},{"a":52991,"t":"code","b":[36],"m":"inc","o":"h"},{"a":52992,"t":"code","b":[17,0,91],"m":"ld","o":"de,$5B00","x":[52989]},{"a":52995,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":52996,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":52997,"t":"code","b":[203,127],"m":"bit","o":"7,a"},{"a":52999,"t":"code","b":[194,227,207],"m":"jp","oa":53219,"o":"nz,draw_char_icon"},{"a":53002,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":53003,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":53005,"t":"code","b":[62,24],"m":"ld","o":"a,$18"},{"a":53007,"t":"code","b":[56,2],"m":"jr","oa":53011,"o":"c,$CF13"},{"a":53009,"t":"code","b":[62,16],"m":"ld","o":"a,$10"},{"a":53011,"t":"code","b":[50,44,207],"m":"ld","oa":53036,"o":"($CF2C),a","x":[53007]},{"a":53014,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":53015,"t":"code","b":[254,13],"m":"cp","o":"$0D"},{"a":53017,"t":"code","b":[210,66,207],"m":"jp","oa":53058,"o":"nc,draw_object_icon"},{"a":53020,"t":"code","b":[135],"m":"add","o":"a,a","x":[53062]},{"a":53021,"t":"code","b":[17,6,209],"m":"ld","o":"de,$D106"},{"a":53024,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":53025,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":53026,"t":"code","b":[48,1],"m":"jr","oa":53029,"o":"nc,$CF25"},{"a":53028,"t":"code","b":[20],"m":"inc","o":"d"},{"a":53029,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[53026]},{"a":53030,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":53031,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":53032,"t":"code","b":[102],"m":"ld","o":"h,(hl)"},{"a":53033,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":53034,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":53035,"t":"code","b":[6,24],"m":"ld","o":"b,$18"},{"a":53037,"t":"code","b":[197],"m":"push","o":"bc","x":[53055]},{"a":53038,"t":"code","b":[237,160],"m":"ldi"},{"a":53040,"t":"code","b":[237,160],"m":"ldi"},{"a":53042,"t":"code","b":[237,160],"m":"ldi"},{"a":53044,"t":"code","b":[58,117,170],"m":"ld","oa":43637,"o":"a,($AA75)"},{"a":53047,"t":"code","b":[214,3],"m":"sub","o":"$03"},{"a":53049,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":53050,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":53051,"t":"code","b":[48,1],"m":"jr","oa":53054,"o":"nc,$CF3E"},{"a":53053,"t":"code","b":[20],"m":"inc","o":"d"},{"a":53054,"t":"code","b":[193],"m":"pop","o":"bc","x":[53051]},{"a":53055,"t":"code","b":[16,236],"m":"djnz","oa":53037,"o":"$CF2D"},{"a":53057,"t":"code","b":[201],"m":"ret"},{"a":53058,"l":"draw_object_icon","c":"An object's icon: the empty slot (picture 5), then the object's picture from bank 6 (its record at $F1B1, 48 bytes, two or three across) ORed over it, centred, shifted half a byte when it is two bytes wide. A' comes back changed, which use_knife reads at $F8D6: $FF for a picture of width 4, otherwise the middle byte of the last row drawn.","t":"code","b":[245],"m":"push","o":"af","x":[53017]},{"a":53059,"t":"code","b":[229],"m":"push","o":"hl"},{"a":53060,"t":"code","b":[62,5],"m":"ld","o":"a,$05"},{"a":53062,"t":"code","b":[205,28,207],"m":"call","oa":53020,"o":"$CF1C"},{"a":53065,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":53066,"t":"code","b":[241],"m":"pop","o":"af"},{"a":53067,"t":"code","b":[214,13],"m":"sub","o":"$0D"},{"a":53069,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":53070,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":53071,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":53072,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":53073,"t":"code","b":[17,177,241],"m":"ld","o":"de,$F1B1"},{"a":53076,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":53077,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":53078,"t":"code","b":[48,1],"m":"jr","oa":53081,"o":"nc,$CF59"},{"a":53080,"t":"code","b":[20],"m":"inc","o":"d"},{"a":53081,"t":"code","b":[229],"m":"push","o":"hl","x":[53078]},{"a":53082,"t":"code","b":[14,6],"m":"ld","o":"c,$06"},{"a":53084,"t":"code","b":[205,226,140],"m":"call","oa":36066,"o":"copy_from_bank6"},{"a":53087,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":53088,"t":"code","b":[17,34,133],"m":"ld","o":"de,$8522"},{"a":53091,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":53092,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":53093,"t":"code","b":[62,16],"m":"ld","o":"a,$10"},{"a":53095,"t":"code","b":[144],"m":"sub","o":"b"},{"a":53096,"t":"code","b":[218,127,207],"m":"jp","oa":53119,"o":"c,$CF7F"},{"a":53099,"t":"code","b":[167],"m":"and","o":"a"},{"a":53100,"t":"code","b":[31],"m":"rra"},{"a":53101,"t":"code","b":[167],"m":"and","o":"a"},{"a":53102,"t":"code","b":[202,127,207],"m":"jp","oa":53119,"o":"z,$CF7F"},{"a":53105,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[53116]},{"a":53106,"t":"code","b":[58,117,170],"m":"ld","oa":43637,"o":"a,($AA75)"},{"a":53109,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":53110,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":53111,"t":"code","b":[48,1],"m":"jr","oa":53114,"o":"nc,$CF7A"},{"a":53113,"t":"code","b":[36],"m":"inc","o":"h"},{"a":53114,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[53111]},{"a":53115,"t":"code","b":[61],"m":"dec","o":"a"},{"a":53116,"t":"code","b":[194,113,207],"m":"jp","oa":53105,"o":"nz,$CF71"},{"a":53119,"t":"code","b":[27],"m":"dec","o":"de","x":[53096,53102]},{"a":53120,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":53121,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":53122,"t":"code","b":[19],"m":"inc","o":"de"},{"a":53123,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":53124,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":53125,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":53126,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":53127,"t":"code","b":[102],"m":"ld","o":"h,(hl)"},{"a":53128,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":53129,"t":"code","b":[197],"m":"push","o":"bc"},{"a":53130,"t":"code","b":[213],"m":"push","o":"de"},{"a":53131,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":53132,"t":"code","b":[14,48],"m":"ld","o":"c,$30"},{"a":53134,"t":"code","b":[205,226,140],"m":"call","oa":36066,"o":"copy_from_bank6"},{"a":53137,"t":"code","b":[209],"m":"pop","o":"de"},{"a":53138,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":53139,"t":"code","b":[33,33,133],"m":"ld","o":"hl,$8521"},{"a":53142,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":53143,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":53145,"t":"code","b":[202,203,207],"m":"jp","oa":53195,"o":"z,$CFCB"},{"a":53148,"t":"code","b":[197],"m":"push","o":"bc","x":[53192]},{"a":53149,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":53150,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":53151,"t":"code","b":[70],"m":"ld","o":"b,(hl)"},{"a":53152,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":53153,"t":"code","b":[175],"m":"xor","o":"a"},{"a":53154,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":53155,"t":"code","b":[62,4],"m":"ld","o":"a,$04"},{"a":53157,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[53165]},{"a":53158,"t":"code","b":[203,57],"m":"srl","o":"c"},{"a":53160,"t":"code","b":[203,24],"m":"rr","o":"b"},{"a":53162,"t":"code","b":[31],"m":"rra"},{"a":53163,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":53164,"t":"code","b":[61],"m":"dec","o":"a"},{"a":53165,"t":"code","b":[194,165,207],"m":"jp","oa":53157,"o":"nz,$CFA5"},{"a":53168,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":53169,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":53170,"t":"code","b":[182],"m":"or","o":"(hl)"},{"a":53171,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":53172,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":53173,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":53174,"t":"code","b":[182],"m":"or","o":"(hl)"},{"a":53175,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":53176,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":53177,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":53178,"t":"code","b":[182],"m":"or","o":"(hl)"},{"a":53179,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":53180,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":53181,"t":"code","b":[58,117,170],"m":"ld","oa":43637,"o":"a,($AA75)"},{"a":53184,"t":"code","b":[214,2],"m":"sub","o":"$02"},{"a":53186,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":53187,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":53188,"t":"code","b":[48,1],"m":"jr","oa":53191,"o":"nc,$CFC7"},{"a":53190,"t":"code","b":[20],"m":"inc","o":"d"},{"a":53191,"t":"code","b":[193],"m":"pop","o":"bc","x":[53188]},{"a":53192,"t":"code","b":[16,210],"m":"djnz","oa":53148,"o":"$CF9C"},{"a":53194,"t":"code","b":[201],"m":"ret"},{"a":53195,"t":"code","b":[14,3],"m":"ld","o":"c,$03","x":[53145,53216]},{"a":53197,"t":"code","b":[26],"m":"ld","o":"a,(de)","x":[53203]},{"a":53198,"t":"code","b":[182],"m":"or","o":"(hl)"},{"a":53199,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":53200,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":53201,"t":"code","b":[19],"m":"inc","o":"de"},{"a":53202,"t":"code","b":[13],"m":"dec","o":"c"},{"a":53203,"t":"code","b":[194,205,207],"m":"jp","oa":53197,"o":"nz,$CFCD"},{"a":53206,"t":"code","b":[58,117,170],"m":"ld","oa":43637,"o":"a,($AA75)"},{"a":53209,"t":"code","b":[214,3],"m":"sub","o":"$03"},{"a":53211,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":53212,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":53213,"t":"code","b":[48,1],"m":"jr","oa":53216,"o":"nc,$CFE0"},{"a":53215,"t":"code","b":[20],"m":"inc","o":"d"},{"a":53216,"t":"code","b":[16,233],"m":"djnz","oa":53195,"o":"$CFCB","x":[53213]},{"a":53218,"t":"code","b":[201],"m":"ret"},{"a":53219,"l":"draw_char_icon","c":"An icon made of characters: three across by three rows (two for pictures 5 on), each from the list its entry in $D106 points to ($D9F1).","t":"code","b":[230,127],"m":"and","o":"$7F","x":[52999]},{"a":53221,"t":"code","b":[14,3],"m":"ld","o":"c,$03"},{"a":53223,"t":"code","b":[254,5],"m":"cp","o":"$05"},{"a":53225,"t":"code","b":[56,1],"m":"jr","oa":53228,"o":"c,$CFEC"},{"a":53227,"t":"code","b":[13],"m":"dec","o":"c"},{"a":53228,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[53225]},{"a":53229,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":53230,"t":"code","b":[33,6,209],"m":"ld","o":"hl,$D106"},{"a":53233,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":53234,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":53235,"t":"code","b":[48,1],"m":"jr","oa":53238,"o":"nc,$CFF6"},{"a":53237,"t":"code","b":[36],"m":"inc","o":"h"},{"a":53238,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[53235]},{"a":53239,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":53240,"t":"code","b":[102],"m":"ld","o":"h,(hl)"},{"a":53241,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":53242,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":53243,"t":"code","b":[58,117,170],"m":"ld","oa":43637,"o":"a,($AA75)"},{"a":53246,"t":"code","b":[50,255,217],"m":"ld","oa":55807,"o":"($D9FF),a"},{"a":53249,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":53250,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":53251,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":53252,"t":"code","b":[50,26,208],"m":"ld","oa":53274,"o":"($D01A),a"},{"a":53255,"t":"code","b":[6,3],"m":"ld","o":"b,$03","x":[53281]},{"a":53257,"t":"code","b":[213],"m":"push","o":"de"},{"a":53258,"t":"code","b":[197],"m":"push","o":"bc","x":[53270]},{"a":53259,"t":"code","b":[229],"m":"push","o":"hl"},{"a":53260,"t":"code","b":[213],"m":"push","o":"de"},{"a":53261,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":53262,"t":"code","b":[205,241,217],"m":"call","oa":55793,"o":"draw_menu_char"},{"a":53265,"t":"code","b":[209],"m":"pop","o":"de"},{"a":53266,"t":"code","b":[19],"m":"inc","o":"de"},{"a":53267,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":53268,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":53269,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":53270,"t":"code","b":[16,242],"m":"djnz","oa":53258,"o":"$D00A"},{"a":53272,"t":"code","b":[209],"m":"pop","o":"de"},{"a":53273,"t":"code","b":[62,0],"m":"ld","o":"a,$00"},{"a":53275,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":53276,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":53277,"t":"code","b":[48,1],"m":"jr","oa":53280,"o":"nc,$D020"},{"a":53279,"t":"code","b":[20],"m":"inc","o":"d"},{"a":53280,"t":"code","b":[13],"m":"dec","o":"c","x":[53277]},{"a":53281,"t":"code","b":[194,7,208],"m":"jp","oa":53255,"o":"nz,$D007"},{"a":53284,"t":"code","b":[201],"m":"ret"},{"a":53285,"l":"icon_colours","c":"An icon's attributes in the menu: three bytes across for three rows (two for pictures 5 on), the first byte of its picture's list ($D106) or, for an object, its colour from $F616.","t":"code","b":[229],"m":"push","o":"hl","x":[51568,52969]},{"a":53286,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":53287,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":53288,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":53289,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":53290,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":53291,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":53292,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":53293,"t":"code","b":[31],"m":"rra"},{"a":53294,"t":"code","b":[31],"m":"rra"},{"a":53295,"t":"code","b":[31],"m":"rra"},{"a":53296,"t":"code","b":[230,31],"m":"and","o":"$1F"},{"a":53298,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":53299,"t":"code","b":[58,117,170],"m":"ld","oa":43637,"o":"a,($AA75)"},{"a":53302,"t":"code","b":[213],"m":"push","o":"de"},{"a":53303,"t":"code","b":[205,93,170],"m":"call","oa":43613,"o":"multiply"},{"a":53306,"t":"code","b":[209],"m":"pop","o":"de"},{"a":53307,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":53308,"t":"code","b":[130],"m":"add","o":"a,d"},{"a":53309,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":53310,"t":"code","b":[48,1],"m":"jr","oa":53313,"o":"nc,$D041"},{"a":53312,"t":"code","b":[36],"m":"inc","o":"h"},{"a":53313,"t":"code","b":[17,232,96],"m":"ld","o":"de,$60E8","x":[53310]},{"a":53316,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":53317,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":53318,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":53319,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":53321,"t":"code","b":[6,3],"m":"ld","o":"b,$03"},{"a":53323,"t":"code","b":[254,5],"m":"cp","o":"$05"},{"a":53325,"t":"code","b":[56,1],"m":"jr","oa":53328,"o":"c,$D050"},{"a":53327,"t":"code","b":[5],"m":"dec","o":"b"},{"a":53328,"t":"code","b":[254,13],"m":"cp","o":"$0D","x":[53325]},{"a":53330,"t":"code","b":[218,102,208],"m":"jp","oa":53350,"o":"c,$D066"},{"a":53333,"t":"code","b":[229],"m":"push","o":"hl"},{"a":53334,"t":"code","b":[245],"m":"push","o":"af"},{"a":53335,"t":"code","b":[214,13],"m":"sub","o":"$0D"},{"a":53337,"t":"code","b":[33,22,246],"m":"ld","o":"hl,$F616"},{"a":53340,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":53341,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":53342,"t":"code","b":[48,1],"m":"jr","oa":53345,"o":"nc,$D061"},{"a":53344,"t":"code","b":[36],"m":"inc","o":"h"},{"a":53345,"t":"code","b":[78],"m":"ld","o":"c,(hl)","x":[53342]},{"a":53346,"t":"code","b":[241],"m":"pop","o":"af"},{"a":53347,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":53348,"t":"code","b":[24,14],"m":"jr","oa":53364,"o":"$D074"},{"a":53350,"t":"code","b":[135],"m":"add","o":"a,a","x":[53330]},{"a":53351,"t":"code","b":[33,6,209],"m":"ld","o":"hl,$D106"},{"a":53354,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":53355,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":53356,"t":"code","b":[48,1],"m":"jr","oa":53359,"o":"nc,$D06F"},{"a":53358,"t":"code","b":[36],"m":"inc","o":"h"},{"a":53359,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[53356]},{"a":53360,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":53361,"t":"code","b":[102],"m":"ld","o":"h,(hl)"},{"a":53362,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":53363,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":53364,"t":"code","b":[121],"m":"ld","o":"a,c","x":[53348,53380]},{"a":53365,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":53366,"t":"code","b":[19],"m":"inc","o":"de"},{"a":53367,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":53368,"t":"code","b":[19],"m":"inc","o":"de"},{"a":53369,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":53370,"t":"code","b":[58,117,170],"m":"ld","oa":43637,"o":"a,($AA75)"},{"a":53373,"t":"code","b":[214,2],"m":"sub","o":"$02"},{"a":53375,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":53376,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":53377,"t":"code","b":[48,1],"m":"jr","oa":53380,"o":"nc,$D084"},{"a":53379,"t":"code","b":[20],"m":"inc","o":"d"},{"a":53380,"t":"code","b":[16,238],"m":"djnz","oa":53364,"o":"$D074","x":[53377]},{"a":53382,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":53383,"t":"code","b":[201],"m":"ret"},{"a":53384,"l":"menu_1_icons","c":"Menu 1's eight icons, five bytes each: picture, column (in characters), row (in pixels), mask and action ($CD0F). The four portraits ($80-$83) across the top, actions 1 to 4; below them quit ($86), pause ($87), sound effects or music ($88) and new game ($89), actions 5 to 8.","t":"byte","b":[128,1,8,255,1,129,5,8]},{"a":53392,"t":"byte","b":[255,2,130,9,8,255,3,131]},{"a":53400,"t":"byte","b":[13,8,255,4,134,1,48,255]},{"a":53408,"t":"byte","b":[5,135,5,48,255,6,136,9]},{"a":53416,"t":"byte","b":[48,255,7,137,13,48,255,8]},{"a":53424,"l":"menu_2_icons","c":"Menu 2's ten icons, laid out as menu 1's: the portrait of the character whose objects these are (the picture at $D0B0 is $80 plus the character), quit, USE ITEM ($8A, action 9), the four objects carried (row 16, action 10) and three on the ground (row 48, action 11), filled in by $C983.","t":"byte","b":[129,1,8,0,0,134,1,48],"x":[51598,51627,52420,52464,52534,52618,63402,63447,63624,63709,63764,63900,64047,64147,64176]},{"a":53432,"t":"byte","b":[255,5,138,5,48,255,9,16]},{"a":53440,"t":"byte","b":[5,16,255,10,22,9,16,255]},{"a":53448,"t":"byte","b":[10,23,13,16,255,10,24,17]},{"a":53456,"t":"byte","b":[16,0,10,25,9,48,255,11]},{"a":53464,"t":"byte","b":[26,13,48,255,11,27,17,48]},{"a":53472,"t":"byte","b":[255,11]},{"a":53474,"l":"menu_frame","c":"A menu's frame as characters from $D218, a byte with bit 7 being a count for the byte after it: the corners, the edges and the blank inside; the counts are set for the window's width ($EA3D).","t":"byte","b":[9,143,7,8,5,143,1,4]},{"a":53482,"t":"byte","b":[5,143,2,4,5,143,2,4]},{"a":53490,"t":"byte","b":[5,143,2,4,5,143,2,4]},{"a":53498,"t":"byte","b":[5,143,2,4,5,143,2,4]},{"a":53506,"t":"byte","b":[10,143,6,11]},{"a":53510,"l":"icon_pictures","c":"The pictures 0 to 12 that icons use: each points to a colour and then either the characters (pictures drawn with bit 7: three by three for 0-4, three by two for the rest) or a bitmap three bytes across (24 rows for 0-3, 16 for the rest): the four portraits, the empty slot (4 and 5), quit, pause, sound, new game, use item, yes and no.","t":"word","b":[220,209,230,209,240,209,250,209],"d":[53724,53734,53744,53754]},{"a":53518,"t":"word","b":[73,209,73,209,46,209,32,209],"d":[53577,53577,53550,53536]},{"a":53526,"t":"word","b":[39,209,59,209,66,209,122,209],"d":[53543,53563,53570,53626]},{"a":53534,"t":"word","b":[171,209],"d":[53675]},{"a":53536,"l":"icon_lists","c":"The colours and characters of the icons that are made of characters, and the bitmaps of the empty slot ($D14A), yes ($D17B) and no ($D1AC).","t":"byte","b":[6,88,89,90,73,74,75,68]},{"a":53544,"t":"byte","b":[79,80,81,82,83,84,7,67]},{"a":53552,"t":"byte","b":[68,69,70,71,72,52,53,54]},{"a":53560,"t":"byte","b":[55,56,57,67,73,74,75,76]},{"a":53568,"t":"byte","b":[77,78,6,91,92,93,94,95]},{"a":53576,"t":"byte","b":[96,7,255,255,255,128,0,1]},{"a":53584,"t":"byte","b":[128,0,1,128,0,1,128,0]},{"a":53592,"t":"byte","b":[1,128,0,1,128,0,1,128]},{"a":53600,"t":"byte","b":[0,1,128,0,1,128,0,1]},{"a":53608,"t":"byte","b":[128,0,1,128,0,1,128,0]},{"a":53616,"t":"byte","b":[1,128,0,1,128,0,1,255]},{"a":53624,"t":"byte","b":[255,255,70,0,0,0,0,0]},{"a":53632,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":53640,"t":"byte","b":[0,0,0,201,0,1,42,0]},{"a":53648,"t":"byte","b":[1,44,0,1,42,0,1,41]},{"a":53656,"t":"byte","b":[0,0,201,0,0,0,0,0]},{"a":53664,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":53672,"t":"byte","b":[0,0,1,70,0,0,0,0]},{"a":53680,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":53688,"t":"byte","b":[0,0,0,50,67,116,69,116]},{"a":53696,"t":"byte","b":[68,69,84,100,71,84,68,69]},{"a":53704,"t":"byte","b":[84,68,53,83,119,0,0,0]},{"a":53712,"t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":53720,"t":"byte","b":[0,0,0,0]},{"a":53724,"l":"portraits","c":"Six portraits, ten bytes each: a colour (6 dim, 7 lit, set by $C913) and three by three characters. The first four are Jarret, Gloria, Dirk and Clive; the conversation window uses the speaker's ($D91B), so the other two are for speakers 4 and 5.","t":"byte","b":[7,66,58,59,60,61,62,63]},{"a":53732,"t":"byte","b":[64,65,7,40,41,42,43,44]},{"a":53740,"t":"byte","b":[45,46,47,48,7,49,50,56]},{"a":53748,"t":"byte","b":[51,52,57,53,54,55,7,29]},{"a":53756,"t":"byte","b":[30,31,32,33,34,35,36,37]},{"a":53764,"t":"byte","b":[7,104,107,110,105,108,111,106]},{"a":53772,"t":"byte","b":[109,112,7,104,107,110,105,113]},{"a":53780,"t":"byte","b":[115,106,114,116]},{"a":53784,"l":"menu_chars","c":"The menus' characters, eight bytes each, numbered from here: the frame, the portraits and the icons.","t":"byte","b":[0,0,0,0,0,0,0,0]},{"a":53792,"t":"byte","b":[51,204,51,204,51,204,204,51]},{"a":53800,"t":"byte","b":[204,204,51,204,51,204,204,51]},{"a":53808,"t":"byte","b":[104,106,122,106,120,120,112,112]},{"a":53816,"t":"byte","b":[96,124,112,14,120,64,60,112]},{"a":53824,"t":"byte","b":[6,62,14,112,142,2,60,14]},{"a":53832,"t":"byte","b":[0,213,214,218,90,74,8,0]},{"a":53840,"t":"byte","b":[0,8,74,90,218,214,213,0]},{"a":53848,"t":"byte","b":[0,0,68,72,208,176,72,240]},{"a":53856,"t":"byte","b":[0,0,34,18,10,13,18,14]},{"a":53864,"t":"byte","b":[10,54,13,11,18,34,0,0]},{"a":53872,"t":"byte","b":[144,104,48,208,72,68,0,0]},{"a":53880,"t":"byte","b":[0,1,1,3,3,3,3,3]},{"a":53888,"t":"byte","b":[255,255,0,0,0,0,0,0]},{"a":53896,"t":"byte","b":[0,192,192,224,224,224,224,240]},{"a":53904,"t":"byte","b":[248,248,248,248,248,248,248,248]},{"a":53912,"t":"byte","b":[248,248,240,240,192,0,0,0]},{"a":53920,"t":"byte","b":[255,255,255,255,255,0,0,0]},{"a":53928,"t":"byte","b":[127,127,31,1,0,0,0,0]},{"a":53936,"t":"byte","b":[224,224,224,224,224,224,224,224]},{"a":53944,"t":"byte","b":[0,0,0,0,0,0,31,127]},{"a":53952,"t":"byte","b":[0,0,0,0,0,0,255,255]},{"a":53960,"t":"byte","b":[3,3,3,3,3,7,255,255]},{"a":53968,"t":"byte","b":[7,3,3,3,3,3,3,3]},{"a":53976,"t":"byte","b":[7,15,31,63,127,63,31,15]},{"a":53984,"t":"byte","b":[224,224,224,224,224,224,224,240]},{"a":53992,"t":"byte","b":[255,255,1,0,0,0,0,0]},{"a":54000,"t":"byte","b":[0,0,0,0,0,0,0,1]},{"a":54008,"t":"byte","b":[255,255,192,128,128,128,128,128]},{"a":54016,"t":"byte","b":[224,128,128,1,3,7,6,5]},{"a":54024,"t":"byte","b":[0,24,124,248,199,63,255,248]},{"a":54032,"t":"byte","b":[7,1,1,0,128,224,224,112]},{"a":54040,"t":"byte","b":[3,7,14,13,29,27,27,13]},{"a":54048,"t":"byte","b":[199,63,254,230,239,126,122,191]},{"a":54056,"t":"byte","b":[176,208,64,128,192,192,192,184]},{"a":54064,"t":"byte","b":[0,1,1,6,30,62,126,255]},{"a":54072,"t":"byte","b":[249,63,158,225,243,253,158,95]},{"a":54080,"t":"byte","b":[166,59,179,167,123,119,47,47]},{"a":54088,"t":"byte","b":[240,224,224,224,224,224,224,224]},{"a":54096,"t":"byte","b":[128,128,128,128,128,128,128,128]},{"a":54104,"t":"byte","b":[224,128,128,0,0,0,0,1]},{"a":54112,"t":"byte","b":[0,0,0,28,127,239,249,246]},{"a":54120,"t":"byte","b":[7,1,1,0,0,128,128,192]},{"a":54128,"t":"byte","b":[1,3,3,3,3,7,7,7]},{"a":54136,"t":"byte","b":[183,175,108,102,111,221,223,237]},{"a":54144,"t":"byte","b":[64,64,160,160,160,160,160,32]},{"a":54152,"t":"byte","b":[6,6,13,15,14,141,131,227]},{"a":54160,"t":"byte","b":[239,230,217,175,51,253,254,255]},{"a":54168,"t":"byte","b":[104,88,92,92,60,126,126,126]},{"a":54176,"t":"byte","b":[224,128,128,0,0,0,1,3]},{"a":54184,"t":"byte","b":[0,0,0,0,0,79,191,127]},{"a":54192,"t":"byte","b":[3,6,6,6,4,3,5,3]},{"a":54200,"t":"byte","b":[127,248,199,63,233,157,223,251]},{"a":54208,"t":"byte","b":[1,1,0,0,3,15,31,31]},{"a":54216,"t":"byte","b":[119,191,243,126,30,193,241,123]},{"a":54224,"t":"byte","b":[0,0,0,128,224,240,248,248]},{"a":54232,"t":"byte","b":[7,1,1,0,0,0,128,128]},{"a":54240,"t":"byte","b":[0,0,0,0,128,128,128,128]},{"a":54248,"t":"byte","b":[0,0,24,115,239,223,191,127]},{"a":54256,"t":"byte","b":[7,1,1,192,224,224,224,224]},{"a":54264,"t":"byte","b":[3,2,6,6,5,1,1,0]},{"a":54272,"t":"byte","b":[112,207,63,254,230,247,189,189]},{"a":54280,"t":"byte","b":[64,128,192,64,128,192,192,192]},{"a":54288,"t":"byte","b":[0,0,0,0,1,7,30,57]},{"a":54296,"t":"byte","b":[223,125,185,63,206,224,121,127]},{"a":54304,"t":"byte","b":[192,188,191,115,252,255,255,255]},{"a":54312,"t":"byte","b":[224,128,0,0,0,1,1,3]},{"a":54320,"t":"byte","b":[0,127,64,68,14,28,56,127]},{"a":54328,"t":"byte","b":[0,255,0,0,0,0,0,255]},{"a":54336,"t":"byte","b":[0,254,2,2,2,2,2,242]},{"a":54344,"t":"byte","b":[127,56,28,14,68,64,127,0]},{"a":54352,"t":"byte","b":[255,0,0,0,0,0,255,0]},{"a":54360,"t":"byte","b":[242,2,2,2,2,2,254,0]},{"a":54368,"t":"byte","b":[0,4,10,8,10,6,0,0]},{"a":54376,"t":"byte","b":[0,73,175,169,233,169,0,0]},{"a":54384,"t":"byte","b":[0,112,64,96,64,112,0,0]},{"a":54392,"t":"byte","b":[7,1,0,0,25,0,127,0]},{"a":54400,"t":"byte","b":[255,255,126,24,129,24,255,0]},{"a":54408,"t":"byte","b":[224,128,0,0,152,0,254,0]},{"a":54416,"t":"byte","b":[0,12,18,18,20,8,16,44]},{"a":54424,"t":"byte","b":[0,16,56,124,254,0,16,24]},{"a":54432,"t":"byte","b":[0,32,32,32,40,60,44,36]},{"a":54440,"t":"byte","b":[82,73,65,34,28,0,24,0]},{"a":54448,"t":"byte","b":[24,20,16,16,48,112,96,0]},{"a":54456,"t":"byte","b":[40,48,0,254,124,56,16,0]},{"a":54464,"t":"byte","b":[0,0,2,3,2,2,2,0]},{"a":54472,"t":"byte","b":[0,0,186,162,178,163,186,0]},{"a":54480,"t":"byte","b":[0,0,64,64,64,192,64,0]},{"a":54488,"t":"byte","b":[0,0,49,42,50,35,34,0]},{"a":54496,"t":"byte","b":[0,0,41,170,169,168,147,0]},{"a":54504,"t":"byte","b":[0,0,156,16,152,80,156,0]},{"a":54512,"t":"byte","b":[0,0,2,2,2,2,1,0]},{"a":54520,"t":"byte","b":[0,0,153,161,153,133,57,0]},{"a":54528,"t":"byte","b":[0,0,192,0,128,0,192,0]},{"a":54536,"t":"byte","b":[0,5,4,4,4,4,0,0]},{"a":54544,"t":"byte","b":[0,221,145,153,145,157,0,0]},{"a":54552,"t":"byte","b":[0,32,224,32,32,32,0,0]},{"a":54560,"t":"byte","b":[0,63,47,46,61,59,59,61]},{"a":54568,"t":"byte","b":[0,252,244,124,188,92,92,188]},{"a":54576,"t":"byte","b":[62,63,56,55,53,55,0,0]},{"a":54584,"t":"byte","b":[124,252,28,236,236,236,0,0]},{"a":54592,"t":"byte","b":[0,4,4,12,12,28,28,60]},{"a":54600,"t":"byte","b":[60,28,28,12,12,4,4,0]},{"a":54608,"t":"byte","b":[0,32,32,48,48,56,56,60]},{"a":54616,"t":"byte","b":[0,0,0,14,31,25,55,52]},{"a":54624,"t":"byte","b":[60,25,25,25,49,64,0,0]},{"a":54632,"t":"byte","b":[0,0,0,0,0,128,128,224]},{"a":54640,"t":"byte","b":[0,0,0,0,14,191,127,255]},{"a":54648,"t":"byte","b":[255,255,255,252,253,159,127,95]},{"a":54656,"t":"byte","b":[55,15,6,2,1,6,31,63]},{"a":54664,"t":"byte","b":[7,1,1,0,0,128,192,192]},{"a":54672,"t":"byte","b":[224,144,176,216,232,216,232,152]},{"a":54680,"t":"byte","b":[241,203,251,251,247,11,243,255]},{"a":54688,"t":"byte","b":[254,253,255,254,253,159,127,95]},{"a":54696,"t":"byte","b":[55,15,6,3,3,5,26,61]},{"a":54704,"t":"byte","b":[224,208,176,208,232,216,232,200]},{"a":54712,"t":"byte","b":[200,243,197,117,117,235,107,139]},{"a":54720,"l":"text_vars","c":"The conversation window's printing: $D5C0 which half of a byte the next letter goes in, $D5C1 the line, $D5C2 the speaker.","t":"byte","b":[0,0,0],"x":[55323,55386,55391,59874,59930]},{"a":54723,"l":"needs","c":"Each character's eight need bytes ($FF at the start): +0 strength, +1 energy, +2 water, +3 food, +4 ammunition, +6 patience; the panel shows the leader's ($8CB6).","t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":54731,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":54739,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":54747,"t":"byte","b":[255,255,255,255,255,255,255,255]},{"a":54755,"l":"need_limits","c":"Each character's limits for the need bytes: below a limit by more than 32 a character must rest ($D70A), and 32 and 16 above it he or she complains ($D69A). Jarret's are $60, Gloria's $80, Dirk's $70 and Clive's $A0 (the first to complain); patience $D7 for Gloria, $D8 for Dirk, $D6 for Clive and none for Jarret.","t":"byte","b":[96,96,96,96,96,96,0,96]},{"a":54763,"t":"byte","b":[224,128,128,128,255,255,215,224]},{"a":54771,"t":"byte","b":[255,112,112,112,255,255,216,96]},{"a":54779,"t":"byte","b":[255,160,160,160,160,255,214,160]},{"a":54787,"l":"needs_pass","c":"Every 32 passes, for each of the party who is up (state under 8): energy rises while standing (twice as fast while resting) and falls while moving (messages $15 tired, $16 very tired); water and food fall (messages $17, $18 and $19, $1A); patience falls while the leader rests and the character is not hungry (messages $1B, $1C), and rises otherwise.","t":"code","b":[58,28,141],"m":"ld","oa":36124,"o":"a,($8D1C)"},{"a":54790,"t":"code","b":[230,31],"m":"and","o":"$1F"},{"a":54792,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":54793,"t":"code","b":[33,0,131],"m":"ld","o":"hl,$8300"},{"a":54796,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[54815]},{"a":54797,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":54799,"t":"code","b":[48,10],"m":"jr","oa":54811,"o":"nc,$D61B"},{"a":54801,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":54802,"t":"code","b":[229],"m":"push","o":"hl"},{"a":54803,"t":"code","b":[44],"m":"inc","o":"l"},{"a":54804,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":54805,"t":"code","b":[254,8],"m":"cp","o":"$08"},{"a":54807,"t":"code","b":[220,35,214],"m":"call","oa":54819,"o":"c,$D623"},{"a":54810,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":54811,"t":"code","b":[125],"m":"ld","o":"a,l","x":[54799]},{"a":54812,"t":"code","b":[198,32],"m":"add","o":"a,$20"},{"a":54814,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":54815,"t":"code","b":[210,12,214],"m":"jp","oa":54796,"o":"nc,$D60C"},{"a":54818,"t":"code","b":[201],"m":"ret"},{"a":54819,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[54807]},{"a":54820,"t":"code","b":[217],"m":"exx"},{"a":54821,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":54822,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":54823,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":54824,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":54825,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":54826,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":54827,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":54828,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":54830,"t":"code","b":[33,228,213],"m":"ld","o":"hl,$D5E4"},{"a":54833,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":54834,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":54835,"t":"code","b":[33,196,213],"m":"ld","o":"hl,$D5C4"},{"a":54838,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":54839,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":54840,"t":"code","b":[6,21],"m":"ld","o":"b,$15"},{"a":54842,"t":"code","b":[217],"m":"exx"},{"a":54843,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":54844,"t":"code","b":[198,12],"m":"add","o":"a,$0C"},{"a":54846,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":54847,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":54848,"t":"code","b":[217],"m":"exx"},{"a":54849,"t":"code","b":[230,252],"m":"and","o":"$FC"},{"a":54851,"t":"code","b":[254,8],"m":"cp","o":"$08"},{"a":54853,"t":"code","b":[32,12],"m":"jr","oa":54867,"o":"nz,$D653"},{"a":54855,"t":"code","b":[217],"m":"exx"},{"a":54856,"t":"code","b":[29],"m":"dec","o":"e"},{"a":54857,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":54858,"t":"code","b":[28],"m":"inc","o":"e"},{"a":54859,"t":"code","b":[217],"m":"exx"},{"a":54860,"t":"code","b":[254,10],"m":"cp","o":"$0A"},{"a":54862,"t":"code","b":[32,2],"m":"jr","oa":54866,"o":"nz,$D652"},{"a":54864,"t":"code","b":[14,255],"m":"ld","o":"c,$FF"},{"a":54866,"t":"code","b":[175],"m":"xor","o":"a","x":[54862]},{"a":54867,"t":"code","b":[204,145,214],"m":"call","oa":54929,"o":"z,need_up","x":[54853]},{"a":54870,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":54872,"t":"code","b":[204,154,214],"m":"call","oa":54938,"o":"z,need_down"},{"a":54875,"t":"code","b":[217],"m":"exx"},{"a":54876,"t":"code","b":[29],"m":"dec","o":"e"},{"a":54877,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":54878,"t":"code","b":[217],"m":"exx"},{"a":54879,"t":"code","b":[167],"m":"and","o":"a"},{"a":54880,"t":"code","b":[204,145,214],"m":"call","oa":54929,"o":"z,need_up"},{"a":54883,"t":"code","b":[196,154,214],"m":"call","oa":54938,"o":"nz,need_down"},{"a":54886,"t":"code","b":[6,23],"m":"ld","o":"b,$17"},{"a":54888,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":54889,"t":"code","b":[19],"m":"inc","o":"de"},{"a":54890,"t":"code","b":[205,154,214],"m":"call","oa":54938,"o":"need_down"},{"a":54893,"t":"code","b":[6,25],"m":"ld","o":"b,$19"},{"a":54895,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":54896,"t":"code","b":[19],"m":"inc","o":"de"},{"a":54897,"t":"code","b":[205,154,214],"m":"call","oa":54938,"o":"need_down"},{"a":54900,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":54901,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":54902,"t":"code","b":[19],"m":"inc","o":"de"},{"a":54903,"t":"code","b":[19],"m":"inc","o":"de"},{"a":54904,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":54905,"t":"code","b":[19],"m":"inc","o":"de"},{"a":54906,"t":"code","b":[6,27],"m":"ld","o":"b,$1B"},{"a":54908,"t":"code","b":[58,13,131],"m":"ld","oa":33549,"o":"a,($830D)"},{"a":54911,"t":"code","b":[230,252],"m":"and","o":"$FC"},{"a":54913,"t":"code","b":[254,8],"m":"cp","o":"$08"},{"a":54915,"t":"code","b":[194,145,214],"m":"jp","oa":54929,"o":"nz,need_up"},{"a":54918,"t":"code","b":[229],"m":"push","o":"hl"},{"a":54919,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":54920,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":54921,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":54922,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":54923,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":54924,"t":"code","b":[254,64],"m":"cp","o":"$40"},{"a":54926,"t":"code","b":[216],"m":"ret","o":"c"},{"a":54927,"t":"code","b":[24,9],"m":"jr","oa":54938,"o":"need_down"},{"a":54929,"l":"need_up","c":"Raises the need byte at HL, to $FF at most.","t":"code","b":[8],"m":"ex","o":"af,af'","x":[54867,54880,54915]},{"a":54930,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":54931,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":54933,"t":"code","b":[40,1],"m":"jr","oa":54936,"o":"z,$D698"},{"a":54935,"t":"code","b":[52],"m":"inc","o":"(hl)"},{"a":54936,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[54933]},{"a":54937,"t":"code","b":[201],"m":"ret"},{"a":54938,"l":"need_down","c":"Lowers the need byte at HL, unless it is 0, and queues message B or B+1 for character C as it comes to 32 or 16 above its limit at DE ($FF in C for none); B comes back one more when C is not $FF.","t":"code","b":[245],"m":"push","o":"af","x":[54872,54883,54890,54897,54927]},{"a":54939,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":54940,"t":"code","b":[167],"m":"and","o":"a"},{"a":54941,"t":"code","b":[32,2],"m":"jr","oa":54945,"o":"nz,$D6A1"},{"a":54943,"t":"code","b":[241],"m":"pop","o":"af"},{"a":54944,"t":"code","b":[201],"m":"ret"},{"a":54945,"t":"code","b":[53],"m":"dec","o":"(hl)","x":[54941]},{"a":54946,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":54947,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":54948,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":54950,"t":"code","b":[40,15],"m":"jr","oa":54967,"o":"z,$D6B7"},{"a":54952,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":54953,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":54954,"t":"code","b":[254,32],"m":"cp","o":"$20"},{"a":54956,"t":"code","b":[245],"m":"push","o":"af"},{"a":54957,"t":"code","b":[204,41,140],"m":"call","oa":35881,"o":"z,queue_message"},{"a":54960,"t":"code","b":[4],"m":"inc","o":"b"},{"a":54961,"t":"code","b":[241],"m":"pop","o":"af"},{"a":54962,"t":"code","b":[254,16],"m":"cp","o":"$10"},{"a":54964,"t":"code","b":[204,41,140],"m":"call","oa":35881,"o":"z,queue_message"},{"a":54967,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[54950]},{"a":54968,"t":"code","b":[241],"m":"pop","o":"af"},{"a":54969,"t":"code","b":[201],"m":"ret"},{"a":54970,"l":"runner_noise","c":"For an actor of type $27 to $2C: sound effect $10 every fourth pass, and a walk (1 to 4) turned into its running form (6 to 9).","t":"code","b":[254,45],"m":"cp","o":"$2D","x":[55053]},{"a":54972,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":54973,"t":"code","b":[58,28,141],"m":"ld","oa":36124,"o":"a,($8D1C)"},{"a":54976,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":54978,"t":"code","b":[32,5],"m":"jr","oa":54985,"o":"nz,$D6C9"},{"a":54980,"t":"code","b":[62,16],"m":"ld","o":"a,$10"},{"a":54982,"t":"code","b":[50,6,112],"m":"ld","oa":28678,"o":"($7006),a"},{"a":54985,"t":"code","b":[125],"m":"ld","o":"a,l","x":[54978]},{"a":54986,"t":"code","b":[198,13],"m":"add","o":"a,$0D"},{"a":54988,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":54989,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":54990,"t":"code","b":[254,12],"m":"cp","o":"$0C"},{"a":54992,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":54993,"t":"code","b":[45],"m":"dec","o":"l"},{"a":54994,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":54995,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":54997,"t":"code","b":[200],"m":"ret","o":"z"},{"a":54998,"t":"code","b":[254,5],"m":"cp","o":"$05"},{"a":55000,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":55001,"t":"code","b":[198,5],"m":"add","o":"a,$05"},{"a":55003,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":55004,"t":"code","b":[201],"m":"ret"},{"a":55005,"l":"thirst_starve","c":"Every 32 passes: Jarret's energy falls by two more when he has no water and by one when he has no food; at 0 he dies (action $8B, state $48).","t":"code","b":[58,28,141],"m":"ld","oa":36124,"o":"a,($8D1C)"},{"a":55008,"t":"code","b":[230,31],"m":"and","o":"$1F"},{"a":55010,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":55011,"t":"code","b":[33,196,213],"m":"ld","o":"hl,$D5C4"},{"a":55014,"t":"code","b":[58,197,213],"m":"ld","oa":54725,"o":"a,($D5C5)"},{"a":55017,"t":"code","b":[167],"m":"and","o":"a"},{"a":55018,"t":"code","b":[32,9],"m":"jr","oa":55029,"o":"nz,$D6F5"},{"a":55020,"t":"code","b":[182],"m":"or","o":"(hl)"},{"a":55021,"t":"code","b":[40,16],"m":"jr","oa":55039,"o":"z,$D6FF"},{"a":55023,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":55024,"t":"code","b":[40,13],"m":"jr","oa":55039,"o":"z,$D6FF"},{"a":55026,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":55027,"t":"code","b":[40,10],"m":"jr","oa":55039,"o":"z,$D6FF"},{"a":55029,"t":"code","b":[58,198,213],"m":"ld","oa":54726,"o":"a,($D5C6)","x":[55018]},{"a":55032,"t":"code","b":[167],"m":"and","o":"a"},{"a":55033,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":55034,"t":"code","b":[182],"m":"or","o":"(hl)"},{"a":55035,"t":"code","b":[40,2],"m":"jr","oa":55039,"o":"z,$D6FF"},{"a":55037,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":55038,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":55039,"t":"code","b":[62,139],"m":"ld","o":"a,$8B","x":[55021,55024,55027,55035]},{"a":55041,"t":"code","b":[50,12,131],"m":"ld","oa":33548,"o":"($830C),a"},{"a":55044,"t":"code","b":[62,72],"m":"ld","o":"a,$48"},{"a":55046,"t":"code","b":[50,1,131],"m":"ld","oa":33537,"o":"($8301),a"},{"a":55049,"t":"code","b":[201],"m":"ret"},{"a":55050,"l":"needs_check","c":"For each of the party who is up (state under 2): no strength left means death ($D78C); below the limit by more than 32 he or she sits down to rest (message 5, action $8A); no water or no food costs strength; patience above its limit makes him or her follow (state 1), and more than two below it he or she leaves the party (message 6, $D795).","t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[57110]},{"a":55051,"t":"code","b":[254,39],"m":"cp","o":"$27"},{"a":55053,"t":"code","b":[210,186,214],"m":"jp","oa":54970,"o":"nc,runner_noise"},{"a":55056,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":55058,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":55059,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":55060,"t":"code","b":[44],"m":"inc","o":"l"},{"a":55061,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":55062,"t":"code","b":[230,31],"m":"and","o":"$1F"},{"a":55064,"t":"code","b":[254,2],"m":"cp","o":"$02"},{"a":55066,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":55067,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":55068,"t":"code","b":[198,12],"m":"add","o":"a,$0C"},{"a":55070,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":55071,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":55072,"t":"code","b":[217],"m":"exx"},{"a":55073,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55074,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55075,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55076,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":55077,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":55079,"t":"code","b":[33,196,213],"m":"ld","o":"hl,$D5C4"},{"a":55082,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":55083,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":55084,"t":"code","b":[33,228,213],"m":"ld","o":"hl,$D5E4"},{"a":55087,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":55088,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":55089,"t":"code","b":[167],"m":"and","o":"a"},{"a":55090,"t":"code","b":[202,140,215],"m":"jp","oa":55180,"o":"z,$D78C"},{"a":55093,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":55094,"t":"code","b":[48,30],"m":"jr","oa":55126,"o":"nc,$D756"},{"a":55096,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":55097,"t":"code","b":[217],"m":"exx"},{"a":55098,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":55099,"t":"code","b":[45],"m":"dec","o":"l"},{"a":55100,"t":"code","b":[230,252],"m":"and","o":"$FC"},{"a":55102,"t":"code","b":[254,8],"m":"cp","o":"$08"},{"a":55104,"t":"code","b":[62,128],"m":"ld","o":"a,$80"},{"a":55106,"t":"code","b":[40,15],"m":"jr","oa":55123,"o":"z,$D753"},{"a":55108,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":55109,"t":"code","b":[254,224],"m":"cp","o":"$E0"},{"a":55111,"t":"code","b":[48,11],"m":"jr","oa":55124,"o":"nc,$D754"},{"a":55113,"t":"code","b":[253,78,0],"m":"ld","o":"c,(iy+$00)"},{"a":55116,"t":"code","b":[6,5],"m":"ld","o":"b,$05"},{"a":55118,"t":"code","b":[205,41,140],"m":"call","oa":35881,"o":"queue_message"},{"a":55121,"t":"code","b":[62,138],"m":"ld","o":"a,$8A"},{"a":55123,"t":"code","b":[119],"m":"ld","o":"(hl),a","x":[55106]},{"a":55124,"t":"code","b":[44],"m":"inc","o":"l","x":[55111]},{"a":55125,"t":"code","b":[217],"m":"exx"},{"a":55126,"t":"code","b":[35],"m":"inc","o":"hl","x":[55094]},{"a":55127,"t":"code","b":[19],"m":"inc","o":"de"},{"a":55128,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":55129,"t":"code","b":[167],"m":"and","o":"a"},{"a":55130,"t":"code","b":[32,9],"m":"jr","oa":55141,"o":"nz,$D765"},{"a":55132,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":55133,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":55134,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":55135,"t":"code","b":[167],"m":"and","o":"a"},{"a":55136,"t":"code","b":[40,1],"m":"jr","oa":55139,"o":"z,$D763"},{"a":55138,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":55139,"t":"code","b":[35],"m":"inc","o":"hl","x":[55136]},{"a":55140,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":55141,"t":"code","b":[35],"m":"inc","o":"hl","x":[55130]},{"a":55142,"t":"code","b":[19],"m":"inc","o":"de"},{"a":55143,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":55144,"t":"code","b":[167],"m":"and","o":"a"},{"a":55145,"t":"code","b":[32,11],"m":"jr","oa":55158,"o":"nz,$D776"},{"a":55147,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":55148,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":55149,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":55150,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":55151,"t":"code","b":[167],"m":"and","o":"a"},{"a":55152,"t":"code","b":[40,1],"m":"jr","oa":55155,"o":"z,$D773"},{"a":55154,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":55155,"t":"code","b":[35],"m":"inc","o":"hl","x":[55152]},{"a":55156,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":55157,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":55158,"t":"code","b":[35],"m":"inc","o":"hl","x":[55145]},{"a":55159,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":55160,"t":"code","b":[19],"m":"inc","o":"de"},{"a":55161,"t":"code","b":[19],"m":"inc","o":"de"},{"a":55162,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":55163,"t":"code","b":[19],"m":"inc","o":"de"},{"a":55164,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":55165,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":55166,"t":"code","b":[48,7],"m":"jr","oa":55175,"o":"nc,$D787"},{"a":55168,"t":"code","b":[254,254],"m":"cp","o":"$FE"},{"a":55170,"t":"code","b":[218,149,215],"m":"jp","oa":55189,"o":"c,leave_party"},{"a":55173,"t":"code","b":[24,4],"m":"jr","oa":55179,"o":"$D78B"},{"a":55175,"t":"code","b":[253,54,1,1],"m":"ld","o":"(iy+$01),$01","x":[55166]},{"a":55179,"t":"code","b":[201],"m":"ret","x":[55173]},{"a":55180,"t":"code","b":[253,54,12,139],"m":"ld","o":"(iy+$0C),$8B","x":[55090]},{"a":55184,"t":"code","b":[253,54,1,72],"m":"ld","o":"(iy+$01),$48"},{"a":55188,"t":"code","b":[201],"m":"ret"},{"a":55189,"l":"leave_party","c":"A character gives up and goes his or her own way: message 6 for the leader, the area's place to head for from $DB07 ($E253), state 0.","t":"code","b":[253,229],"m":"push","o":"iy","x":[55170]},{"a":55191,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":55192,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":55193,"t":"code","b":[44],"m":"inc","o":"l"},{"a":55194,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":55195,"t":"code","b":[167],"m":"and","o":"a"},{"a":55196,"t":"code","b":[200],"m":"ret","o":"z"},{"a":55197,"t":"code","b":[229],"m":"push","o":"hl"},{"a":55198,"t":"code","b":[45],"m":"dec","o":"l"},{"a":55199,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":55200,"t":"code","b":[6,6],"m":"ld","o":"b,$06"},{"a":55202,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":55203,"t":"code","b":[254,253],"m":"cp","o":"$FD"},{"a":55205,"t":"code","b":[204,41,140],"m":"call","oa":35881,"o":"z,queue_message"},{"a":55208,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)"},{"a":55211,"t":"code","b":[33,7,219],"m":"ld","o":"hl,$DB07"},{"a":55214,"t":"code","b":[205,83,226],"m":"call","oa":57939,"o":"$E253"},{"a":55217,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":55218,"t":"code","b":[54,0],"m":"ld","o":"(hl),$00"},{"a":55220,"t":"code","b":[44],"m":"inc","o":"l"},{"a":55221,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":55222,"t":"code","b":[44],"m":"inc","o":"l"},{"a":55223,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":55224,"t":"code","b":[201],"m":"ret"},{"a":55225,"l":"next_message","c":"Once a pass with no conversation window up ($8D25 = 0): the first message queued ($8D26) is shown ($D7EC), the queue moves up, the window starts to open ($8D25 = $48) with sound effect $11 on channel C.","t":"code","b":[58,37,141],"m":"ld","oa":36133,"o":"a,($8D25)"},{"a":55228,"t":"code","b":[167],"m":"and","o":"a"},{"a":55229,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":55230,"t":"code","b":[42,57,141],"m":"ld","oa":36153,"o":"hl,($8D39)"},{"a":55233,"t":"code","b":[17,40,141],"m":"ld","o":"de,$8D28"},{"a":55236,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":55237,"t":"code","b":[187],"m":"cp","o":"e"},{"a":55238,"t":"code","b":[200],"m":"ret","o":"z"},{"a":55239,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":55240,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":55241,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":55242,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":55243,"t":"code","b":[205,236,215],"m":"call","oa":55276,"o":"show_message"},{"a":55246,"t":"code","b":[17,38,141],"m":"ld","o":"de,$8D26"},{"a":55249,"t":"code","b":[33,40,141],"m":"ld","o":"hl,$8D28"},{"a":55252,"t":"code","b":[1,16,0],"m":"ld","o":"bc,$0010"},{"a":55255,"t":"code","b":[237,176],"m":"ldir"},{"a":55257,"t":"code","b":[42,57,141],"m":"ld","oa":36153,"o":"hl,($8D39)"},{"a":55260,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":55261,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":55262,"t":"code","b":[34,57,141],"m":"ld","oa":36153,"o":"($8D39),hl"},{"a":55265,"t":"code","b":[62,72],"m":"ld","o":"a,$48"},{"a":55267,"t":"code","b":[50,37,141],"m":"ld","oa":36133,"o":"($8D25),a"},{"a":55270,"t":"code","b":[62,17],"m":"ld","o":"a,$11"},{"a":55272,"t":"code","b":[50,56,112],"m":"ld","oa":28728,"o":"($7038),a"},{"a":55275,"t":"code","b":[201],"m":"ret"},{"a":55276,"l":"show_message","c":"Fills the conversation window for message A spoken by character C: the window's column is four times the speaker, its height the message's first byte; the frame and the speaker's portrait ($D91B); then the text, two letters to a byte in the small font at $DA8A, with the control codes through $D8B1. A speaker who is not one of the party has each letter swapped for its mirror in the alphabet (A for Z, B for Y), $2C less it.","t":"code","b":[8],"m":"ex","o":"af,af'","x":[55243]},{"a":55277,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":55278,"t":"code","b":[50,194,213],"m":"ld","oa":54722,"o":"($D5C2),a"},{"a":55281,"t":"code","b":[33,24,4],"m":"ld","o":"hl,$0418"},{"a":55284,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":55286,"t":"code","b":[56,3],"m":"jr","oa":55291,"o":"c,$D7FB"},{"a":55288,"t":"code","b":[33,0,0],"m":"ld","o":"hl,$0000"},{"a":55291,"t":"code","b":[34,74,216],"m":"ld","oa":55370,"o":"($D84A),hl","x":[55286]},{"a":55294,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55295,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55296,"t":"code","b":[50,128,170],"m":"ld","oa":43648,"o":"($AA80),a"},{"a":55299,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":55300,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55301,"t":"code","b":[33,125,123],"m":"ld","o":"hl,$7B7D"},{"a":55304,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":55305,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":55306,"t":"code","b":[48,1],"m":"jr","oa":55309,"o":"nc,$D80D"},{"a":55308,"t":"code","b":[36],"m":"inc","o":"h"},{"a":55309,"t":"code","b":[94],"m":"ld","o":"e,(hl)","x":[55306]},{"a":55310,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":55311,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":55312,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":55313,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":55314,"t":"code","b":[17,132,170],"m":"ld","o":"de,$AA84"},{"a":55317,"t":"code","b":[237,160],"m":"ldi"},{"a":55319,"t":"code","b":[229],"m":"push","o":"hl"},{"a":55320,"t":"code","b":[33,1,1],"m":"ld","o":"hl,$0101"},{"a":55323,"t":"code","b":[34,192,213],"m":"ld","oa":54720,"o":"(text_vars),hl"},{"a":55326,"t":"code","b":[33,126,170],"m":"ld","o":"hl,$AA7E"},{"a":55329,"t":"code","b":[205,235,202],"m":"call","oa":51947,"o":"copy_window"},{"a":55332,"t":"code","b":[205,27,217],"m":"call","oa":55579,"o":"message_frame"},{"a":55335,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":55336,"t":"code","b":[58,117,170],"m":"ld","oa":43637,"o":"a,($AA75)"},{"a":55339,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55340,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55341,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55342,"t":"code","b":[198,5],"m":"add","o":"a,$05"},{"a":55344,"t":"code","b":[17,165,97],"m":"ld","o":"de,$61A5"},{"a":55347,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":55348,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":55349,"t":"code","b":[48,1],"m":"jr","oa":55352,"o":"nc,$D838"},{"a":55351,"t":"code","b":[20],"m":"inc","o":"d"},{"a":55352,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[55349,55419,55445,55471,55496,55536,59877,59936]},{"a":55353,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":55355,"t":"code","b":[200],"m":"ret","o":"z"},{"a":55356,"t":"code","b":[167],"m":"and","o":"a"},{"a":55357,"t":"code","b":[250,151,216],"m":"jp","oa":55447,"o":"m,$D897"},{"a":55360,"t":"code","b":[213],"m":"push","o":"de"},{"a":55361,"t":"code","b":[217],"m":"exx"},{"a":55362,"t":"code","b":[209],"m":"pop","o":"de"},{"a":55363,"t":"code","b":[167],"m":"and","o":"a"},{"a":55364,"t":"code","b":[40,10],"m":"jr","oa":55376,"o":"z,print_letter"},{"a":55366,"t":"code","b":[254,35],"m":"cp","o":"$23"},{"a":55368,"t":"code","b":[40,6],"m":"jr","oa":55376,"o":"z,print_letter"},{"a":55370,"t":"code","b":[24,4],"m":"jr","oa":55376,"o":"print_letter","x":[55291]},{"a":55372,"l":"mirror_letters","c":"NEG and ADD A,$2C, reached only when $D84A holds no jump (a speaker who is not one of the party).","t":"byte","b":[237,68,198,44]},{"a":55376,"l":"print_letter","c":"Prints one letter of the small font into the conversation window.","t":"code","b":[79],"m":"ld","o":"c,a","x":[55364,55368,55370]},{"a":55377,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":55379,"t":"code","b":[33,138,218],"m":"ld","o":"hl,$DA8A"},{"a":55382,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":55383,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":55384,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":55385,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":55386,"t":"code","b":[58,192,213],"m":"ld","oa":54720,"o":"a,(text_vars)"},{"a":55389,"t":"code","b":[238,1],"m":"xor","o":"$01"},{"a":55391,"t":"code","b":[50,192,213],"m":"ld","oa":54720,"o":"(text_vars),a"},{"a":55394,"t":"code","b":[32,25],"m":"jr","oa":55421,"o":"nz,$D87D"},{"a":55396,"t":"code","b":[6,3],"m":"ld","o":"b,$03"},{"a":55398,"t":"code","b":[26],"m":"ld","o":"a,(de)","x":[55415]},{"a":55399,"t":"code","b":[230,240],"m":"and","o":"$F0"},{"a":55401,"t":"code","b":[205,18,217],"m":"call","oa":55570,"o":"or_letter_row"},{"a":55404,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":55405,"t":"code","b":[23],"m":"rla"},{"a":55406,"t":"code","b":[23],"m":"rla"},{"a":55407,"t":"code","b":[23],"m":"rla"},{"a":55408,"t":"code","b":[23],"m":"rla"},{"a":55409,"t":"code","b":[230,240],"m":"and","o":"$F0"},{"a":55411,"t":"code","b":[205,18,217],"m":"call","oa":55570,"o":"or_letter_row"},{"a":55414,"t":"code","b":[19],"m":"inc","o":"de"},{"a":55415,"t":"code","b":[16,237],"m":"djnz","oa":55398,"o":"$D866"},{"a":55417,"t":"code","b":[217],"m":"exx"},{"a":55418,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":55419,"t":"code","b":[24,187],"m":"jr","oa":55352,"o":"$D838"},{"a":55421,"t":"code","b":[6,3],"m":"ld","o":"b,$03","x":[55394]},{"a":55423,"t":"code","b":[26],"m":"ld","o":"a,(de)","x":[55440]},{"a":55424,"t":"code","b":[31],"m":"rra"},{"a":55425,"t":"code","b":[31],"m":"rra"},{"a":55426,"t":"code","b":[31],"m":"rra"},{"a":55427,"t":"code","b":[31],"m":"rra"},{"a":55428,"t":"code","b":[230,15],"m":"and","o":"$0F"},{"a":55430,"t":"code","b":[205,18,217],"m":"call","oa":55570,"o":"or_letter_row"},{"a":55433,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":55434,"t":"code","b":[230,15],"m":"and","o":"$0F"},{"a":55436,"t":"code","b":[205,18,217],"m":"call","oa":55570,"o":"or_letter_row"},{"a":55439,"t":"code","b":[19],"m":"inc","o":"de"},{"a":55440,"t":"code","b":[16,237],"m":"djnz","oa":55423,"o":"$D87F"},{"a":55442,"t":"code","b":[217],"m":"exx"},{"a":55443,"t":"code","b":[19],"m":"inc","o":"de"},{"a":55444,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":55445,"t":"code","b":[24,161],"m":"jr","oa":55352,"o":"$D838"},{"a":55447,"t":"code","b":[229],"m":"push","o":"hl","x":[55357]},{"a":55448,"t":"code","b":[214,248],"m":"sub","o":"$F8"},{"a":55450,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55451,"t":"code","b":[33,177,216],"m":"ld","o":"hl,$D8B1"},{"a":55454,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":55455,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":55456,"t":"code","b":[48,1],"m":"jr","oa":55459,"o":"nc,$D8A3"},{"a":55458,"t":"code","b":[36],"m":"inc","o":"h"},{"a":55459,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[55456]},{"a":55460,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":55461,"t":"code","b":[102],"m":"ld","o":"h,(hl)"},{"a":55462,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":55463,"t":"code","b":[34,171,216],"m":"ld","oa":55467,"o":"($D8AB),hl"},{"a":55466,"t":"code","b":[205,10,217],"m":"call","oa":55562,"o":"new_line_back"},{"a":55469,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":55470,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":55471,"t":"code","b":[24,135],"m":"jr","oa":55352,"o":"$D838"},{"a":55473,"l":"message_codes","c":"The control codes $F8 to $FE: $F8 the speaker's exclamation ($D8D0), $F9 nothing, $FA HE SAID when the window is at column 8 ($D8BF), $FB the name of character $8D0C ($D8CB), $FC the leader's name unless the leader speaks ($D8DA), $FD a new line four bytes (eight letters) back ($D90A), $FE a new line.","t":"word","b":[208,216,9,217,191,216,203,216],"d":[55504,55561,55487,55499]},{"a":55481,"t":"word","b":[218,216,10,217,243,216],"d":[55514,55562,55539]},{"a":55487,"l":"code_he_said","c":"$FA: prints HE SAID ($7FBF) when the window's column is 8.","t":"code","b":[58,128,170],"m":"ld","oa":43648,"o":"a,($AA80)"},{"a":55490,"t":"code","b":[254,8],"m":"cp","o":"$08"},{"a":55492,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":55493,"t":"code","b":[33,190,127],"m":"ld","o":"hl,$7FBE"},{"a":55496,"t":"code","b":[195,56,216],"m":"jp","oa":55352,"o":"$D838"},{"a":55499,"l":"code_name","c":"$FB: the name of the character in $8D0C.","t":"code","b":[58,12,141],"m":"ld","oa":36108,"o":"a,($8D0C)"},{"a":55502,"t":"code","b":[24,19],"m":"jr","oa":55523,"o":"$D8E3"},{"a":55504,"l":"code_exclamation","c":"$F8: the speaker's exclamation from $7FC6: DAMN IT for Jarret, GOSH for Gloria, HECK for Dirk, CRIKEY for Clive.","t":"code","b":[58,194,213],"m":"ld","oa":54722,"o":"a,($D5C2)"},{"a":55507,"t":"code","b":[60],"m":"inc","o":"a"},{"a":55508,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":55509,"t":"code","b":[33,197,127],"m":"ld","o":"hl,$7FC5"},{"a":55512,"t":"code","b":[24,14],"m":"jr","oa":55528,"o":"$D8E8"},{"a":55514,"l":"code_leader","c":"$FC: the leader's name ($8D0A), or nothing when the leader is the speaker; the B-th name from $7FA1 ($D8E3).","t":"code","b":[58,194,213],"m":"ld","oa":54722,"o":"a,($D5C2)"},{"a":55517,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":55518,"t":"code","b":[58,10,141],"m":"ld","oa":36106,"o":"a,($8D0A)"},{"a":55521,"t":"code","b":[184],"m":"cp","o":"b"},{"a":55522,"t":"code","b":[200],"m":"ret","o":"z"},{"a":55523,"t":"code","b":[60],"m":"inc","o":"a","x":[55502,59955]},{"a":55524,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":55525,"t":"code","b":[33,160,127],"m":"ld","o":"hl,$7FA0"},{"a":55528,"t":"code","b":[62,255],"m":"ld","o":"a,$FF","x":[55512]},{"a":55530,"t":"code","b":[190],"m":"cp","o":"(hl)","x":[55532,55534]},{"a":55531,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":55532,"t":"code","b":[32,252],"m":"jr","oa":55530,"o":"nz,$D8EA"},{"a":55534,"t":"code","b":[16,250],"m":"djnz","oa":55530,"o":"$D8EA"},{"a":55536,"t":"code","b":[195,56,216],"m":"jp","oa":55352,"o":"$D838"},{"a":55539,"l":"new_line","c":"$FE: the next line of the window, 12 bytes across, eight rows down.","t":"code","b":[33,192,213],"m":"ld","o":"hl,$D5C0","x":[55562]},{"a":55542,"t":"code","b":[54,1],"m":"ld","o":"(hl),$01"},{"a":55544,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":55545,"t":"code","b":[52],"m":"inc","o":"(hl)"},{"a":55546,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":55547,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55548,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55549,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55550,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":55551,"t":"code","b":[62,12],"m":"ld","o":"a,$0C"},{"a":55553,"t":"code","b":[205,93,170],"m":"call","oa":43613,"o":"multiply"},{"a":55556,"t":"code","b":[17,170,97],"m":"ld","o":"de,$61AA"},{"a":55559,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":55560,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":55561,"t":"code","b":[201],"m":"ret"},{"a":55562,"l":"new_line_back","c":"$FD: a new line, then four bytes back.","t":"code","b":[205,243,216],"m":"call","oa":55539,"o":"new_line","x":[55466]},{"a":55565,"t":"code","b":[27],"m":"dec","o":"de"},{"a":55566,"t":"code","b":[27],"m":"dec","o":"de"},{"a":55567,"t":"code","b":[27],"m":"dec","o":"de"},{"a":55568,"t":"code","b":[27],"m":"dec","o":"de"},{"a":55569,"t":"code","b":[201],"m":"ret"},{"a":55570,"l":"or_letter_row","c":"ORs a row of a letter into the window and steps 12 bytes down.","t":"code","b":[182],"m":"or","o":"(hl)","x":[55401,55411,55430,55436]},{"a":55571,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":55572,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":55573,"t":"code","b":[198,12],"m":"add","o":"a,$0C"},{"a":55575,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":55576,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":55577,"t":"code","b":[36],"m":"inc","o":"h"},{"a":55578,"t":"code","b":[201],"m":"ret"},{"a":55579,"l":"message_frame","c":"The conversation window's frame and the speaker's portrait (from $D1DC) into the lists at $DA0D, made as tall as the window; drawn into $61A5 ($D9AB) and the colours into $64A5.","t":"code","b":[135],"m":"add","o":"a,a","x":[55332]},{"a":55580,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":55581,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55582,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55583,"t":"code","b":[129],"m":"add","o":"a,c"},{"a":55584,"t":"code","b":[33,220,209],"m":"ld","o":"hl,$D1DC"},{"a":55587,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":55588,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":55589,"t":"code","b":[48,1],"m":"jr","oa":55592,"o":"nc,$D928"},{"a":55591,"t":"code","b":[36],"m":"inc","o":"h"},{"a":55592,"t":"code","b":[35],"m":"inc","o":"hl","x":[55589]},{"a":55593,"t":"code","b":[17,80,218],"m":"ld","o":"de,$DA50"},{"a":55596,"t":"code","b":[1,3,0],"m":"ld","o":"bc,$0003"},{"a":55599,"t":"code","b":[237,176],"m":"ldir"},{"a":55601,"t":"code","b":[14,3],"m":"ld","o":"c,$03"},{"a":55603,"t":"code","b":[17,89,218],"m":"ld","o":"de,$DA59"},{"a":55606,"t":"code","b":[237,176],"m":"ldir"},{"a":55608,"t":"code","b":[17,97,218],"m":"ld","o":"de,$DA61"},{"a":55611,"t":"code","b":[14,3],"m":"ld","o":"c,$03"},{"a":55613,"t":"code","b":[237,176],"m":"ldir"},{"a":55615,"t":"code","b":[58,118,170],"m":"ld","oa":43638,"o":"a,($AA76)"},{"a":55618,"t":"code","b":[214,6],"m":"sub","o":"$06"},{"a":55620,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":55622,"t":"code","b":[217],"m":"exx"},{"a":55623,"t":"code","b":[17,45,218],"m":"ld","o":"de,$DA2D"},{"a":55626,"t":"code","b":[217],"m":"exx"},{"a":55627,"t":"code","b":[17,113,218],"m":"ld","o":"de,$DA71"},{"a":55630,"t":"code","b":[202,103,217],"m":"jp","oa":55655,"o":"z,$D967"},{"a":55633,"t":"code","b":[33,76,218],"m":"ld","o":"hl,$DA4C","x":[55652]},{"a":55636,"t":"code","b":[1,4,0],"m":"ld","o":"bc,$0004"},{"a":55639,"t":"code","b":[237,176],"m":"ldir"},{"a":55641,"t":"code","b":[217],"m":"exx"},{"a":55642,"t":"code","b":[33,69,218],"m":"ld","o":"hl,$DA45"},{"a":55645,"t":"code","b":[1,4,0],"m":"ld","o":"bc,$0004"},{"a":55648,"t":"code","b":[237,176],"m":"ldir"},{"a":55650,"t":"code","b":[217],"m":"exx"},{"a":55651,"t":"code","b":[61],"m":"dec","o":"a"},{"a":55652,"t":"code","b":[194,81,217],"m":"jp","oa":55633,"o":"nz,$D951"},{"a":55655,"t":"code","b":[33,60,218],"m":"ld","o":"hl,$DA3C","x":[55630]},{"a":55658,"t":"code","b":[1,9,0],"m":"ld","o":"bc,$0009"},{"a":55661,"t":"code","b":[237,176],"m":"ldir"},{"a":55663,"t":"code","b":[217],"m":"exx"},{"a":55664,"t":"code","b":[33,69,218],"m":"ld","o":"hl,$DA45"},{"a":55667,"t":"code","b":[1,7,0],"m":"ld","o":"bc,$0007"},{"a":55670,"t":"code","b":[237,176],"m":"ldir"},{"a":55672,"t":"code","b":[1,8,12],"m":"ld","o":"bc,$0C08"},{"a":55675,"t":"code","b":[33,80,218],"m":"ld","o":"hl,$DA50"},{"a":55678,"t":"code","b":[17,165,97],"m":"ld","o":"de,$61A5"},{"a":55681,"t":"code","b":[205,171,217],"m":"call","oa":55723,"o":"$D9AB"},{"a":55684,"t":"code","b":[62,3],"m":"ld","o":"a,$03"},{"a":55686,"t":"code","b":[50,130,170],"m":"ld","oa":43650,"o":"($AA82),a"},{"a":55689,"t":"code","b":[33,13,218],"m":"ld","o":"hl,$DA0D"},{"a":55692,"t":"code","b":[17,165,100],"m":"ld","o":"de,$64A5"},{"a":55695,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[55714]},{"a":55696,"t":"code","b":[167],"m":"and","o":"a"},{"a":55697,"t":"code","b":[200],"m":"ret","o":"z"},{"a":55698,"t":"code","b":[6,1],"m":"ld","o":"b,$01"},{"a":55700,"t":"code","b":[254,128],"m":"cp","o":"$80"},{"a":55702,"t":"code","b":[56,5],"m":"jr","oa":55709,"o":"c,$D99D"},{"a":55704,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":55706,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":55707,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":55708,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":55709,"t":"code","b":[18],"m":"ld","o":"(de),a","x":[55702,55711]},{"a":55710,"t":"code","b":[19],"m":"inc","o":"de"},{"a":55711,"t":"code","b":[16,252],"m":"djnz","oa":55709,"o":"$D99D"},{"a":55713,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":55714,"t":"code","b":[24,235],"m":"jr","oa":55695,"o":"$D98F"},{"a":55716,"l":"frame_count","c":"The repeat count while a frame list is drawn.","t":"byte","b":[0],"x":[55724,55750,55761,55769]},{"a":55717,"l":"draw_menu_frame","c":"Draws the menu frame list at $D0E2 into the menu buffer at $5B00, B characters across by C rows ($D9AB with other lists).","t":"code","b":[33,226,208],"m":"ld","o":"hl,$D0E2","x":[52907,59779]},{"a":55720,"t":"code","b":[17,0,91],"m":"ld","o":"de,$5B00"},{"a":55723,"t":"code","b":[175],"m":"xor","o":"a","x":[55681]},{"a":55724,"t":"code","b":[50,164,217],"m":"ld","oa":55716,"o":"(frame_count),a"},{"a":55727,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":55728,"t":"code","b":[50,255,217],"m":"ld","oa":55807,"o":"($D9FF),a"},{"a":55731,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55732,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55733,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":55734,"t":"code","b":[144],"m":"sub","o":"b"},{"a":55735,"t":"code","b":[50,229,217],"m":"ld","oa":55781,"o":"($D9E5),a"},{"a":55738,"t":"code","b":[197],"m":"push","o":"bc","x":[55789]},{"a":55739,"t":"code","b":[197],"m":"push","o":"bc","x":[55778]},{"a":55740,"t":"code","b":[213],"m":"push","o":"de"},{"a":55741,"t":"code","b":[229],"m":"push","o":"hl"},{"a":55742,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":55743,"t":"code","b":[203,127],"m":"bit","o":"7,a"},{"a":55745,"t":"code","b":[40,10],"m":"jr","oa":55757,"o":"z,$D9CD"},{"a":55747,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":55749,"t":"code","b":[61],"m":"dec","o":"a"},{"a":55750,"t":"code","b":[50,164,217],"m":"ld","oa":55716,"o":"(frame_count),a"},{"a":55753,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":55754,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":55755,"t":"code","b":[229],"m":"push","o":"hl"},{"a":55756,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":55757,"t":"code","b":[205,241,217],"m":"call","oa":55793,"o":"draw_menu_char","x":[55745]},{"a":55760,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":55761,"t":"code","b":[58,164,217],"m":"ld","oa":55716,"o":"a,(frame_count)"},{"a":55764,"t":"code","b":[167],"m":"and","o":"a"},{"a":55765,"t":"code","b":[202,222,217],"m":"jp","oa":55774,"o":"z,$D9DE"},{"a":55768,"t":"code","b":[61],"m":"dec","o":"a"},{"a":55769,"t":"code","b":[50,164,217],"m":"ld","oa":55716,"o":"(frame_count),a"},{"a":55772,"t":"code","b":[24,1],"m":"jr","oa":55775,"o":"$D9DF"},{"a":55774,"t":"code","b":[35],"m":"inc","o":"hl","x":[55765]},{"a":55775,"t":"code","b":[209],"m":"pop","o":"de","x":[55772]},{"a":55776,"t":"code","b":[19],"m":"inc","o":"de"},{"a":55777,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":55778,"t":"code","b":[16,215],"m":"djnz","oa":55739,"o":"$D9BB"},{"a":55780,"t":"code","b":[62,84],"m":"ld","o":"a,$54"},{"a":55782,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":55783,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":55784,"t":"code","b":[48,1],"m":"jr","oa":55787,"o":"nc,$D9EB"},{"a":55786,"t":"code","b":[20],"m":"inc","o":"d"},{"a":55787,"t":"code","b":[193],"m":"pop","o":"bc","x":[55784]},{"a":55788,"t":"code","b":[13],"m":"dec","o":"c"},{"a":55789,"t":"code","b":[194,186,217],"m":"jp","oa":55738,"o":"nz,$D9BA"},{"a":55792,"t":"code","b":[201],"m":"ret"},{"a":55793,"l":"draw_menu_char","c":"Draws character A of $D218 into a buffer, eight rows a width apart.","t":"code","b":[111],"m":"ld","o":"l,a","x":[53262,55757]},{"a":55794,"t":"code","b":[38,0],"m":"ld","o":"h,$00"},{"a":55796,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":55797,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":55798,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":55799,"t":"code","b":[1,24,210],"m":"ld","o":"bc,$D218"},{"a":55802,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":55803,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":55804,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":55806,"t":"code","b":[14,0],"m":"ld","o":"c,$00"},{"a":55808,"t":"code","b":[62,8],"m":"ld","o":"a,$08"},{"a":55810,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[55817]},{"a":55811,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":55812,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":55813,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":55814,"t":"code","b":[19],"m":"inc","o":"de"},{"a":55815,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":55816,"t":"code","b":[61],"m":"dec","o":"a"},{"a":55817,"t":"code","b":[194,2,218],"m":"jp","oa":55810,"o":"nz,$DA02"},{"a":55820,"t":"code","b":[201],"m":"ret"},{"a":55821,"l":"message_lists","c":"The conversation window's lists: its colours, a count with bit 7 before a repeated byte, then its frame and portrait characters, filled in by $D91B.","t":"byte","b":[7,7,7,4,60,134,60,4]},{"a":55829,"t":"byte","b":[7,7,7,4,60,134,56,4]},{"a":55837,"t":"byte","b":[7,7,7,4,60,134,56,4]},{"a":55845,"t":"byte","b":[4,4,4,4,60,134,56,4]},{"a":55853,"t":"byte","b":[60,138,56,4,60,138,56,4]},{"a":55861,"t":"byte","b":[60,138,56,4,140,4,0,25]},{"a":55869,"t":"byte","b":[137,0,27,15,18,138,17,16]},{"a":55877,"t":"byte","b":[60,138,56,4,140,4,0,19]},{"a":55885,"t":"byte","b":[138,0,15,0,0,0,12,28]},{"a":55893,"t":"byte","b":[133,13,26,14,0,0,0,24]},{"a":55901,"t":"byte","b":[39,134,0,15,0,0,0,23]},{"a":55909,"t":"byte","b":[39,134,0,15,20,21,21,22]},{"a":55917,"t":"byte","b":[39,134,0,15,38,138,0,15]},{"a":55925,"t":"byte","b":[19,138,0,15,19,138,0,15]},{"a":55933,"t":"byte","b":[19,138,0,15,25,137,0,27]},{"a":55941,"t":"byte","b":[15,18,138,7,16]},{"a":55946,"l":"small_font","c":"The small font of the conversation window, letters 0 to $26 of the game's alphabet (the last, at $DAFC, the % of the end screen): three bytes each, two rows of four pixels to a byte, six rows.","t":"byte","b":[74,170,64,68,68,64,74,36]},{"a":55954,"t":"byte","b":[224,194,66,192,136,228,64,232]},{"a":55962,"t":"byte","b":[66,192,72,202,64,226,72,128]},{"a":55970,"t":"byte","b":[74,74,64,74,98,64,74,234]},{"a":55978,"t":"byte","b":[160,202,202,192,104,136,96,202]},{"a":55986,"t":"byte","b":[170,192,232,200,224,232,200,128]},{"a":55994,"t":"byte","b":[104,138,96,170,234,160,228,68]},{"a":56002,"t":"byte","b":[224,34,34,192,170,202,160,136]},{"a":56010,"t":"byte","b":[136,224,174,234,160,174,170,160]},{"a":56018,"t":"byte","b":[202,200,128,74,170,96,202,202]},{"a":56026,"t":"byte","b":[160,104,226,192,228,68,64,170]},{"a":56034,"t":"byte","b":[170,64,170,164,64,170,238,160]},{"a":56042,"t":"byte","b":[170,74,160,170,68,64,226,72]},{"a":56050,"t":"byte","b":[224,0,0,0,0,3,48,68]},{"a":56058,"t":"byte","b":[0,0,65,36,16]},{"a":56063,"l":"route_vars","c":"Places in units of four for the actors' walking: $DAFF-$DB01 the point being walked to (area, across, down), $DB02-$DB04 another, $DB05-$DB07 the leader's place (across, down, height; $DEB5) and $DB08-$DB0A the actor's being moved ($DEBD).","t":"byte","b":[0,0,0,0,0,0,0,0],"x":[57386,58334]},{"a":56071,"t":"byte","b":[0,0,0,0]},{"a":56075,"l":"area_edges","c":"After each step of the scrolling: when the view's column ($9633) or row ($9634) runs off an edge of the area, the next area of the four by four plateau becomes $8D1F (one along, or four up or down), the view is put at the opposite edge, the actors who stand on that side are carried across ($DBA8), and the new area is loaded ($87CF).","t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)","x":[62980]},{"a":56078,"t":"code","b":[245],"m":"push","o":"af"},{"a":56079,"t":"code","b":[58,51,150],"m":"ld","oa":38451,"o":"a,($9633)"},{"a":56082,"t":"code","b":[254,242],"m":"cp","o":"$F2"},{"a":56084,"t":"code","b":[56,5],"m":"jr","oa":56091,"o":"c,$DB1B"},{"a":56086,"t":"code","b":[205,86,219],"m":"call","oa":56150,"o":"$DB56"},{"a":56089,"t":"code","b":[24,5],"m":"jr","oa":56096,"o":"$DB20"},{"a":56091,"t":"code","b":[254,228],"m":"cp","o":"$E4","x":[56084]},{"a":56093,"t":"code","b":[212,67,219],"m":"call","oa":56131,"o":"nc,area_east"},{"a":56096,"t":"code","b":[58,52,150],"m":"ld","oa":38452,"o":"a,($9634)","x":[56089]},{"a":56099,"t":"code","b":[203,127],"m":"bit","o":"7,a"},{"a":56101,"t":"code","b":[40,5],"m":"jr","oa":56108,"o":"z,$DB2C"},{"a":56103,"t":"code","b":[205,136,219],"m":"call","oa":56200,"o":"$DB88"},{"a":56106,"t":"code","b":[24,5],"m":"jr","oa":56113,"o":"$DB31"},{"a":56108,"t":"code","b":[254,108],"m":"cp","o":"$6C","x":[56101]},{"a":56110,"t":"code","b":[212,117,219],"m":"call","oa":56181,"o":"nc,$DB75"},{"a":56113,"t":"code","b":[241],"m":"pop","o":"af","x":[56106]},{"a":56114,"t":"code","b":[33,31,141],"m":"ld","o":"hl,$8D1F"},{"a":56117,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":56118,"t":"code","b":[200],"m":"ret","o":"z"},{"a":56119,"t":"code","b":[205,42,247],"m":"call","oa":63274,"o":"carry_objects"},{"a":56122,"t":"code","b":[205,42,247],"m":"call","oa":63274,"o":"carry_objects"},{"a":56125,"t":"code","b":[205,51,246],"m":"call","oa":63027,"o":"objects_pass"},{"a":56128,"t":"code","b":[195,207,135],"m":"jp","oa":34767,"o":"load_area"},{"a":56131,"l":"area_east","c":"Into the area to the east: column 0, actors shifted 456 back across. $DB56 west, $DB75 south (432 down), $DB88 north.","t":"code","b":[62,63],"m":"ld","o":"a,$3F","x":[56093]},{"a":56133,"t":"code","b":[50,199,219],"m":"ld","oa":56263,"o":"($DBC7),a"},{"a":56136,"t":"code","b":[175],"m":"xor","o":"a"},{"a":56137,"t":"code","b":[50,51,150],"m":"ld","oa":38451,"o":"($9633),a"},{"a":56140,"t":"code","b":[17,32,7],"m":"ld","o":"de,$0720"},{"a":56143,"t":"code","b":[1,200,1],"m":"ld","o":"bc,$01C8"},{"a":56146,"t":"code","b":[46,1],"m":"ld","o":"l,$01"},{"a":56148,"t":"code","b":[24,17],"m":"jr","oa":56167,"o":"$DB67"},{"a":56150,"t":"code","b":[175],"m":"xor","o":"a","x":[56086]},{"a":56151,"t":"code","b":[50,199,219],"m":"ld","oa":56263,"o":"($DBC7),a"},{"a":56154,"t":"code","b":[62,227],"m":"ld","o":"a,$E3"},{"a":56156,"t":"code","b":[50,51,150],"m":"ld","oa":38451,"o":"($9633),a"},{"a":56159,"t":"code","b":[17,224,0],"m":"ld","o":"de,$00E0"},{"a":56162,"t":"code","b":[1,56,254],"m":"ld","o":"bc,$FE38"},{"a":56165,"t":"code","b":[46,255],"m":"ld","o":"l,$FF"},{"a":56167,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)","x":[56148]},{"a":56170,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":56171,"t":"code","b":[50,31,141],"m":"ld","oa":36127,"o":"($8D1F),a"},{"a":56174,"t":"code","b":[175],"m":"xor","o":"a"},{"a":56175,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":56176,"t":"code","b":[62,19],"m":"ld","o":"a,$13"},{"a":56178,"t":"code","b":[195,168,219],"m":"jp","oa":56232,"o":"carry_actors"},{"a":56181,"t":"code","b":[62,63],"m":"ld","o":"a,$3F","x":[56110]},{"a":56183,"t":"code","b":[50,199,219],"m":"ld","oa":56263,"o":"($DBC7),a"},{"a":56186,"t":"code","b":[17,96,3],"m":"ld","o":"de,$0360"},{"a":56189,"t":"code","b":[1,176,1],"m":"ld","o":"bc,$01B0"},{"a":56192,"t":"code","b":[175],"m":"xor","o":"a"},{"a":56193,"t":"code","b":[50,52,150],"m":"ld","oa":38452,"o":"($9634),a"},{"a":56196,"t":"code","b":[46,4],"m":"ld","o":"l,$04"},{"a":56198,"t":"code","b":[24,17],"m":"jr","oa":56217,"o":"$DB99"},{"a":56200,"t":"code","b":[175],"m":"xor","o":"a","x":[56103]},{"a":56201,"t":"code","b":[50,199,219],"m":"ld","oa":56263,"o":"($DBC7),a"},{"a":56204,"t":"code","b":[17,160,0],"m":"ld","o":"de,$00A0"},{"a":56207,"t":"code","b":[1,80,254],"m":"ld","o":"bc,$FE50"},{"a":56210,"t":"code","b":[62,107],"m":"ld","o":"a,$6B"},{"a":56212,"t":"code","b":[50,52,150],"m":"ld","oa":38452,"o":"($9634),a"},{"a":56215,"t":"code","b":[46,252],"m":"ld","o":"l,$FC"},{"a":56217,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)","x":[56198]},{"a":56220,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":56221,"t":"code","b":[50,31,141],"m":"ld","oa":36127,"o":"($8D1F),a"},{"a":56224,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":56226,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":56227,"t":"code","b":[62,21],"m":"ld","o":"a,$15"},{"a":56229,"t":"code","b":[195,168,219],"m":"jp","oa":56232,"o":"carry_actors"},{"a":56232,"l":"carry_actors","c":"Each actor in play but type $2D whose word at +$14 (across on the screen) or +$16 (down), as A = $13 or $15 picks (written into $DBBD), is below DE (or at least DE, with the CCF written at $DBC7 in place of the NOP) is given the new area (+$1E) and moved by BC ($DBDD).","t":"code","b":[50,189,219],"m":"ld","oa":56253,"o":"($DBBD),a","x":[56178,56229]},{"a":56235,"t":"code","b":[33,0,131],"m":"ld","o":"hl,$8300"},{"a":56238,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[56281]},{"a":56239,"t":"code","b":[254,45],"m":"cp","o":"$2D"},{"a":56241,"t":"code","b":[202,213,219],"m":"jp","oa":56277,"o":"z,$DBD5"},{"a":56244,"t":"code","b":[229],"m":"push","o":"hl"},{"a":56245,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56246,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":56247,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":56249,"t":"code","b":[202,212,219],"m":"jp","oa":56276,"o":"z,$DBD4"},{"a":56252,"t":"code","b":[62,19],"m":"ld","o":"a,$13"},{"a":56254,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":56255,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56256,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":56257,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56258,"t":"code","b":[102],"m":"ld","o":"h,(hl)"},{"a":56259,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56260,"t":"code","b":[167],"m":"and","o":"a"},{"a":56261,"t":"code","b":[237,82],"m":"sbc","o":"hl,de"},{"a":56263,"t":"code","b":[0],"m":"nop","x":[56133,56151,56183,56201]},{"a":56264,"t":"code","b":[210,212,219],"m":"jp","oa":56276,"o":"nc,$DBD4"},{"a":56267,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":56268,"t":"code","b":[229],"m":"push","o":"hl"},{"a":56269,"t":"code","b":[213],"m":"push","o":"de"},{"a":56270,"t":"code","b":[197],"m":"push","o":"bc"},{"a":56271,"t":"code","b":[205,221,219],"m":"call","oa":56285,"o":"carry_actor"},{"a":56274,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":56275,"t":"code","b":[209],"m":"pop","o":"de"},{"a":56276,"t":"code","b":[225],"m":"pop","o":"hl","x":[56249,56264]},{"a":56277,"t":"code","b":[125],"m":"ld","o":"a,l","x":[56241]},{"a":56278,"t":"code","b":[198,32],"m":"add","o":"a,$20"},{"a":56280,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56281,"t":"code","b":[210,174,219],"m":"jp","oa":56238,"o":"nc,$DBAE"},{"a":56284,"t":"code","b":[201],"m":"ret"},{"a":56285,"l":"carry_actor","c":"Moves an actor into the new area: +$1E the area, one coordinate moved by BC, the other kept, and its place on the screen worked out again ($C362).","t":"code","b":[62,30],"m":"ld","o":"a,$1E","x":[56271]},{"a":56287,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":56288,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56289,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)"},{"a":56292,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":56293,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":56294,"t":"code","b":[214,15],"m":"sub","o":"$0F"},{"a":56296,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56297,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":56298,"t":"code","b":[45],"m":"dec","o":"l"},{"a":56299,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":56300,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":56301,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":56302,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":56303,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":56304,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56305,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":56306,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56307,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":56308,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56309,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":56310,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":56311,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":56312,"t":"code","b":[167],"m":"and","o":"a"},{"a":56313,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":56315,"t":"code","b":[167],"m":"and","o":"a"},{"a":56316,"t":"code","b":[40,2],"m":"jr","oa":56320,"o":"z,$DC00"},{"a":56318,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":56319,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":56320,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[56316]},{"a":56321,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":56322,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":56323,"t":"code","b":[45],"m":"dec","o":"l"},{"a":56324,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":56325,"t":"code","b":[45],"m":"dec","o":"l"},{"a":56326,"t":"code","b":[45],"m":"dec","o":"l"},{"a":56327,"t":"code","b":[205,98,195],"m":"call","oa":50018,"o":"project"},{"a":56330,"t":"code","b":[201],"m":"ret"},{"a":56331,"l":"place_creatures","c":"Brings into play the creatures and people of the plateau ($EB06, 46 records) that are in this area, not already in play (bit 7) and within reach of the view: each stands on the ground under it ($DCA0) and becomes an actor ($DD1C).","t":"code","b":[42,51,150],"m":"ld","oa":38451,"o":"hl,($9633)"},{"a":56334,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":56335,"t":"code","b":[214,8],"m":"sub","o":"$08"},{"a":56337,"t":"code","b":[48,1],"m":"jr","oa":56340,"o":"nc,$DC14"},{"a":56339,"t":"code","b":[175],"m":"xor","o":"a"},{"a":56340,"t":"code","b":[95],"m":"ld","o":"e,a","x":[56337]},{"a":56341,"t":"code","b":[124],"m":"ld","o":"a,h"},{"a":56342,"t":"code","b":[214,8],"m":"sub","o":"$08"},{"a":56344,"t":"code","b":[48,1],"m":"jr","oa":56347,"o":"nc,$DC1B"},{"a":56346,"t":"code","b":[175],"m":"xor","o":"a"},{"a":56347,"t":"code","b":[87],"m":"ld","o":"d,a","x":[56344]},{"a":56348,"t":"code","b":[33,6,235],"m":"ld","o":"hl,$EB06"},{"a":56351,"t":"code","b":[6,46],"m":"ld","o":"b,$2E"},{"a":56353,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[56474]},{"a":56354,"t":"code","b":[203,127],"m":"bit","o":"7,a"},{"a":56356,"t":"code","b":[194,147,220],"m":"jp","oa":56467,"o":"nz,$DC93"},{"a":56359,"t":"code","b":[230,31],"m":"and","o":"$1F"},{"a":56361,"t":"code","b":[254,9],"m":"cp","o":"$09"},{"a":56363,"t":"code","b":[202,147,220],"m":"jp","oa":56467,"o":"z,$DC93"},{"a":56366,"t":"code","b":[197],"m":"push","o":"bc"},{"a":56367,"t":"code","b":[229],"m":"push","o":"hl"},{"a":56368,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":56369,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)"},{"a":56372,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":56373,"t":"code","b":[194,145,220],"m":"jp","oa":56465,"o":"nz,$DC91"},{"a":56376,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":56377,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":56378,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":56379,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":56380,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":56381,"t":"code","b":[198,128],"m":"add","o":"a,$80"},{"a":56383,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":56384,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":56385,"t":"code","b":[185],"m":"cp","o":"c"},{"a":56386,"t":"code","b":[48,77],"m":"jr","oa":56465,"o":"nc,$DC91"},{"a":56388,"t":"code","b":[198,44],"m":"add","o":"a,$2C"},{"a":56390,"t":"code","b":[56,3],"m":"jr","oa":56395,"o":"c,$DC4B"},{"a":56392,"t":"code","b":[185],"m":"cp","o":"c"},{"a":56393,"t":"code","b":[56,70],"m":"jr","oa":56465,"o":"c,$DC91"},{"a":56395,"t":"code","b":[213],"m":"push","o":"de","x":[56390]},{"a":56396,"t":"code","b":[205,160,220],"m":"call","oa":56480,"o":"record_ground"},{"a":56399,"t":"code","b":[254,63],"m":"cp","o":"$3F"},{"a":56401,"t":"code","b":[202,88,220],"m":"jp","oa":56408,"o":"z,$DC58"},{"a":56404,"t":"code","b":[218,88,220],"m":"jp","oa":56408,"o":"c,$DC58"},{"a":56407,"t":"code","b":[175],"m":"xor","o":"a"},{"a":56408,"t":"code","b":[135],"m":"add","o":"a,a","x":[56401,56404]},{"a":56409,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":56410,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":56411,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":56412,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":56413,"t":"code","b":[38,0],"m":"ld","o":"h,$00"},{"a":56415,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":56416,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":56417,"t":"code","b":[34,213,142],"m":"ld","oa":36565,"o":"($8ED5),hl"},{"a":56420,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":56421,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":56422,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":56423,"t":"code","b":[14,0],"m":"ld","o":"c,$00"},{"a":56425,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":56426,"t":"code","b":[48,1],"m":"jr","oa":56429,"o":"nc,$DC6D"},{"a":56428,"t":"code","b":[12],"m":"inc","o":"c"},{"a":56429,"t":"code","b":[35],"m":"inc","o":"hl","x":[56426]},{"a":56430,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":56431,"t":"code","b":[48,1],"m":"jr","oa":56434,"o":"nc,$DC72"},{"a":56433,"t":"code","b":[12],"m":"inc","o":"c"},{"a":56434,"t":"code","b":[203,25],"m":"rr","o":"c","x":[56431]},{"a":56436,"t":"code","b":[31],"m":"rra"},{"a":56437,"t":"code","b":[237,68],"m":"neg"},{"a":56439,"t":"code","b":[198,192],"m":"add","o":"a,$C0"},{"a":56441,"t":"code","b":[209],"m":"pop","o":"de"},{"a":56442,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":56443,"t":"code","b":[122],"m":"ld","o":"a,d"},{"a":56444,"t":"code","b":[185],"m":"cp","o":"c"},{"a":56445,"t":"code","b":[48,18],"m":"jr","oa":56465,"o":"nc,$DC91"},{"a":56447,"t":"code","b":[198,34],"m":"add","o":"a,$22"},{"a":56449,"t":"code","b":[56,3],"m":"jr","oa":56454,"o":"c,$DC86"},{"a":56451,"t":"code","b":[185],"m":"cp","o":"c"},{"a":56452,"t":"code","b":[56,11],"m":"jr","oa":56465,"o":"c,$DC91"},{"a":56454,"t":"code","b":[43],"m":"dec","o":"hl","x":[56449]},{"a":56455,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":56456,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":56457,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":56458,"t":"code","b":[213],"m":"push","o":"de"},{"a":56459,"t":"code","b":[197],"m":"push","o":"bc"},{"a":56460,"t":"code","b":[205,28,221],"m":"call","oa":56604,"o":"bring_in"},{"a":56463,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":56464,"t":"code","b":[209],"m":"pop","o":"de"},{"a":56465,"t":"code","b":[225],"m":"pop","o":"hl","x":[56373,56386,56393,56445,56452]},{"a":56466,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":56467,"t":"code","b":[125],"m":"ld","o":"a,l","x":[56356,56363]},{"a":56468,"t":"code","b":[198,8],"m":"add","o":"a,$08"},{"a":56470,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56471,"t":"code","b":[48,1],"m":"jr","oa":56474,"o":"nc,$DC9A"},{"a":56473,"t":"code","b":[36],"m":"inc","o":"h"},{"a":56474,"t":"code","b":[16,133],"m":"djnz","oa":56353,"o":"$DC21","x":[56471]},{"a":56476,"t":"code","b":[205,51,246],"m":"call","oa":63027,"o":"objects_pass"},{"a":56479,"t":"code","b":[201],"m":"ret"},{"a":56480,"l":"record_ground","c":"The ground cell under a record's place: its across and down (in units of four) to $8ED1 and $8ED3, then $90D5.","t":"code","b":[94],"m":"ld","o":"e,(hl)","x":[56396,62900]},{"a":56481,"t":"code","b":[22,0],"m":"ld","o":"d,$00"},{"a":56483,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":56484,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":56485,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":56486,"t":"code","b":[34,209,142],"m":"ld","oa":36561,"o":"($8ED1),hl"},{"a":56489,"t":"code","b":[19],"m":"inc","o":"de"},{"a":56490,"t":"code","b":[213],"m":"push","o":"de"},{"a":56491,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":56492,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56493,"t":"code","b":[38,0],"m":"ld","o":"h,$00"},{"a":56495,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":56496,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":56497,"t":"code","b":[34,211,142],"m":"ld","oa":36563,"o":"($8ED3),hl"},{"a":56500,"t":"code","b":[205,213,144],"m":"call","oa":37077,"o":"ground_cell"},{"a":56503,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":56504,"t":"code","b":[201],"m":"ret"},{"a":56505,"l":"drop_far_actors","c":"Each actor out of this area, or more than 13 characters outside the view, goes back into its record ($DE58).","t":"code","b":[42,51,150],"m":"ld","oa":38451,"o":"hl,($9633)"},{"a":56508,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":56509,"t":"code","b":[214,13],"m":"sub","o":"$0D"},{"a":56511,"t":"code","b":[48,1],"m":"jr","oa":56514,"o":"nc,$DCC2"},{"a":56513,"t":"code","b":[175],"m":"xor","o":"a"},{"a":56514,"t":"code","b":[95],"m":"ld","o":"e,a","x":[56511]},{"a":56515,"t":"code","b":[124],"m":"ld","o":"a,h"},{"a":56516,"t":"code","b":[214,13],"m":"sub","o":"$0D"},{"a":56518,"t":"code","b":[48,1],"m":"jr","oa":56521,"o":"nc,$DCC9"},{"a":56520,"t":"code","b":[175],"m":"xor","o":"a"},{"a":56521,"t":"code","b":[87],"m":"ld","o":"d,a","x":[56518]},{"a":56522,"t":"code","b":[33,1,131],"m":"ld","o":"hl,$8301"},{"a":56525,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[56600]},{"a":56526,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":56528,"t":"code","b":[202,20,221],"m":"jp","oa":56596,"o":"z,$DD14"},{"a":56531,"t":"code","b":[229],"m":"push","o":"hl"},{"a":56532,"t":"code","b":[62,29],"m":"ld","o":"a,$1D"},{"a":56534,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":56535,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56536,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)"},{"a":56539,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":56540,"t":"code","b":[32,45],"m":"jr","oa":56587,"o":"nz,$DD0B"},{"a":56542,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":56543,"t":"code","b":[214,7],"m":"sub","o":"$07"},{"a":56545,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56546,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":56547,"t":"code","b":[45],"m":"dec","o":"l"},{"a":56548,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":56549,"t":"code","b":[205,221,166],"m":"call","oa":42717,"o":"divide_8"},{"a":56552,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":56553,"t":"code","b":[122],"m":"ld","o":"a,d"},{"a":56554,"t":"code","b":[185],"m":"cp","o":"c"},{"a":56555,"t":"code","b":[48,30],"m":"jr","oa":56587,"o":"nc,$DD0B"},{"a":56557,"t":"code","b":[198,44],"m":"add","o":"a,$2C"},{"a":56559,"t":"code","b":[48,2],"m":"jr","oa":56563,"o":"nc,$DCF3"},{"a":56561,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":56563,"t":"code","b":[185],"m":"cp","o":"c","x":[56559]},{"a":56564,"t":"code","b":[56,21],"m":"jr","oa":56587,"o":"c,$DD0B"},{"a":56566,"t":"code","b":[45],"m":"dec","o":"l"},{"a":56567,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":56568,"t":"code","b":[45],"m":"dec","o":"l"},{"a":56569,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":56570,"t":"code","b":[205,221,166],"m":"call","oa":42717,"o":"divide_8"},{"a":56573,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":56574,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":56575,"t":"code","b":[185],"m":"cp","o":"c"},{"a":56576,"t":"code","b":[48,9],"m":"jr","oa":56587,"o":"nc,$DD0B"},{"a":56578,"t":"code","b":[198,54],"m":"add","o":"a,$36"},{"a":56580,"t":"code","b":[48,2],"m":"jr","oa":56584,"o":"nc,$DD08"},{"a":56582,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":56584,"t":"code","b":[185],"m":"cp","o":"c","x":[56580]},{"a":56585,"t":"code","b":[48,8],"m":"jr","oa":56595,"o":"nc,$DD13"},{"a":56587,"t":"code","b":[225],"m":"pop","o":"hl","x":[56540,56555,56564,56576]},{"a":56588,"t":"code","b":[229],"m":"push","o":"hl"},{"a":56589,"t":"code","b":[45],"m":"dec","o":"l"},{"a":56590,"t":"code","b":[213],"m":"push","o":"de"},{"a":56591,"t":"code","b":[205,88,222],"m":"call","oa":56920,"o":"put_back"},{"a":56594,"t":"code","b":[209],"m":"pop","o":"de"},{"a":56595,"t":"code","b":[225],"m":"pop","o":"hl","x":[56585]},{"a":56596,"t":"code","b":[62,32],"m":"ld","o":"a,$20","x":[56528]},{"a":56598,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":56599,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56600,"t":"code","b":[210,205,220],"m":"jp","oa":56525,"o":"nc,$DCCD"},{"a":56603,"t":"code","b":[201],"m":"ret"},{"a":56604,"l":"bring_in","c":"Makes the record at HL an actor in the first free slot (the leader's character only in slot 0): its type, state $80, and if it does not stand in another actor or a box, nor on ground it may not stand on, its place, its graphics from the table at $EAC8 by type, its area and its frame ($9048). Type $2D is held (state $40); types $14 to $17 make sound effect $0A on channel C.","t":"code","b":[35],"m":"inc","o":"hl","x":[56460,62912]},{"a":56605,"t":"code","b":[203,126],"m":"bit","o":"7,(hl)"},{"a":56607,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":56608,"t":"code","b":[229],"m":"push","o":"hl"},{"a":56609,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":56610,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":56611,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":56613,"t":"code","b":[33,10,141],"m":"ld","o":"hl,$8D0A"},{"a":56616,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":56617,"t":"code","b":[33,1,131],"m":"ld","o":"hl,$8301"},{"a":56620,"t":"code","b":[17,32,0],"m":"ld","o":"de,$0020"},{"a":56623,"t":"code","b":[6,8],"m":"ld","o":"b,$08"},{"a":56625,"t":"code","b":[40,2],"m":"jr","oa":56629,"o":"z,$DD35"},{"a":56627,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":56628,"t":"code","b":[5],"m":"dec","o":"b"},{"a":56629,"t":"code","b":[62,255],"m":"ld","o":"a,$FF","x":[56625]},{"a":56631,"t":"code","b":[190],"m":"cp","o":"(hl)","x":[56635]},{"a":56632,"t":"code","b":[40,6],"m":"jr","oa":56640,"o":"z,$DD40"},{"a":56634,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":56635,"t":"code","b":[16,250],"m":"djnz","oa":56631,"o":"$DD37"},{"a":56637,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":56638,"t":"code","b":[4],"m":"inc","o":"b"},{"a":56639,"t":"code","b":[201],"m":"ret"},{"a":56640,"t":"code","b":[45],"m":"dec","o":"l","x":[56632]},{"a":56641,"t":"code","b":[229],"m":"push","o":"hl"},{"a":56642,"t":"code","b":[253,225],"m":"pop","o":"iy"},{"a":56644,"t":"code","b":[209],"m":"pop","o":"de"},{"a":56645,"t":"code","b":[213],"m":"push","o":"de"},{"a":56646,"t":"code","b":[229],"m":"push","o":"hl"},{"a":56647,"t":"code","b":[27],"m":"dec","o":"de"},{"a":56648,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":56649,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":56651,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":56652,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56653,"t":"code","b":[54,128],"m":"ld","o":"(hl),$80"},{"a":56655,"t":"code","b":[205,64,148],"m":"call","oa":37952,"o":"actor_collide"},{"a":56658,"t":"code","b":[204,70,149],"m":"call","oa":38214,"o":"z,box_collide"},{"a":56661,"t":"code","b":[32,47],"m":"jr","oa":56710,"o":"nz,$DD86"},{"a":56663,"t":"code","b":[205,213,144],"m":"call","oa":37077,"o":"ground_cell"},{"a":56666,"t":"code","b":[254,119],"m":"cp","o":"$77"},{"a":56668,"t":"code","b":[56,46],"m":"jr","oa":56716,"o":"c,$DD8C"},{"a":56670,"t":"code","b":[254,124],"m":"cp","o":"$7C"},{"a":56672,"t":"code","b":[32,8],"m":"jr","oa":56682,"o":"nz,$DD6A"},{"a":56674,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":56675,"t":"code","b":[253,126,0],"m":"ld","o":"a,(iy+$00)"},{"a":56678,"t":"code","b":[254,16],"m":"cp","o":"$10"},{"a":56680,"t":"code","b":[48,34],"m":"jr","oa":56716,"o":"nc,$DD8C"},{"a":56682,"t":"code","b":[254,115],"m":"cp","o":"$73","x":[56672]},{"a":56684,"t":"code","b":[32,7],"m":"jr","oa":56693,"o":"nz,$DD75"},{"a":56686,"t":"code","b":[253,126,0],"m":"ld","o":"a,(iy+$00)"},{"a":56689,"t":"code","b":[254,40],"m":"cp","o":"$28"},{"a":56691,"t":"code","b":[48,23],"m":"jr","oa":56716,"o":"nc,$DD8C"},{"a":56693,"t":"code","b":[254,125],"m":"cp","o":"$7D","x":[56684]},{"a":56695,"t":"code","b":[40,19],"m":"jr","oa":56716,"o":"z,$DD8C"},{"a":56697,"t":"code","b":[254,123],"m":"cp","o":"$7B"},{"a":56699,"t":"code","b":[40,15],"m":"jr","oa":56716,"o":"z,$DD8C"},{"a":56701,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":56702,"t":"code","b":[229],"m":"push","o":"hl"},{"a":56703,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":56704,"t":"code","b":[230,252],"m":"and","o":"$FC"},{"a":56706,"t":"code","b":[254,20],"m":"cp","o":"$14"},{"a":56708,"t":"code","b":[40,6],"m":"jr","oa":56716,"o":"z,$DD8C"},{"a":56710,"t":"code","b":[225],"m":"pop","o":"hl","x":[56661]},{"a":56711,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56712,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":56714,"t":"code","b":[209],"m":"pop","o":"de"},{"a":56715,"t":"code","b":[201],"m":"ret"},{"a":56716,"t":"code","b":[209],"m":"pop","o":"de","x":[56668,56680,56691,56695,56699,56708]},{"a":56717,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":56718,"t":"code","b":[213],"m":"push","o":"de"},{"a":56719,"t":"code","b":[229],"m":"push","o":"hl"},{"a":56720,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":56721,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":56722,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":56723,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":56724,"t":"code","b":[254,7],"m":"cp","o":"$07"},{"a":56726,"t":"code","b":[48,19],"m":"jr","oa":56747,"o":"nc,$DDAB"},{"a":56728,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":56729,"t":"code","b":[254,7],"m":"cp","o":"$07"},{"a":56731,"t":"code","b":[48,14],"m":"jr","oa":56747,"o":"nc,$DDAB"},{"a":56733,"t":"code","b":[14,1],"m":"ld","o":"c,$01"},{"a":56735,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":56736,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":56738,"t":"code","b":[56,6],"m":"jr","oa":56746,"o":"c,$DDAA"},{"a":56740,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":56741,"t":"code","b":[58,18,240],"m":"ld","oa":61458,"o":"a,($F012)"},{"a":56744,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":56745,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":56746,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[56738]},{"a":56747,"t":"code","b":[203,254],"m":"set","o":"7,(hl)","x":[56726,56731]},{"a":56749,"t":"code","b":[28],"m":"inc","o":"e"},{"a":56750,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":56751,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":56753,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":56754,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":56755,"t":"code","b":[198,13],"m":"add","o":"a,$0D"},{"a":56757,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":56758,"t":"code","b":[33,209,142],"m":"ld","o":"hl,$8ED1"},{"a":56761,"t":"code","b":[1,6,0],"m":"ld","o":"bc,$0006"},{"a":56764,"t":"code","b":[237,176],"m":"ldir"},{"a":56766,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":56767,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56768,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":56770,"t":"code","b":[56,37],"m":"jr","oa":56809,"o":"c,$DDE9"},{"a":56772,"t":"code","b":[46,4],"m":"ld","o":"l,$04"},{"a":56774,"t":"code","b":[254,16],"m":"cp","o":"$10"},{"a":56776,"t":"code","b":[56,31],"m":"jr","oa":56809,"o":"c,$DDE9"},{"a":56778,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56779,"t":"code","b":[254,20],"m":"cp","o":"$14"},{"a":56781,"t":"code","b":[56,26],"m":"jr","oa":56809,"o":"c,$DDE9"},{"a":56783,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56784,"t":"code","b":[254,24],"m":"cp","o":"$18"},{"a":56786,"t":"code","b":[56,21],"m":"jr","oa":56809,"o":"c,$DDE9"},{"a":56788,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56789,"t":"code","b":[254,28],"m":"cp","o":"$1C"},{"a":56791,"t":"code","b":[56,16],"m":"jr","oa":56809,"o":"c,$DDE9"},{"a":56793,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56794,"t":"code","b":[254,32],"m":"cp","o":"$20"},{"a":56796,"t":"code","b":[56,11],"m":"jr","oa":56809,"o":"c,$DDE9"},{"a":56798,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56799,"t":"code","b":[254,40],"m":"cp","o":"$28"},{"a":56801,"t":"code","b":[56,6],"m":"jr","oa":56809,"o":"c,$DDE9"},{"a":56803,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56804,"t":"code","b":[254,45],"m":"cp","o":"$2D"},{"a":56806,"t":"code","b":[56,1],"m":"jr","oa":56809,"o":"c,$DDE9"},{"a":56808,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56809,"t":"code","b":[125],"m":"ld","o":"a,l","x":[56770,56776,56781,56786,56791,56796,56801,56806]},{"a":56810,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":56811,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":56812,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":56813,"t":"code","b":[33,200,234],"m":"ld","o":"hl,$EAC8"},{"a":56816,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":56817,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56818,"t":"code","b":[48,1],"m":"jr","oa":56821,"o":"nc,$DDF5"},{"a":56820,"t":"code","b":[36],"m":"inc","o":"h"},{"a":56821,"t":"code","b":[62,10],"m":"ld","o":"a,$0A","x":[56818]},{"a":56823,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":56824,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":56825,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)"},{"a":56828,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":56829,"t":"code","b":[28],"m":"inc","o":"e"},{"a":56830,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":56831,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":56832,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":56833,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":56834,"t":"code","b":[214,6],"m":"sub","o":"$06"},{"a":56836,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":56837,"t":"code","b":[237,160],"m":"ldi"},{"a":56839,"t":"code","b":[237,160],"m":"ldi"},{"a":56841,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":56842,"t":"code","b":[214,20],"m":"sub","o":"$14"},{"a":56844,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":56845,"t":"code","b":[237,160],"m":"ldi"},{"a":56847,"t":"code","b":[237,160],"m":"ldi"},{"a":56849,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":56850,"t":"code","b":[214,8],"m":"sub","o":"$08"},{"a":56852,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56853,"t":"code","b":[98],"m":"ld","o":"h,d"},{"a":56854,"t":"code","b":[205,72,144],"m":"call","oa":36936,"o":"follow_actor"},{"a":56857,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":56858,"t":"code","b":[209],"m":"pop","o":"de"},{"a":56859,"t":"code","b":[28],"m":"inc","o":"e"},{"a":56860,"t":"code","b":[28],"m":"inc","o":"e"},{"a":56861,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":56862,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":56863,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":56864,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":56865,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":56866,"t":"code","b":[237,160],"m":"ldi"},{"a":56868,"t":"code","b":[237,160],"m":"ldi"},{"a":56870,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":56871,"t":"code","b":[54,0],"m":"ld","o":"(hl),$00"},{"a":56873,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56874,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":56876,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":56877,"t":"code","b":[198,7],"m":"add","o":"a,$07"},{"a":56879,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56880,"t":"code","b":[54,128],"m":"ld","o":"(hl),$80"},{"a":56882,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56883,"t":"code","b":[54,2],"m":"ld","o":"(hl),$02"},{"a":56885,"t":"code","b":[253,54,27,0],"m":"ld","o":"(iy+$1B),$00"},{"a":56889,"t":"code","b":[253,54,11,128],"m":"ld","o":"(iy+$0B),$80"},{"a":56893,"t":"code","b":[253,126,0],"m":"ld","o":"a,(iy+$00)"},{"a":56896,"t":"code","b":[254,45],"m":"cp","o":"$2D"},{"a":56898,"t":"code","b":[194,76,222],"m":"jp","oa":56908,"o":"nz,$DE4C"},{"a":56901,"t":"code","b":[253,54,1,64],"m":"ld","o":"(iy+$01),$40"},{"a":56905,"t":"code","b":[54,0],"m":"ld","o":"(hl),$00"},{"a":56907,"t":"code","b":[201],"m":"ret"},{"a":56908,"t":"code","b":[230,252],"m":"and","o":"$FC","x":[56898]},{"a":56910,"t":"code","b":[254,20],"m":"cp","o":"$14"},{"a":56912,"t":"code","b":[32,4],"m":"jr","oa":56918,"o":"nz,$DE56"},{"a":56914,"t":"code","b":[31],"m":"rra"},{"a":56915,"t":"code","b":[50,56,112],"m":"ld","oa":28728,"o":"($7038),a"},{"a":56918,"t":"code","b":[175],"m":"xor","o":"a","x":[56912]},{"a":56919,"t":"code","b":[201],"m":"ret"},{"a":56920,"l":"put_back","c":"An actor leaving play: its record ($E492) takes back its state (bit 6 off; one of type 4 or above in state 1 goes back in state 0), its area, its place in units of four and its route, which a character (type below 4) not in state 0 does not keep; the slot is freed.","t":"code","b":[70],"m":"ld","o":"b,(hl)","x":[56591,62892]},{"a":56921,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56922,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":56923,"t":"code","b":[12],"m":"inc","o":"c"},{"a":56924,"t":"code","b":[200],"m":"ret","o":"z"},{"a":56925,"t":"code","b":[13],"m":"dec","o":"c"},{"a":56926,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":56927,"t":"code","b":[198,23],"m":"add","o":"a,$17"},{"a":56929,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56930,"t":"code","b":[54,0],"m":"ld","o":"(hl),$00"},{"a":56932,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":56933,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":56934,"t":"code","b":[205,146,228],"m":"call","oa":58514,"o":"record_of"},{"a":56937,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":56938,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":56939,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":56940,"t":"code","b":[203,177],"m":"res","o":"6,c"},{"a":56942,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":56943,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":56945,"t":"code","b":[61],"m":"dec","o":"a"},{"a":56946,"t":"code","b":[32,7],"m":"jr","oa":56955,"o":"nz,$DE7B"},{"a":56948,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":56949,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":56951,"t":"code","b":[56,2],"m":"jr","oa":56955,"o":"c,$DE7B"},{"a":56953,"t":"code","b":[14,0],"m":"ld","o":"c,$00"},{"a":56955,"t":"code","b":[113],"m":"ld","o":"(hl),c","x":[56946,56951]},{"a":56956,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":56957,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":56958,"t":"code","b":[198,6],"m":"add","o":"a,$06"},{"a":56960,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":56961,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":56962,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":56963,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":56964,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":56965,"t":"code","b":[214,16],"m":"sub","o":"$10"},{"a":56967,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":56968,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":56969,"t":"code","b":[6,2],"m":"ld","o":"b,$02"},{"a":56971,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[56983]},{"a":56972,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56973,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":56974,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56975,"t":"code","b":[203,25],"m":"rr","o":"c"},{"a":56977,"t":"code","b":[31],"m":"rra"},{"a":56978,"t":"code","b":[203,25],"m":"rr","o":"c"},{"a":56980,"t":"code","b":[31],"m":"rra"},{"a":56981,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":56982,"t":"code","b":[19],"m":"inc","o":"de"},{"a":56983,"t":"code","b":[16,242],"m":"djnz","oa":56971,"o":"$DE8B"},{"a":56985,"t":"code","b":[19],"m":"inc","o":"de"},{"a":56986,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":56987,"t":"code","b":[214,17],"m":"sub","o":"$11"},{"a":56989,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":56990,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":56991,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":56993,"t":"code","b":[44],"m":"inc","o":"l"},{"a":56994,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":56995,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":56997,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":56999,"t":"code","b":[48,7],"m":"jr","oa":57008,"o":"nc,$DEB0"},{"a":57001,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":57002,"t":"code","b":[167],"m":"and","o":"a"},{"a":57003,"t":"code","b":[40,3],"m":"jr","oa":57008,"o":"z,$DEB0"},{"a":57005,"t":"code","b":[175],"m":"xor","o":"a"},{"a":57006,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":57007,"t":"code","b":[201],"m":"ret"},{"a":57008,"t":"code","b":[237,160],"m":"ldi","x":[56999,57003]},{"a":57010,"t":"code","b":[237,160],"m":"ldi"},{"a":57012,"t":"code","b":[201],"m":"ret"},{"a":57013,"l":"leader_place","c":"The leader's place, in units of four, to $DB05; $DEBD the actor's at HL to $DB08.","t":"code","b":[33,14,131],"m":"ld","o":"hl,$830E","x":[57048]},{"a":57016,"t":"code","b":[17,5,219],"m":"ld","o":"de,$DB05"},{"a":57019,"t":"code","b":[24,7],"m":"jr","oa":57028,"o":"$DEC4"},{"a":57021,"t":"code","b":[17,8,219],"m":"ld","o":"de,$DB08","x":[57096,64589]},{"a":57024,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":57025,"t":"code","b":[198,14],"m":"add","o":"a,$0E"},{"a":57027,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":57028,"t":"code","b":[6,3],"m":"ld","o":"b,$03","x":[57019]},{"a":57030,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[57042]},{"a":57031,"t":"code","b":[44],"m":"inc","o":"l"},{"a":57032,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":57033,"t":"code","b":[44],"m":"inc","o":"l"},{"a":57034,"t":"code","b":[203,25],"m":"rr","o":"c"},{"a":57036,"t":"code","b":[31],"m":"rra"},{"a":57037,"t":"code","b":[203,25],"m":"rr","o":"c"},{"a":57039,"t":"code","b":[31],"m":"rra"},{"a":57040,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":57041,"t":"code","b":[19],"m":"inc","o":"de"},{"a":57042,"t":"code","b":[16,242],"m":"djnz","oa":57030,"o":"$DEC6"},{"a":57044,"t":"code","b":[201],"m":"ret"},{"a":57045,"l":"actors_pass","c":"Once a pass: the leader's place ($DEB5), then each actor but the leader (and the leader too when he is not being steered: his state 3 or more, or 2 or more after 65 passes without input) that is not held (bit 6 of +1): its place ($DEBD), its route check ($F116), its state's step ($DF24) and, for the party, the needs ($D70A).","t":"code","b":[205,44,240],"m":"call","oa":61484,"o":"alarm_pass"},{"a":57048,"t":"code","b":[205,181,222],"m":"call","oa":57013,"o":"leader_place"},{"a":57051,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)"},{"a":57054,"t":"code","b":[50,199,234],"m":"ld","oa":60103,"o":"($EAC7),a"},{"a":57057,"t":"code","b":[33,32,131],"m":"ld","o":"hl,$8320"},{"a":57060,"t":"code","b":[6,7],"m":"ld","o":"b,$07"},{"a":57062,"t":"code","b":[14,3],"m":"ld","o":"c,$03"},{"a":57064,"t":"code","b":[58,27,141],"m":"ld","oa":36123,"o":"a,($8D1B)"},{"a":57067,"t":"code","b":[60],"m":"inc","o":"a"},{"a":57068,"t":"code","b":[32,1],"m":"jr","oa":57071,"o":"nz,$DEEF"},{"a":57070,"t":"code","b":[13],"m":"dec","o":"c"},{"a":57071,"t":"code","b":[58,1,131],"m":"ld","oa":33537,"o":"a,($8301)","x":[57068]},{"a":57074,"t":"code","b":[230,15],"m":"and","o":"$0F"},{"a":57076,"t":"code","b":[185],"m":"cp","o":"c"},{"a":57077,"t":"code","b":[56,3],"m":"jr","oa":57082,"o":"c,$DEFA"},{"a":57079,"t":"code","b":[46,0],"m":"ld","o":"l,$00"},{"a":57081,"t":"code","b":[4],"m":"inc","o":"b"},{"a":57082,"t":"code","b":[229],"m":"push","o":"hl","x":[57077]},{"a":57083,"t":"code","b":[253,225],"m":"pop","o":"iy"},{"a":57085,"t":"code","b":[197],"m":"push","o":"bc","x":[57121]},{"a":57086,"t":"code","b":[229],"m":"push","o":"hl"},{"a":57087,"t":"code","b":[44],"m":"inc","o":"l"},{"a":57088,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57089,"t":"code","b":[45],"m":"dec","o":"l"},{"a":57090,"t":"code","b":[203,119],"m":"bit","o":"6,a"},{"a":57092,"t":"code","b":[194,25,223],"m":"jp","oa":57113,"o":"nz,$DF19"},{"a":57095,"t":"code","b":[229],"m":"push","o":"hl"},{"a":57096,"t":"code","b":[205,189,222],"m":"call","oa":57021,"o":"$DEBD"},{"a":57099,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":57100,"t":"code","b":[205,22,241],"m":"call","oa":61718,"o":"actor_ai"},{"a":57103,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":57104,"t":"code","b":[229],"m":"push","o":"hl"},{"a":57105,"t":"code","b":[205,36,223],"m":"call","oa":57124,"o":"actor_step"},{"a":57108,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":57109,"t":"code","b":[229],"m":"push","o":"hl"},{"a":57110,"t":"code","b":[205,10,215],"m":"call","oa":55050,"o":"needs_check"},{"a":57113,"t":"code","b":[225],"m":"pop","o":"hl","x":[57092]},{"a":57114,"t":"code","b":[17,32,0],"m":"ld","o":"de,$0020"},{"a":57117,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":57118,"t":"code","b":[253,25],"m":"add","o":"iy,de"},{"a":57120,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":57121,"t":"code","b":[16,218],"m":"djnz","oa":57085,"o":"$DEFD"},{"a":57123,"t":"code","b":[201],"m":"ret"},{"a":57124,"l":"actor_step","c":"When the actor's countdown (+4, low nibble) has run out: the routine for its state (+1, low nibble) from the table at $DF46.","t":"code","b":[253,126,4],"m":"ld","o":"a,(iy+$04)","x":[57105]},{"a":57127,"t":"code","b":[230,15],"m":"and","o":"$0F"},{"a":57129,"t":"code","b":[40,4],"m":"jr","oa":57135,"o":"z,$DF2F"},{"a":57131,"t":"code","b":[253,53,4],"m":"dec","o":"(iy+$04)"},{"a":57134,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":57135,"t":"code","b":[44],"m":"inc","o":"l","x":[57129]},{"a":57136,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57137,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":57139,"t":"code","b":[200],"m":"ret","o":"z"},{"a":57140,"t":"code","b":[230,15],"m":"and","o":"$0F"},{"a":57142,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":57143,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":57144,"t":"code","b":[33,70,223],"m":"ld","o":"hl,$DF46"},{"a":57147,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":57148,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":57149,"t":"code","b":[48,1],"m":"jr","oa":57152,"o":"nc,$DF40"},{"a":57151,"t":"code","b":[36],"m":"inc","o":"h"},{"a":57152,"t":"code","b":[78],"m":"ld","o":"c,(hl)","x":[57149]},{"a":57153,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57154,"t":"code","b":[70],"m":"ld","o":"b,(hl)"},{"a":57155,"t":"code","b":[197],"m":"push","o":"bc"},{"a":57156,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":57157,"t":"code","b":[201],"m":"ret"},{"a":57158,"l":"state_steps","c":"The ten states: 0 walk a route ($DF60), 1 follow the leader ($DF8B), 2 $F0D3, 3 go for an object ($E082), 4 pull with the rope ($E4C2), 5 haul up ($E576), 6 throw the rope ($E535), 7 keep the action at +6 ($E07A), 8 die ($DF5A), 9 stand ($DF88).","t":"word","b":[96,223,139,223,211,240,130,224],"d":[57184,57227,61651,57474]},{"a":57166,"t":"word","b":[194,228,118,229,53,229,122,224],"d":[58562,58742,58677,57466]},{"a":57174,"t":"word","b":[90,223,136,223],"d":[57178,57224]},{"a":57178,"l":"state_die","c":"State 8: becomes $48 (held) with action $0B.","t":"code","b":[54,72],"m":"ld","o":"(hl),$48"},{"a":57180,"t":"code","b":[62,11],"m":"ld","o":"a,$0B"},{"a":57182,"t":"code","b":[24,30],"m":"jr","oa":57214,"o":"$DF7E"},{"a":57184,"l":"state_route","c":"State 0: walks the route in +2 and +3 ($E399) towards its next point ($E115), going on to the next when there ($E106); at the route's end the direction is turned round ($E449), or type $28 on gets event 3 ($F0A3). The action, when it changes, is stored with bit 7.","t":"code","b":[44],"m":"inc","o":"l"},{"a":57185,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57186,"t":"code","b":[167],"m":"and","o":"a"},{"a":57187,"t":"code","b":[40,25],"m":"jr","oa":57214,"o":"z,$DF7E"},{"a":57189,"t":"code","b":[205,153,227],"m":"call","oa":58265,"o":"route_point"},{"a":57192,"t":"code","b":[60],"m":"inc","o":"a"},{"a":57193,"t":"code","b":[32,11],"m":"jr","oa":57206,"o":"nz,$DF76"},{"a":57195,"t":"code","b":[253,126,0],"m":"ld","o":"a,(iy+$00)"},{"a":57198,"t":"code","b":[254,40],"m":"cp","o":"$28"},{"a":57200,"t":"code","b":[218,73,228],"m":"jp","oa":58441,"o":"c,turn_round"},{"a":57203,"t":"code","b":[195,163,240],"m":"jp","oa":61603,"o":"route_ended"},{"a":57206,"t":"code","b":[35],"m":"inc","o":"hl","x":[57193]},{"a":57207,"t":"code","b":[205,21,225],"m":"call","oa":57621,"o":"walk_towards"},{"a":57210,"t":"code","b":[167],"m":"and","o":"a"},{"a":57211,"t":"code","b":[204,6,225],"m":"call","oa":57606,"o":"z,next_point"},{"a":57214,"t":"code","b":[253,190,12],"m":"cp","o":"(iy+$0C)","x":[57182,57187,57225,57419,57471,57494,57552,58649,58738,58863]},{"a":57217,"t":"code","b":[200],"m":"ret","o":"z"},{"a":57218,"t":"code","b":[246,128],"m":"or","o":"$80"},{"a":57220,"t":"code","b":[253,119,12],"m":"ld","o":"(iy+$0C),a"},{"a":57223,"t":"code","b":[201],"m":"ret"},{"a":57224,"l":"state_stand","c":"State 9: action 0.","t":"code","b":[175],"m":"xor","o":"a"},{"a":57225,"t":"code","b":[24,243],"m":"jr","oa":57214,"o":"$DF7E"},{"a":57227,"l":"state_follow","c":"State 1: follows the leader. On ground $7B, or more than 5 units away across or down, or one who is not of the party, it walks towards him ($E023, finding a way round a step in height, $E04E). Near him: when he rests (state $08-$0B) it sits down too, one pass in eight, or at the fifth hour stops; otherwise it stands one pass in eight.","t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":57228,"t":"code","b":[58,208,142],"m":"ld","oa":36560,"o":"a,($8ED0)"},{"a":57231,"t":"code","b":[254,123],"m":"cp","o":"$7B"},{"a":57233,"t":"code","b":[202,35,224],"m":"jp","oa":57379,"o":"z,walk_to_leader"},{"a":57236,"t":"code","b":[33,7,219],"m":"ld","o":"hl,$DB07"},{"a":57239,"t":"code","b":[58,10,219],"m":"ld","oa":56074,"o":"a,($DB0A)"},{"a":57242,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":57243,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":57244,"t":"code","b":[48,2],"m":"jr","oa":57248,"o":"nc,$DFA0"},{"a":57246,"t":"code","b":[237,68],"m":"neg"},{"a":57248,"t":"code","b":[254,2],"m":"cp","o":"$02","x":[57244]},{"a":57250,"t":"code","b":[212,78,224],"m":"call","oa":57422,"o":"nc,step_round"},{"a":57253,"t":"code","b":[33,8,219],"m":"ld","o":"hl,$DB08"},{"a":57256,"t":"code","b":[58,5,219],"m":"ld","oa":56069,"o":"a,($DB05)"},{"a":57259,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":57260,"t":"code","b":[48,2],"m":"jr","oa":57264,"o":"nc,$DFB0"},{"a":57262,"t":"code","b":[237,68],"m":"neg"},{"a":57264,"t":"code","b":[254,6],"m":"cp","o":"$06","x":[57260]},{"a":57266,"t":"code","b":[48,111],"m":"jr","oa":57379,"o":"nc,walk_to_leader"},{"a":57268,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57269,"t":"code","b":[58,6,219],"m":"ld","oa":56070,"o":"a,($DB06)"},{"a":57272,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":57273,"t":"code","b":[48,2],"m":"jr","oa":57277,"o":"nc,$DFBD"},{"a":57275,"t":"code","b":[237,68],"m":"neg"},{"a":57277,"t":"code","b":[254,6],"m":"cp","o":"$06","x":[57273]},{"a":57279,"t":"code","b":[48,98],"m":"jr","oa":57379,"o":"nc,walk_to_leader"},{"a":57281,"t":"code","b":[29],"m":"dec","o":"e"},{"a":57282,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":57283,"t":"code","b":[28],"m":"inc","o":"e"},{"a":57284,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":57286,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":57287,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":57289,"t":"code","b":[48,88],"m":"jr","oa":57379,"o":"nc,walk_to_leader"},{"a":57291,"t":"code","b":[58,13,131],"m":"ld","oa":33549,"o":"a,($830D)"},{"a":57294,"t":"code","b":[230,252],"m":"and","o":"$FC"},{"a":57296,"t":"code","b":[254,8],"m":"cp","o":"$08"},{"a":57298,"t":"code","b":[40,15],"m":"jr","oa":57315,"o":"z,$DFE3"},{"a":57300,"t":"code","b":[175],"m":"xor","o":"a"},{"a":57301,"t":"code","b":[50,94,237],"m":"ld","oa":60766,"o":"($ED5E),a"},{"a":57304,"t":"code","b":[205,129,228],"m":"call","oa":58497,"o":"random"},{"a":57307,"t":"code","b":[230,7],"m":"and","o":"$07"},{"a":57309,"t":"code","b":[32,68],"m":"jr","oa":57379,"o":"nz,walk_to_leader"},{"a":57311,"t":"code","b":[253,119,12],"m":"ld","o":"(iy+$0C),a"},{"a":57314,"t":"code","b":[201],"m":"ret"},{"a":57315,"t":"code","b":[123],"m":"ld","o":"a,e","x":[57298]},{"a":57316,"t":"code","b":[198,12],"m":"add","o":"a,$0C"},{"a":57318,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":57319,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":57320,"t":"code","b":[29],"m":"dec","o":"e"},{"a":57321,"t":"code","b":[230,252],"m":"and","o":"$FC"},{"a":57323,"t":"code","b":[254,8],"m":"cp","o":"$08"},{"a":57325,"t":"code","b":[40,14],"m":"jr","oa":57341,"o":"z,$DFFD"},{"a":57327,"t":"code","b":[14,7],"m":"ld","o":"c,$07"},{"a":57329,"t":"code","b":[205,129,228],"m":"call","oa":58497,"o":"random","x":[57365]},{"a":57332,"t":"code","b":[161],"m":"and","o":"c"},{"a":57333,"t":"code","b":[62,0],"m":"ld","o":"a,$00"},{"a":57335,"t":"code","b":[32,2],"m":"jr","oa":57339,"o":"nz,$DFFB"},{"a":57337,"t":"code","b":[62,10],"m":"ld","o":"a,$0A"},{"a":57339,"t":"code","b":[18],"m":"ld","o":"(de),a","x":[57335]},{"a":57340,"t":"code","b":[201],"m":"ret"},{"a":57341,"t":"code","b":[58,46,191],"m":"ld","oa":48942,"o":"a,($BF2E)","x":[57325]},{"a":57344,"t":"code","b":[230,31],"m":"and","o":"$1F"},{"a":57346,"t":"code","b":[254,5],"m":"cp","o":"$05"},{"a":57348,"t":"code","b":[32,17],"m":"jr","oa":57367,"o":"nz,$E017"},{"a":57350,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":57351,"t":"code","b":[254,10],"m":"cp","o":"$0A"},{"a":57353,"t":"code","b":[200],"m":"ret","o":"z"},{"a":57354,"t":"code","b":[62,4],"m":"ld","o":"a,$04"},{"a":57356,"t":"code","b":[145],"m":"sub","o":"c"},{"a":57357,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":57358,"t":"code","b":[62,7],"m":"ld","o":"a,$07"},{"a":57360,"t":"code","b":[55],"m":"scf","x":[57362]},{"a":57361,"t":"code","b":[23],"m":"rla"},{"a":57362,"t":"code","b":[16,252],"m":"djnz","oa":57360,"o":"$E010"},{"a":57364,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":57365,"t":"code","b":[24,218],"m":"jr","oa":57329,"o":"$DFF1"},{"a":57367,"t":"code","b":[175],"m":"xor","o":"a","x":[57348]},{"a":57368,"t":"code","b":[50,94,237],"m":"ld","oa":60766,"o":"($ED5E),a"},{"a":57371,"t":"code","b":[205,129,228],"m":"call","oa":58497,"o":"random"},{"a":57374,"t":"code","b":[230,15],"m":"and","o":"$0F"},{"a":57376,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":57377,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":57378,"t":"code","b":[201],"m":"ret"},{"a":57379,"l":"walk_to_leader","c":"Walks towards the leader's place ($E115), running when he runs.","t":"code","b":[123],"m":"ld","o":"a,e","x":[57233,57266,57279,57289,57309]},{"a":57380,"t":"code","b":[198,2],"m":"add","o":"a,$02"},{"a":57382,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":57383,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)"},{"a":57386,"t":"code","b":[50,255,218],"m":"ld","oa":56063,"o":"(route_vars),a"},{"a":57389,"t":"code","b":[42,5,219],"m":"ld","oa":56069,"o":"hl,($DB05)"},{"a":57392,"t":"code","b":[34,0,219],"m":"ld","oa":56064,"o":"($DB00),hl"},{"a":57395,"t":"code","b":[33,0,219],"m":"ld","o":"hl,$DB00","x":[57463]},{"a":57398,"t":"code","b":[205,21,225],"m":"call","oa":57621,"o":"walk_towards"},{"a":57401,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":57402,"t":"code","b":[58,13,131],"m":"ld","oa":33549,"o":"a,($830D)"},{"a":57405,"t":"code","b":[230,252],"m":"and","o":"$FC"},{"a":57407,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":57409,"t":"code","b":[32,7],"m":"jr","oa":57418,"o":"nz,$E04A"},{"a":57411,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":57412,"t":"code","b":[167],"m":"and","o":"a"},{"a":57413,"t":"code","b":[40,3],"m":"jr","oa":57418,"o":"z,$E04A"},{"a":57415,"t":"code","b":[198,5],"m":"add","o":"a,$05"},{"a":57417,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":57418,"t":"code","b":[121],"m":"ld","o":"a,c","x":[57409,57413]},{"a":57419,"t":"code","b":[195,126,223],"m":"jp","oa":57214,"o":"$DF7E"},{"a":57422,"l":"step_round","c":"Looks for a step near the leader ($95C0) to walk to when the height between them is two or more.","t":"code","b":[213],"m":"push","o":"de","x":[57250]},{"a":57423,"t":"code","b":[58,10,219],"m":"ld","oa":56074,"o":"a,($DB0A)"},{"a":57426,"t":"code","b":[31],"m":"rra"},{"a":57427,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":57429,"t":"code","b":[60],"m":"inc","o":"a"},{"a":57430,"t":"code","b":[203,121],"m":"bit","o":"7,c"},{"a":57432,"t":"code","b":[32,2],"m":"jr","oa":57436,"o":"nz,$E05C"},{"a":57434,"t":"code","b":[214,2],"m":"sub","o":"$02"},{"a":57436,"t":"code","b":[205,192,149],"m":"call","oa":38336,"o":"find_cell_near","x":[57432]},{"a":57439,"t":"code","b":[209],"m":"pop","o":"de"},{"a":57440,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":57441,"t":"code","b":[68],"m":"ld","o":"b,h"},{"a":57442,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":57443,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":57444,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":57445,"t":"code","b":[33,5,219],"m":"ld","o":"hl,$DB05"},{"a":57448,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":57449,"t":"code","b":[50,0,219],"m":"ld","oa":56064,"o":"($DB00),a"},{"a":57452,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57453,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":57454,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":57455,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":57456,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":57457,"t":"code","b":[50,1,219],"m":"ld","oa":56065,"o":"($DB01),a"},{"a":57460,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":57461,"t":"code","b":[28],"m":"inc","o":"e"},{"a":57462,"t":"code","b":[28],"m":"inc","o":"e"},{"a":57463,"t":"code","b":[195,51,224],"m":"jp","oa":57395,"o":"$E033"},{"a":57466,"l":"state_fixed","c":"State 7: the action in +6.","t":"code","b":[125],"m":"ld","o":"a,l"},{"a":57467,"t":"code","b":[198,5],"m":"add","o":"a,$05"},{"a":57469,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":57470,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57471,"t":"code","b":[195,126,223],"m":"jp","oa":57214,"o":"$DF7E"},{"a":57474,"l":"state_fetch","c":"State 3: walks to the object in +6 (its record, $F83E) while it lies on the ground (bit 7 of its owner byte); within 3 units it is taken: the owner becomes $20 plus the actor's type (into the bag, $24, when it was dropped on the bag, bit 0 of $C898, and the bag has room) and the actor goes back to following (state 1) or 0.","t":"code","b":[229],"m":"push","o":"hl"},{"a":57475,"t":"code","b":[62,5],"m":"ld","o":"a,$05"},{"a":57477,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":57478,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":57479,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57480,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":57481,"t":"code","b":[205,62,248],"m":"call","oa":63550,"o":"object_record"},{"a":57484,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57485,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57486,"t":"code","b":[230,128],"m":"and","o":"$80"},{"a":57488,"t":"code","b":[32,7],"m":"jr","oa":57497,"o":"nz,$E099"},{"a":57490,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":57491,"t":"code","b":[54,1],"m":"ld","o":"(hl),$01"},{"a":57493,"t":"code","b":[175],"m":"xor","o":"a"},{"a":57494,"t":"code","b":[195,126,223],"m":"jp","oa":57214,"o":"$DF7E"},{"a":57497,"t":"code","b":[17,255,218],"m":"ld","o":"de,$DAFF","x":[57488]},{"a":57500,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57501,"t":"code","b":[230,15],"m":"and","o":"$0F"},{"a":57503,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":57504,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57505,"t":"code","b":[19],"m":"inc","o":"de"},{"a":57506,"t":"code","b":[237,160],"m":"ldi"},{"a":57508,"t":"code","b":[237,160],"m":"ldi"},{"a":57510,"t":"code","b":[33,0,219],"m":"ld","o":"hl,$DB00"},{"a":57513,"t":"code","b":[58,8,219],"m":"ld","oa":56072,"o":"a,($DB08)"},{"a":57516,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":57517,"t":"code","b":[48,2],"m":"jr","oa":57521,"o":"nc,$E0B1"},{"a":57519,"t":"code","b":[237,68],"m":"neg"},{"a":57521,"t":"code","b":[254,3],"m":"cp","o":"$03","x":[57517]},{"a":57523,"t":"code","b":[48,16],"m":"jr","oa":57541,"o":"nc,$E0C5"},{"a":57525,"t":"code","b":[58,9,219],"m":"ld","oa":56073,"o":"a,($DB09)"},{"a":57528,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57529,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":57530,"t":"code","b":[48,2],"m":"jr","oa":57534,"o":"nc,$E0BE"},{"a":57532,"t":"code","b":[237,68],"m":"neg"},{"a":57534,"t":"code","b":[254,3],"m":"cp","o":"$03","x":[57530]},{"a":57536,"t":"code","b":[48,3],"m":"jr","oa":57541,"o":"nc,$E0C5"},{"a":57538,"t":"code","b":[175],"m":"xor","o":"a"},{"a":57539,"t":"code","b":[24,10],"m":"jr","oa":57551,"o":"$E0CF"},{"a":57541,"t":"code","b":[33,0,219],"m":"ld","o":"hl,$DB00","x":[57523,57536]},{"a":57544,"t":"code","b":[209],"m":"pop","o":"de"},{"a":57545,"t":"code","b":[213],"m":"push","o":"de"},{"a":57546,"t":"code","b":[28],"m":"inc","o":"e"},{"a":57547,"t":"code","b":[28],"m":"inc","o":"e"},{"a":57548,"t":"code","b":[205,21,225],"m":"call","oa":57621,"o":"walk_towards"},{"a":57551,"t":"code","b":[225],"m":"pop","o":"hl","x":[57539]},{"a":57552,"t":"code","b":[194,126,223],"m":"jp","oa":57214,"o":"nz,$DF7E"},{"a":57555,"t":"code","b":[45],"m":"dec","o":"l"},{"a":57556,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57557,"t":"code","b":[44],"m":"inc","o":"l"},{"a":57558,"t":"code","b":[14,0],"m":"ld","o":"c,$00"},{"a":57560,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":57562,"t":"code","b":[48,1],"m":"jr","oa":57565,"o":"nc,$E0DD"},{"a":57564,"t":"code","b":[12],"m":"inc","o":"c"},{"a":57565,"t":"code","b":[113],"m":"ld","o":"(hl),c","x":[57562]},{"a":57566,"t":"code","b":[253,54,12,128],"m":"ld","o":"(iy+$0C),$80"},{"a":57570,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":57571,"t":"code","b":[253,126,6],"m":"ld","o":"a,(iy+$06)"},{"a":57574,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":57575,"t":"code","b":[205,62,248],"m":"call","oa":63550,"o":"object_record"},{"a":57578,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57579,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":57580,"t":"code","b":[230,7],"m":"and","o":"$07"},{"a":57582,"t":"code","b":[246,32],"m":"or","o":"$20"},{"a":57584,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":57585,"t":"code","b":[58,152,200],"m":"ld","oa":51352,"o":"a,($C898)"},{"a":57588,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":57590,"t":"code","b":[200],"m":"ret","o":"z"},{"a":57591,"t":"code","b":[203,135],"m":"res","o":"0,a"},{"a":57593,"t":"code","b":[50,152,200],"m":"ld","oa":51352,"o":"($C898),a"},{"a":57596,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":57597,"t":"code","b":[205,183,204],"m":"call","oa":52407,"o":"four_clear"},{"a":57600,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":57601,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":57602,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":57603,"t":"code","b":[54,36],"m":"ld","o":"(hl),$24"},{"a":57605,"t":"code","b":[201],"m":"ret"},{"a":57606,"l":"next_point","c":"The next point of the actor's route: +3 up, or down when bit 7 of +2 is set.","t":"code","b":[253,229],"m":"push","o":"iy","x":[57211]},{"a":57608,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":57609,"t":"code","b":[44],"m":"inc","o":"l"},{"a":57610,"t":"code","b":[44],"m":"inc","o":"l"},{"a":57611,"t":"code","b":[203,126],"m":"bit","o":"7,(hl)"},{"a":57613,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57614,"t":"code","b":[32,2],"m":"jr","oa":57618,"o":"nz,$E112"},{"a":57616,"t":"code","b":[52],"m":"inc","o":"(hl)"},{"a":57617,"t":"code","b":[201],"m":"ret"},{"a":57618,"t":"code","b":[53],"m":"dec","o":"(hl)","x":[57614]},{"a":57619,"t":"code","b":[175],"m":"xor","o":"a"},{"a":57620,"t":"code","b":[201],"m":"ret"},{"a":57621,"l":"walk_towards","c":"The walk (1 to 4) that takes the actor at DE+$0B towards the point at HL (units of four), across and down in turn (bit 5 of +$18); 0 when it is within 2 units of it.","t":"code","b":[123],"m":"ld","o":"a,e","x":[57207,57398,57548,61706]},{"a":57622,"t":"code","b":[198,11],"m":"add","o":"a,$0B"},{"a":57624,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":57625,"t":"code","b":[253,203,24,110],"m":"bit","o":"5,(iy+$18)"},{"a":57629,"t":"code","b":[32,21],"m":"jr","oa":57652,"o":"nz,$E134"},{"a":57631,"t":"code","b":[1,1,3],"m":"ld","o":"bc,$0301"},{"a":57634,"t":"code","b":[205,76,225],"m":"call","oa":57676,"o":"axis_walk"},{"a":57637,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":57638,"t":"code","b":[253,203,24,238],"m":"set","o":"5,(iy+$18)"},{"a":57642,"t":"code","b":[28],"m":"inc","o":"e"},{"a":57643,"t":"code","b":[28],"m":"inc","o":"e"},{"a":57644,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57645,"t":"code","b":[1,2,4],"m":"ld","o":"bc,$0402"},{"a":57648,"t":"code","b":[205,76,225],"m":"call","oa":57676,"o":"axis_walk"},{"a":57651,"t":"code","b":[201],"m":"ret"},{"a":57652,"t":"code","b":[35],"m":"inc","o":"hl","x":[57629]},{"a":57653,"t":"code","b":[28],"m":"inc","o":"e"},{"a":57654,"t":"code","b":[28],"m":"inc","o":"e"},{"a":57655,"t":"code","b":[1,2,4],"m":"ld","o":"bc,$0402"},{"a":57658,"t":"code","b":[205,76,225],"m":"call","oa":57676,"o":"axis_walk"},{"a":57661,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":57662,"t":"code","b":[253,203,24,174],"m":"res","o":"5,(iy+$18)"},{"a":57666,"t":"code","b":[29],"m":"dec","o":"e"},{"a":57667,"t":"code","b":[29],"m":"dec","o":"e"},{"a":57668,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":57669,"t":"code","b":[1,1,3],"m":"ld","o":"bc,$0301"},{"a":57672,"t":"code","b":[205,76,225],"m":"call","oa":57676,"o":"axis_walk"},{"a":57675,"t":"code","b":[201],"m":"ret"},{"a":57676,"l":"axis_walk","c":"One axis of $E115: B when the actor is beyond the point, C when short of it, 0 when within 2.","t":"code","b":[237,67,95,225],"m":"ld","oa":57695,"o":"($E15F),bc","x":[57634,57648,57658,57672]},{"a":57680,"t":"code","b":[213],"m":"push","o":"de"},{"a":57681,"t":"code","b":[229],"m":"push","o":"hl"},{"a":57682,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":57683,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":57684,"t":"code","b":[205,35,150],"m":"call","oa":38435,"o":"times_four"},{"a":57687,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":57688,"t":"code","b":[44],"m":"inc","o":"l"},{"a":57689,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":57690,"t":"code","b":[44],"m":"inc","o":"l"},{"a":57691,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":57692,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":57694,"t":"code","b":[1,0,0],"m":"ld","o":"bc,$0000"},{"a":57697,"t":"code","b":[40,32],"m":"jr","oa":57731,"o":"z,$E183"},{"a":57699,"t":"code","b":[250,116,225],"m":"jp","oa":57716,"o":"m,$E174"},{"a":57702,"t":"code","b":[124],"m":"ld","o":"a,h"},{"a":57703,"t":"code","b":[167],"m":"and","o":"a"},{"a":57704,"t":"code","b":[32,5],"m":"jr","oa":57711,"o":"nz,$E16F"},{"a":57706,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":57707,"t":"code","b":[254,3],"m":"cp","o":"$03"},{"a":57709,"t":"code","b":[56,20],"m":"jr","oa":57731,"o":"c,$E183"},{"a":57711,"t":"code","b":[120],"m":"ld","o":"a,b","x":[57704]},{"a":57712,"t":"code","b":[209],"m":"pop","o":"de"},{"a":57713,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":57714,"t":"code","b":[183],"m":"or","o":"a"},{"a":57715,"t":"code","b":[201],"m":"ret"},{"a":57716,"t":"code","b":[124],"m":"ld","o":"a,h","x":[57699]},{"a":57717,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":57719,"t":"code","b":[32,6],"m":"jr","oa":57727,"o":"nz,$E17F"},{"a":57721,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":57722,"t":"code","b":[254,254],"m":"cp","o":"$FE"},{"a":57724,"t":"code","b":[210,131,225],"m":"jp","oa":57731,"o":"nc,$E183"},{"a":57727,"t":"code","b":[121],"m":"ld","o":"a,c","x":[57719]},{"a":57728,"t":"code","b":[209],"m":"pop","o":"de"},{"a":57729,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":57730,"t":"code","b":[201],"m":"ret"},{"a":57731,"t":"code","b":[225],"m":"pop","o":"hl","x":[57697,57709,57724]},{"a":57732,"t":"code","b":[209],"m":"pop","o":"de"},{"a":57733,"t":"code","b":[175],"m":"xor","o":"a"},{"a":57734,"t":"code","b":[201],"m":"ret"},{"a":57735,"l":"move_records","c":"Once a pass, one of the 46 records ($EAC6 counts them round): one not in play walks its route off the screen, a step at a time ($E458), going from area to area ($E316); state 1 (left behind following) finds its way back to the route nearest the leader ($E24E, $E3BB).","t":"code","b":[58,198,234],"m":"ld","oa":60102,"o":"a,(record_vars)"},{"a":57738,"t":"code","b":[60],"m":"inc","o":"a"},{"a":57739,"t":"code","b":[254,46],"m":"cp","o":"$2E"},{"a":57741,"t":"code","b":[32,1],"m":"jr","oa":57744,"o":"nz,$E190"},{"a":57743,"t":"code","b":[175],"m":"xor","o":"a"},{"a":57744,"t":"code","b":[50,198,234],"m":"ld","oa":60102,"o":"(record_vars),a","x":[57741]},{"a":57747,"t":"code","b":[205,146,228],"m":"call","oa":58514,"o":"record_of"},{"a":57750,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57751,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":57752,"t":"code","b":[203,121],"m":"bit","o":"7,c"},{"a":57754,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":57755,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57756,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57757,"t":"code","b":[50,199,234],"m":"ld","oa":60103,"o":"($EAC7),a"},{"a":57760,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":57761,"t":"code","b":[230,15],"m":"and","o":"$0F"},{"a":57763,"t":"code","b":[254,1],"m":"cp","o":"$01"},{"a":57765,"t":"code","b":[202,16,226],"m":"jp","oa":57872,"o":"z,$E210"},{"a":57768,"t":"code","b":[254,8],"m":"cp","o":"$08"},{"a":57770,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":57771,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57772,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57773,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57774,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57775,"t":"code","b":[58,198,234],"m":"ld","oa":60102,"o":"a,(record_vars)","x":[57882,57908]},{"a":57778,"t":"code","b":[254,3],"m":"cp","o":"$03"},{"a":57780,"t":"code","b":[32,14],"m":"jr","oa":57796,"o":"nz,$E1C4"},{"a":57782,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57783,"t":"code","b":[254,1],"m":"cp","o":"$01"},{"a":57785,"t":"code","b":[32,9],"m":"jr","oa":57796,"o":"nz,$E1C4"},{"a":57787,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57788,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57789,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":57790,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":57792,"t":"code","b":[32,2],"m":"jr","oa":57796,"o":"nz,$E1C4"},{"a":57794,"t":"code","b":[175],"m":"xor","o":"a"},{"a":57795,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":57796,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[57780,57785,57792]},{"a":57797,"t":"code","b":[167],"m":"and","o":"a"},{"a":57798,"t":"code","b":[200],"m":"ret","o":"z"},{"a":57799,"t":"code","b":[205,153,227],"m":"call","oa":58265,"o":"route_point"},{"a":57802,"t":"code","b":[60],"m":"inc","o":"a"},{"a":57803,"t":"code","b":[194,240,225],"m":"jp","oa":57840,"o":"nz,$E1F0"},{"a":57806,"t":"code","b":[58,198,234],"m":"ld","oa":60102,"o":"a,(record_vars)"},{"a":57809,"t":"code","b":[254,40],"m":"cp","o":"$28"},{"a":57811,"t":"code","b":[218,73,228],"m":"jp","oa":58441,"o":"c,turn_round"},{"a":57814,"t":"code","b":[214,40],"m":"sub","o":"$28"},{"a":57816,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":57817,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":57818,"t":"code","b":[129],"m":"add","o":"a,c"},{"a":57819,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":57820,"t":"code","b":[33,201,236],"m":"ld","o":"hl,$ECC9"},{"a":57823,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":57825,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":57826,"t":"code","b":[175],"m":"xor","o":"a"},{"a":57827,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":57828,"t":"code","b":[27],"m":"dec","o":"de"},{"a":57829,"t":"code","b":[27],"m":"dec","o":"de"},{"a":57830,"t":"code","b":[27],"m":"dec","o":"de"},{"a":57831,"t":"code","b":[27],"m":"dec","o":"de"},{"a":57832,"t":"code","b":[27],"m":"dec","o":"de"},{"a":57833,"t":"code","b":[237,160],"m":"ldi"},{"a":57835,"t":"code","b":[237,160],"m":"ldi"},{"a":57837,"t":"code","b":[237,160],"m":"ldi"},{"a":57839,"t":"code","b":[201],"m":"ret"},{"a":57840,"t":"code","b":[27],"m":"dec","o":"de","x":[57803,57931]},{"a":57841,"t":"code","b":[27],"m":"dec","o":"de"},{"a":57842,"t":"code","b":[27],"m":"dec","o":"de"},{"a":57843,"t":"code","b":[27],"m":"dec","o":"de"},{"a":57844,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57845,"t":"code","b":[205,88,228],"m":"call","oa":58456,"o":"step_record"},{"a":57848,"t":"code","b":[197],"m":"push","o":"bc"},{"a":57849,"t":"code","b":[213],"m":"push","o":"de"},{"a":57850,"t":"code","b":[229],"m":"push","o":"hl"},{"a":57851,"t":"code","b":[27],"m":"dec","o":"de"},{"a":57852,"t":"code","b":[205,22,227],"m":"call","oa":58134,"o":"record_edges"},{"a":57855,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":57856,"t":"code","b":[209],"m":"pop","o":"de"},{"a":57857,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":57858,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":57859,"t":"code","b":[167],"m":"and","o":"a"},{"a":57860,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":57861,"t":"code","b":[19],"m":"inc","o":"de"},{"a":57862,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":57863,"t":"code","b":[203,126],"m":"bit","o":"7,(hl)"},{"a":57865,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57866,"t":"code","b":[32,2],"m":"jr","oa":57870,"o":"nz,$E20E"},{"a":57868,"t":"code","b":[52],"m":"inc","o":"(hl)"},{"a":57869,"t":"code","b":[201],"m":"ret"},{"a":57870,"t":"code","b":[53],"m":"dec","o":"(hl)","x":[57866]},{"a":57871,"t":"code","b":[201],"m":"ret"},{"a":57872,"t":"code","b":[78],"m":"ld","o":"c,(hl)","x":[57765]},{"a":57873,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":57874,"t":"code","b":[198,4],"m":"add","o":"a,$04"},{"a":57876,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":57877,"t":"code","b":[48,1],"m":"jr","oa":57880,"o":"nc,$E218"},{"a":57879,"t":"code","b":[36],"m":"inc","o":"h"},{"a":57880,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[57877]},{"a":57881,"t":"code","b":[167],"m":"and","o":"a"},{"a":57882,"t":"code","b":[194,175,225],"m":"jp","oa":57775,"o":"nz,$E1AF"},{"a":57885,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)"},{"a":57888,"t":"code","b":[185],"m":"cp","o":"c"},{"a":57889,"t":"code","b":[32,8],"m":"jr","oa":57899,"o":"nz,$E22B"},{"a":57891,"t":"code","b":[229],"m":"push","o":"hl"},{"a":57892,"t":"code","b":[205,180,226],"m":"call","oa":58036,"o":"near_leader"},{"a":57895,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":57896,"t":"code","b":[202,55,226],"m":"jp","oa":57911,"o":"z,$E237"},{"a":57899,"t":"code","b":[229],"m":"push","o":"hl","x":[57889]},{"a":57900,"t":"code","b":[205,78,226],"m":"call","oa":57934,"o":"nearest_route"},{"a":57903,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":57904,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":57905,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57906,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":57907,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":57908,"t":"code","b":[195,175,225],"m":"jp","oa":57775,"o":"$E1AF"},{"a":57911,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[57896]},{"a":57912,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)"},{"a":57915,"t":"code","b":[50,2,219],"m":"ld","oa":56066,"o":"($DB02),a"},{"a":57918,"t":"code","b":[42,5,219],"m":"ld","oa":56069,"o":"hl,($DB05)"},{"a":57921,"t":"code","b":[34,3,219],"m":"ld","oa":56067,"o":"($DB03),hl"},{"a":57924,"t":"code","b":[33,2,219],"m":"ld","o":"hl,$DB02"},{"a":57927,"t":"code","b":[19],"m":"inc","o":"de"},{"a":57928,"t":"code","b":[205,187,227],"m":"call","oa":58299,"o":"$E3BB"},{"a":57931,"t":"code","b":[195,240,225],"m":"jp","oa":57840,"o":"$E1F0"},{"a":57934,"l":"nearest_route","c":"The point of routes 1 to 4 ($ED6A) nearest to a place in area A: D the route, E the point.","t":"code","b":[43],"m":"dec","o":"hl","x":[57900,62822]},{"a":57935,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":57936,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":57937,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":57938,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57939,"t":"code","b":[217],"m":"exx","x":[55214]},{"a":57940,"t":"code","b":[1,0,1],"m":"ld","o":"bc,$0100"},{"a":57943,"t":"code","b":[46,255],"m":"ld","o":"l,$FF"},{"a":57945,"t":"code","b":[81],"m":"ld","o":"d,c"},{"a":57946,"t":"code","b":[89],"m":"ld","o":"e,c"},{"a":57947,"t":"code","b":[217],"m":"exx"},{"a":57948,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":57949,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57950,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57951,"t":"code","b":[50,128,226],"m":"ld","oa":57984,"o":"($E280),a"},{"a":57954,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57955,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57956,"t":"code","b":[50,139,226],"m":"ld","oa":57995,"o":"($E28B),a"},{"a":57959,"t":"code","b":[33,106,237],"m":"ld","o":"hl,$ED6A"},{"a":57962,"t":"code","b":[229],"m":"push","o":"hl","x":[58034]},{"a":57963,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":57964,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57965,"t":"code","b":[70],"m":"ld","o":"b,(hl)"},{"a":57966,"t":"code","b":[197],"m":"push","o":"bc","x":[58019]},{"a":57967,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":57969,"t":"code","b":[33,176,237],"m":"ld","o":"hl,$EDB0"},{"a":57972,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":57973,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":57974,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":57975,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":57976,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":57977,"t":"code","b":[194,156,226],"m":"jp","oa":58012,"o":"nz,$E29C"},{"a":57980,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":57981,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57982,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57983,"t":"code","b":[214,0],"m":"sub","o":"$00"},{"a":57985,"t":"code","b":[48,2],"m":"jr","oa":57989,"o":"nc,$E285"},{"a":57987,"t":"code","b":[237,68],"m":"neg"},{"a":57989,"t":"code","b":[217],"m":"exx","x":[57985]},{"a":57990,"t":"code","b":[103],"m":"ld","o":"h,a"},{"a":57991,"t":"code","b":[217],"m":"exx"},{"a":57992,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":57993,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":57994,"t":"code","b":[214,0],"m":"sub","o":"$00"},{"a":57996,"t":"code","b":[48,2],"m":"jr","oa":58000,"o":"nc,$E290"},{"a":57998,"t":"code","b":[237,68],"m":"neg"},{"a":58000,"t":"code","b":[217],"m":"exx","x":[57996]},{"a":58001,"t":"code","b":[132],"m":"add","o":"a,h"},{"a":58002,"t":"code","b":[56,6],"m":"jr","oa":58010,"o":"c,$E29A"},{"a":58004,"t":"code","b":[189],"m":"cp","o":"l"},{"a":58005,"t":"code","b":[48,3],"m":"jr","oa":58010,"o":"nc,$E29A"},{"a":58007,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":58008,"t":"code","b":[80],"m":"ld","o":"d,b"},{"a":58009,"t":"code","b":[89],"m":"ld","o":"e,c"},{"a":58010,"t":"code","b":[217],"m":"exx","x":[58002,58005]},{"a":58011,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":58012,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[57977]},{"a":58013,"t":"code","b":[217],"m":"exx"},{"a":58014,"t":"code","b":[12],"m":"inc","o":"c"},{"a":58015,"t":"code","b":[217],"m":"exx"},{"a":58016,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":58017,"t":"code","b":[12],"m":"inc","o":"c"},{"a":58018,"t":"code","b":[5],"m":"dec","o":"b"},{"a":58019,"t":"code","b":[194,110,226],"m":"jp","oa":57966,"o":"nz,$E26E"},{"a":58022,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":58023,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":58024,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":58025,"t":"code","b":[217],"m":"exx"},{"a":58026,"t":"code","b":[4],"m":"inc","o":"b"},{"a":58027,"t":"code","b":[14,0],"m":"ld","o":"c,$00"},{"a":58029,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":58030,"t":"code","b":[254,5],"m":"cp","o":"$05"},{"a":58032,"t":"code","b":[200],"m":"ret","o":"z"},{"a":58033,"t":"code","b":[217],"m":"exx"},{"a":58034,"t":"code","b":[24,182],"m":"jr","oa":57962,"o":"$E26A"},{"a":58036,"l":"near_leader","c":"Z when the record whose +6 is at HL is within 48 of the leader across and down, in units of four (+3 and +4 against $DB05 and $DB06).","t":"code","b":[43],"m":"dec","o":"hl","x":[57892]},{"a":58037,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":58038,"t":"code","b":[58,6,219],"m":"ld","oa":56070,"o":"a,($DB06)"},{"a":58041,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":58042,"t":"code","b":[48,2],"m":"jr","oa":58046,"o":"nc,$E2BE"},{"a":58044,"t":"code","b":[237,68],"m":"neg"},{"a":58046,"t":"code","b":[254,48],"m":"cp","o":"$30","x":[58042]},{"a":58048,"t":"code","b":[48,14],"m":"jr","oa":58064,"o":"nc,$E2D0"},{"a":58050,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":58051,"t":"code","b":[58,5,219],"m":"ld","oa":56069,"o":"a,($DB05)"},{"a":58054,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":58055,"t":"code","b":[48,2],"m":"jr","oa":58059,"o":"nc,$E2CB"},{"a":58057,"t":"code","b":[237,68],"m":"neg"},{"a":58059,"t":"code","b":[254,48],"m":"cp","o":"$30","x":[58055]},{"a":58061,"t":"code","b":[48,1],"m":"jr","oa":58064,"o":"nc,$E2D0"},{"a":58063,"t":"code","b":[175],"m":"xor","o":"a"},{"a":58064,"t":"code","b":[183],"m":"or","o":"a","x":[58048,58061]},{"a":58065,"t":"code","b":[201],"m":"ret"},{"a":58066,"l":"edge_east","c":"Moves a walking record into the next area when it passes an edge, its place shifted by $72 or $6C units ($E36B to $E38C); $E2D2, $E2DF and $E2EF across, $E2FF and $E30A down.","t":"code","b":[1,54,227],"m":"ld","o":"bc,$E336","x":[58155]},{"a":58069,"t":"code","b":[197],"m":"push","o":"bc"},{"a":58070,"t":"code","b":[124],"m":"ld","o":"a,h"},{"a":58071,"t":"code","b":[167],"m":"and","o":"a"},{"a":58072,"t":"code","b":[250,117,227],"m":"jp","oa":58229,"o":"m,$E375"},{"a":58075,"t":"code","b":[194,122,227],"m":"jp","oa":58234,"o":"nz,$E37A"},{"a":58078,"t":"code","b":[201],"m":"ret"},{"a":58079,"t":"code","b":[1,54,227],"m":"ld","o":"bc,$E336","x":[58160]},{"a":58082,"t":"code","b":[197],"m":"push","o":"bc"},{"a":58083,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":58084,"t":"code","b":[254,28],"m":"cp","o":"$1C"},{"a":58086,"t":"code","b":[218,117,227],"m":"jp","oa":58229,"o":"c,$E375"},{"a":58089,"t":"code","b":[254,228],"m":"cp","o":"$E4"},{"a":58091,"t":"code","b":[210,122,227],"m":"jp","oa":58234,"o":"nc,$E37A"},{"a":58094,"t":"code","b":[201],"m":"ret"},{"a":58095,"t":"code","b":[1,54,227],"m":"ld","o":"bc,$E336","x":[58163]},{"a":58098,"t":"code","b":[197],"m":"push","o":"bc"},{"a":58099,"t":"code","b":[203,124],"m":"bit","o":"7,h"},{"a":58101,"t":"code","b":[194,117,227],"m":"jp","oa":58229,"o":"nz,$E375"},{"a":58104,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":58105,"t":"code","b":[254,229],"m":"cp","o":"$E5"},{"a":58107,"t":"code","b":[210,122,227],"m":"jp","oa":58234,"o":"nc,$E37A"},{"a":58110,"t":"code","b":[201],"m":"ret"},{"a":58111,"t":"code","b":[203,124],"m":"bit","o":"7,h","x":[58200]},{"a":58113,"t":"code","b":[194,107,227],"m":"jp","oa":58219,"o":"nz,$E36B"},{"a":58116,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":58117,"t":"code","b":[167],"m":"and","o":"a"},{"a":58118,"t":"code","b":[250,112,227],"m":"jp","oa":58224,"o":"m,$E370"},{"a":58121,"t":"code","b":[201],"m":"ret"},{"a":58122,"t":"code","b":[125],"m":"ld","o":"a,l","x":[58206]},{"a":58123,"t":"code","b":[254,20],"m":"cp","o":"$14"},{"a":58125,"t":"code","b":[218,107,227],"m":"jp","oa":58219,"o":"c,$E36B"},{"a":58128,"t":"code","b":[254,109],"m":"cp","o":"$6D"},{"a":58130,"t":"code","b":[210,112,227],"m":"jp","oa":58224,"o":"nc,$E370"},{"a":58133,"t":"code","b":[201],"m":"ret"},{"a":58134,"l":"record_edges","c":"Which edge of its area a walking record has crossed, from its place on the screen.","t":"code","b":[33,128,0],"m":"ld","o":"hl,$0080","x":[57852]},{"a":58137,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":58138,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":58139,"t":"code","b":[68],"m":"ld","o":"b,h"},{"a":58140,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":58141,"t":"code","b":[27],"m":"dec","o":"de"},{"a":58142,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":58143,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":58144,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":58146,"t":"code","b":[213],"m":"push","o":"de"},{"a":58147,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)"},{"a":58150,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":58151,"t":"code","b":[58,199,234],"m":"ld","oa":60103,"o":"a,($EAC7)"},{"a":58154,"t":"code","b":[185],"m":"cp","o":"c"},{"a":58155,"t":"code","b":[202,210,226],"m":"jp","oa":58066,"o":"z,edge_east"},{"a":58158,"t":"code","b":[61],"m":"dec","o":"a"},{"a":58159,"t":"code","b":[185],"m":"cp","o":"c"},{"a":58160,"t":"code","b":[202,223,226],"m":"jp","oa":58079,"o":"z,$E2DF"},{"a":58163,"t":"code","b":[195,239,226],"m":"jp","oa":58095,"o":"$E2EF"},{"a":58166,"t":"code","b":[209],"m":"pop","o":"de"},{"a":58167,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":58169,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":58170,"t":"code","b":[96],"m":"ld","o":"h,b"},{"a":58171,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":58172,"t":"code","b":[19],"m":"inc","o":"de"},{"a":58173,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":58174,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":58175,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":58176,"t":"code","b":[19],"m":"inc","o":"de"},{"a":58177,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":58178,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":58179,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":58180,"t":"code","b":[203,60],"m":"srl","o":"h"},{"a":58182,"t":"code","b":[203,29],"m":"rr","o":"l"},{"a":58184,"t":"code","b":[77],"m":"ld","o":"c,l"},{"a":58185,"t":"code","b":[68],"m":"ld","o":"b,h"},{"a":58186,"t":"code","b":[33,192,0],"m":"ld","o":"hl,$00C0"},{"a":58189,"t":"code","b":[167],"m":"and","o":"a"},{"a":58190,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":58192,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)"},{"a":58195,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":58196,"t":"code","b":[58,199,234],"m":"ld","oa":60103,"o":"a,($EAC7)"},{"a":58199,"t":"code","b":[185],"m":"cp","o":"c"},{"a":58200,"t":"code","b":[202,255,226],"m":"jp","oa":58111,"o":"z,$E2FF"},{"a":58203,"t":"code","b":[214,4],"m":"sub","o":"$04"},{"a":58205,"t":"code","b":[185],"m":"cp","o":"c"},{"a":58206,"t":"code","b":[202,10,227],"m":"jp","oa":58122,"o":"z,$E30A"},{"a":58209,"t":"code","b":[203,124],"m":"bit","o":"7,h"},{"a":58211,"t":"code","b":[32,6],"m":"jr","oa":58219,"o":"nz,$E36B"},{"a":58213,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":58214,"t":"code","b":[254,109],"m":"cp","o":"$6D"},{"a":58216,"t":"code","b":[48,6],"m":"jr","oa":58224,"o":"nc,$E370"},{"a":58218,"t":"code","b":[201],"m":"ret"},{"a":58219,"t":"code","b":[1,148,252],"m":"ld","o":"bc,$FC94","x":[58113,58125,58211,63382]},{"a":58222,"t":"code","b":[24,15],"m":"jr","oa":58239,"o":"$E37F"},{"a":58224,"t":"code","b":[1,108,4],"m":"ld","o":"bc,$046C","x":[58118,58130,58216,63364]},{"a":58227,"t":"code","b":[24,10],"m":"jr","oa":58239,"o":"$E37F"},{"a":58229,"t":"code","b":[1,142,255],"m":"ld","o":"bc,$FF8E","x":[58072,58086,58101,63343]},{"a":58232,"t":"code","b":[24,18],"m":"jr","oa":58252,"o":"$E38C"},{"a":58234,"t":"code","b":[1,114,1],"m":"ld","o":"bc,$0172","x":[58075,58091,58107,63326]},{"a":58237,"t":"code","b":[24,13],"m":"jr","oa":58252,"o":"$E38C"},{"a":58239,"t":"code","b":[27],"m":"dec","o":"de","x":[58222,58227]},{"a":58240,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":58241,"t":"code","b":[129],"m":"add","o":"a,c"},{"a":58242,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":58243,"t":"code","b":[27],"m":"dec","o":"de"},{"a":58244,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":58245,"t":"code","b":[129],"m":"add","o":"a,c"},{"a":58246,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":58247,"t":"code","b":[27],"m":"dec","o":"de"},{"a":58248,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":58249,"t":"code","b":[128],"m":"add","o":"a,b"},{"a":58250,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":58251,"t":"code","b":[201],"m":"ret"},{"a":58252,"t":"code","b":[27],"m":"dec","o":"de","x":[58232,58237]},{"a":58253,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":58254,"t":"code","b":[128],"m":"add","o":"a,b"},{"a":58255,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":58256,"t":"code","b":[19],"m":"inc","o":"de"},{"a":58257,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":58258,"t":"code","b":[129],"m":"add","o":"a,c"},{"a":58259,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":58260,"t":"code","b":[19],"m":"inc","o":"de"},{"a":58261,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":58262,"t":"code","b":[145],"m":"sub","o":"c"},{"a":58263,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":58264,"t":"code","b":[201],"m":"ret"},{"a":58265,"l":"route_point","c":"The next point of the route at DE (number and index): from the table at $ED68 (first point and count) the point in $EDB0 (area, across, down); in another area the point is moved into this area's frame ($DAFF, by $72 across and $6C down for each area apart); $FF at the end.","t":"code","b":[235],"m":"ex","o":"de,hl","x":[57189,57799]},{"a":58266,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":58267,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":58268,"t":"code","b":[33,104,237],"m":"ld","o":"hl,$ED68"},{"a":58271,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":58272,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":58273,"t":"code","b":[48,1],"m":"jr","oa":58276,"o":"nc,$E3A4"},{"a":58275,"t":"code","b":[36],"m":"inc","o":"h"},{"a":58276,"t":"code","b":[78],"m":"ld","o":"c,(hl)","x":[58273]},{"a":58277,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":58278,"t":"code","b":[19],"m":"inc","o":"de"},{"a":58279,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":58280,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":58282,"t":"code","b":[200],"m":"ret","o":"z"},{"a":58283,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":58284,"t":"code","b":[56,3],"m":"jr","oa":58289,"o":"c,$E3B1"},{"a":58286,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":58288,"t":"code","b":[201],"m":"ret"},{"a":58289,"t":"code","b":[129],"m":"add","o":"a,c","x":[58284]},{"a":58290,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":58291,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":58293,"t":"code","b":[33,176,237],"m":"ld","o":"hl,$EDB0"},{"a":58296,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":58297,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":58298,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":58299,"t":"code","b":[58,199,234],"m":"ld","oa":60103,"o":"a,($EAC7)","x":[57928]},{"a":58302,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":58303,"t":"code","b":[200],"m":"ret","o":"z"},{"a":58304,"t":"code","b":[213],"m":"push","o":"de"},{"a":58305,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":58306,"t":"code","b":[17,255,218],"m":"ld","o":"de,$DAFF"},{"a":58309,"t":"code","b":[237,160],"m":"ldi"},{"a":58311,"t":"code","b":[237,160],"m":"ldi"},{"a":58313,"t":"code","b":[237,160],"m":"ldi"},{"a":58315,"t":"code","b":[6,114],"m":"ld","o":"b,$72"},{"a":58317,"t":"code","b":[17,0,0],"m":"ld","o":"de,$0000"},{"a":58320,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":58322,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":58323,"t":"code","b":[58,199,234],"m":"ld","oa":60103,"o":"a,($EAC7)"},{"a":58326,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":58328,"t":"code","b":[185],"m":"cp","o":"c"},{"a":58329,"t":"code","b":[196,40,228],"m":"call","oa":58408,"o":"nz,$E428"},{"a":58332,"t":"code","b":[6,108],"m":"ld","o":"b,$6C"},{"a":58334,"t":"code","b":[58,255,218],"m":"ld","oa":56063,"o":"a,(route_vars)"},{"a":58337,"t":"code","b":[230,12],"m":"and","o":"$0C"},{"a":58339,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":58340,"t":"code","b":[58,199,234],"m":"ld","oa":60103,"o":"a,($EAC7)"},{"a":58343,"t":"code","b":[230,12],"m":"and","o":"$0C"},{"a":58345,"t":"code","b":[185],"m":"cp","o":"c"},{"a":58346,"t":"code","b":[196,19,228],"m":"call","oa":58387,"o":"nz,$E413"},{"a":58349,"t":"code","b":[33,0,219],"m":"ld","o":"hl,$DB00"},{"a":58352,"t":"code","b":[203,123],"m":"bit","o":"7,e"},{"a":58354,"t":"code","b":[40,4],"m":"jr","oa":58360,"o":"z,$E3F8"},{"a":58356,"t":"code","b":[54,0],"m":"ld","o":"(hl),$00"},{"a":58358,"t":"code","b":[24,6],"m":"jr","oa":58366,"o":"$E3FE"},{"a":58360,"t":"code","b":[123],"m":"ld","o":"a,e","x":[58354]},{"a":58361,"t":"code","b":[167],"m":"and","o":"a"},{"a":58362,"t":"code","b":[40,2],"m":"jr","oa":58366,"o":"z,$E3FE"},{"a":58364,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":58366,"t":"code","b":[35],"m":"inc","o":"hl","x":[58358,58362]},{"a":58367,"t":"code","b":[203,122],"m":"bit","o":"7,d"},{"a":58369,"t":"code","b":[40,4],"m":"jr","oa":58375,"o":"z,$E407"},{"a":58371,"t":"code","b":[54,0],"m":"ld","o":"(hl),$00"},{"a":58373,"t":"code","b":[24,6],"m":"jr","oa":58381,"o":"$E40D"},{"a":58375,"t":"code","b":[122],"m":"ld","o":"a,d","x":[58369]},{"a":58376,"t":"code","b":[167],"m":"and","o":"a"},{"a":58377,"t":"code","b":[40,2],"m":"jr","oa":58381,"o":"z,$E40D"},{"a":58379,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":58381,"t":"code","b":[33,255,218],"m":"ld","o":"hl,$DAFF","x":[58373,58377]},{"a":58384,"t":"code","b":[209],"m":"pop","o":"de"},{"a":58385,"t":"code","b":[175],"m":"xor","o":"a"},{"a":58386,"t":"code","b":[201],"m":"ret"},{"a":58387,"t":"code","b":[33,0,219],"m":"ld","o":"hl,$DB00","x":[58346]},{"a":58390,"t":"code","b":[48,8],"m":"jr","oa":58400,"o":"nc,$E420"},{"a":58392,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":58393,"t":"code","b":[144],"m":"sub","o":"b"},{"a":58394,"t":"code","b":[48,1],"m":"jr","oa":58397,"o":"nc,$E41D"},{"a":58396,"t":"code","b":[29],"m":"dec","o":"e"},{"a":58397,"t":"code","b":[119],"m":"ld","o":"(hl),a","x":[58394]},{"a":58398,"t":"code","b":[24,33],"m":"jr","oa":58433,"o":"$E441"},{"a":58400,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[58390]},{"a":58401,"t":"code","b":[128],"m":"add","o":"a,b"},{"a":58402,"t":"code","b":[48,1],"m":"jr","oa":58405,"o":"nc,$E425"},{"a":58404,"t":"code","b":[28],"m":"inc","o":"e"},{"a":58405,"t":"code","b":[119],"m":"ld","o":"(hl),a","x":[58402]},{"a":58406,"t":"code","b":[24,11],"m":"jr","oa":58419,"o":"$E433"},{"a":58408,"t":"code","b":[33,0,219],"m":"ld","o":"hl,$DB00","x":[58329]},{"a":58411,"t":"code","b":[48,14],"m":"jr","oa":58427,"o":"nc,$E43B"},{"a":58413,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":58414,"t":"code","b":[144],"m":"sub","o":"b"},{"a":58415,"t":"code","b":[48,1],"m":"jr","oa":58418,"o":"nc,$E432"},{"a":58417,"t":"code","b":[29],"m":"dec","o":"e"},{"a":58418,"t":"code","b":[119],"m":"ld","o":"(hl),a","x":[58415]},{"a":58419,"t":"code","b":[35],"m":"inc","o":"hl","x":[58406]},{"a":58420,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":58421,"t":"code","b":[128],"m":"add","o":"a,b"},{"a":58422,"t":"code","b":[48,1],"m":"jr","oa":58425,"o":"nc,$E439"},{"a":58424,"t":"code","b":[20],"m":"inc","o":"d"},{"a":58425,"t":"code","b":[119],"m":"ld","o":"(hl),a","x":[58422]},{"a":58426,"t":"code","b":[201],"m":"ret"},{"a":58427,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[58411]},{"a":58428,"t":"code","b":[128],"m":"add","o":"a,b"},{"a":58429,"t":"code","b":[48,1],"m":"jr","oa":58432,"o":"nc,$E440"},{"a":58431,"t":"code","b":[28],"m":"inc","o":"e"},{"a":58432,"t":"code","b":[119],"m":"ld","o":"(hl),a","x":[58429]},{"a":58433,"t":"code","b":[35],"m":"inc","o":"hl","x":[58398]},{"a":58434,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":58435,"t":"code","b":[144],"m":"sub","o":"b"},{"a":58436,"t":"code","b":[48,1],"m":"jr","oa":58439,"o":"nc,$E447"},{"a":58438,"t":"code","b":[21],"m":"dec","o":"d"},{"a":58439,"t":"code","b":[119],"m":"ld","o":"(hl),a","x":[58436]},{"a":58440,"t":"code","b":[201],"m":"ret"},{"a":58441,"l":"turn_round","c":"Turns the route round: bit 7 of +2 flipped and the index stepped back.","t":"code","b":[235],"m":"ex","o":"de,hl","x":[57200,57811]},{"a":58442,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":58443,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":58444,"t":"code","b":[238,128],"m":"xor","o":"$80"},{"a":58446,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":58447,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":58448,"t":"code","b":[203,127],"m":"bit","o":"7,a"},{"a":58450,"t":"code","b":[40,2],"m":"jr","oa":58454,"o":"z,$E456"},{"a":58452,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":58453,"t":"code","b":[201],"m":"ret"},{"a":58454,"t":"code","b":[52],"m":"inc","o":"(hl)","x":[58450]},{"a":58455,"t":"code","b":[201],"m":"ret"},{"a":58456,"l":"step_record","c":"Moves a record's place at DE up to 4 units across and down towards the point at HL; C counts the axes it moved, 0 when it was there. A is 0 and Z on every return (XOR A, AND C).","t":"code","b":[1,0,2],"m":"ld","o":"bc,$0200","x":[57845]},{"a":58459,"t":"code","b":[26],"m":"ld","o":"a,(de)","x":[58492]},{"a":58460,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":58461,"t":"code","b":[202,122,228],"m":"jp","oa":58490,"o":"z,$E47A"},{"a":58464,"t":"code","b":[210,109,228],"m":"jp","oa":58477,"o":"nc,$E46D"},{"a":58467,"t":"code","b":[237,68],"m":"neg"},{"a":58469,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":58471,"t":"code","b":[56,2],"m":"jr","oa":58475,"o":"c,$E46B"},{"a":58473,"t":"code","b":[62,4],"m":"ld","o":"a,$04"},{"a":58475,"t":"code","b":[24,8],"m":"jr","oa":58485,"o":"$E475","x":[58471]},{"a":58477,"t":"code","b":[254,4],"m":"cp","o":"$04","x":[58464]},{"a":58479,"t":"code","b":[56,2],"m":"jr","oa":58483,"o":"c,$E473"},{"a":58481,"t":"code","b":[62,4],"m":"ld","o":"a,$04"},{"a":58483,"t":"code","b":[237,68],"m":"neg","x":[58479]},{"a":58485,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[58475]},{"a":58486,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":58487,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":58488,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":58489,"t":"code","b":[12],"m":"inc","o":"c"},{"a":58490,"t":"code","b":[35],"m":"inc","o":"hl","x":[58461]},{"a":58491,"t":"code","b":[19],"m":"inc","o":"de"},{"a":58492,"t":"code","b":[16,221],"m":"djnz","oa":58459,"o":"$E45B"},{"a":58494,"t":"code","b":[175],"m":"xor","o":"a"},{"a":58495,"t":"code","b":[161],"m":"and","o":"c"},{"a":58496,"t":"code","b":[201],"m":"ret"},{"a":58497,"l":"random","c":"A byte from bank 3 itself, the pointer at $E490 stepping through $C000-$FFFF: the game's random numbers.","t":"code","b":[229],"m":"push","o":"hl","x":[57304,57329,57371]},{"a":58498,"t":"code","b":[42,144,228],"m":"ld","oa":58512,"o":"hl,(random_ptr)"},{"a":58501,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":58502,"t":"code","b":[124],"m":"ld","o":"a,h"},{"a":58503,"t":"code","b":[246,192],"m":"or","o":"$C0"},{"a":58505,"t":"code","b":[103],"m":"ld","o":"h,a"},{"a":58506,"t":"code","b":[34,144,228],"m":"ld","oa":58512,"o":"(random_ptr),hl"},{"a":58509,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":58510,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":58511,"t":"code","b":[201],"m":"ret"},{"a":58512,"l":"random_ptr","c":"The pointer of $E481.","t":"word","b":[0,192],"d":[49152],"x":[58498,58506]},{"a":58514,"l":"record_of","c":"HL = the record of actor number A in the table at $EB05, 8 bytes each.","t":"code","b":[33,5,235],"m":"ld","o":"hl,$EB05","x":[56934,57747,61608,62765,64395]},{"a":58517,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":58518,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":58519,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":58520,"t":"code","b":[48,1],"m":"jr","oa":58523,"o":"nc,$E49B"},{"a":58522,"t":"code","b":[36],"m":"inc","o":"h"},{"a":58523,"t":"code","b":[133],"m":"add","o":"a,l","x":[58520]},{"a":58524,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":58525,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":58526,"t":"code","b":[36],"m":"inc","o":"h"},{"a":58527,"t":"code","b":[201],"m":"ret"},{"a":58528,"l":"add_percent","c":"Adds B to the score's units digit ($8D06), carrying up; $E4A6 adds B hundredths ($8D08), $E4AC adds at HL. The score is five decimal digits from $8D04, the percentage of the game done.","t":"code","b":[229],"m":"push","o":"hl","x":[58770,59743,64674,64764,64779,64789,65044,65212,65254]},{"a":58529,"t":"code","b":[33,6,141],"m":"ld","o":"hl,$8D06"},{"a":58532,"t":"code","b":[24,7],"m":"jr","oa":58541,"o":"$E4AD"},{"a":58534,"t":"code","b":[229],"m":"push","o":"hl","x":[51270,51275]},{"a":58535,"t":"code","b":[33,8,141],"m":"ld","o":"hl,$8D08"},{"a":58538,"t":"code","b":[24,1],"m":"jr","oa":58541,"o":"$E4AD"},{"a":58540,"t":"code","b":[229],"m":"push","o":"hl","x":[59818]},{"a":58541,"t":"code","b":[62,10],"m":"ld","o":"a,$0A","x":[58532,58538]},{"a":58543,"t":"code","b":[229],"m":"push","o":"hl","x":[58554]},{"a":58544,"t":"code","b":[52],"m":"inc","o":"(hl)","x":[58551]},{"a":58545,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":58546,"t":"code","b":[32,5],"m":"jr","oa":58553,"o":"nz,$E4B9"},{"a":58548,"t":"code","b":[54,0],"m":"ld","o":"(hl),$00"},{"a":58550,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":58551,"t":"code","b":[24,247],"m":"jr","oa":58544,"o":"$E4B0"},{"a":58553,"t":"code","b":[225],"m":"pop","o":"hl","x":[58546]},{"a":58554,"t":"code","b":[16,243],"m":"djnz","oa":58543,"o":"$E4AF"},{"a":58556,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":58557,"t":"code","b":[201],"m":"ret"},{"a":58558,"l":"left_behind","c":"A byte for each of the four characters at the end ($E910): $FB7C's answer, 0 for one in play in a state of 7 or less and not 0 for most others; $EA0B names those that are not 0 after PITY ABOUT. One away from the area in state 0 also gets 0, so is neither named nor given the bonus.","t":"byte","b":[0,0,0,0],"x":[59689,59915]},{"a":58562,"l":"state_pull","c":"State 4: the rope's other end ($FA9C 3, the character at $FA9D, $FB60): standing on ground $75 or $76 he or she pulls ($FAEB), facing the one being rescued; otherwise message $10 (I CAN'T REACH FROM HERE).","t":"code","b":[58,156,250],"m":"ld","oa":64156,"o":"a,(rescue_vars)"},{"a":58565,"t":"code","b":[254,3],"m":"cp","o":"$03"},{"a":58567,"t":"code","b":[194,164,229],"m":"jp","oa":58788,"o":"nz,$E5A4"},{"a":58570,"t":"code","b":[229],"m":"push","o":"hl"},{"a":58571,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":58574,"t":"code","b":[34,157,250],"m":"ld","oa":64157,"o":"($FA9D),hl"},{"a":58577,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":58578,"t":"code","b":[194,164,229],"m":"jp","oa":58788,"o":"nz,$E5A4"},{"a":58581,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":58582,"t":"code","b":[198,13],"m":"add","o":"a,$0D"},{"a":58584,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":58585,"t":"code","b":[229],"m":"push","o":"hl"},{"a":58586,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":58587,"t":"code","b":[17,209,142],"m":"ld","o":"de,$8ED1"},{"a":58590,"t":"code","b":[1,4,0],"m":"ld","o":"bc,$0004"},{"a":58593,"t":"code","b":[237,176],"m":"ldir"},{"a":58595,"t":"code","b":[205,213,144],"m":"call","oa":37077,"o":"ground_cell"},{"a":58598,"t":"code","b":[254,118],"m":"cp","o":"$76"},{"a":58600,"t":"code","b":[40,18],"m":"jr","oa":58620,"o":"z,$E4FC"},{"a":58602,"t":"code","b":[254,117],"m":"cp","o":"$75"},{"a":58604,"t":"code","b":[40,14],"m":"jr","oa":58620,"o":"z,$E4FC"},{"a":58606,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":58607,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":58608,"t":"code","b":[214,13],"m":"sub","o":"$0D"},{"a":58610,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":58611,"t":"code","b":[54,1],"m":"ld","o":"(hl),$01"},{"a":58613,"t":"code","b":[45],"m":"dec","o":"l"},{"a":58614,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":58615,"t":"code","b":[6,16],"m":"ld","o":"b,$10"},{"a":58617,"t":"code","b":[195,41,140],"m":"jp","oa":35881,"o":"queue_message"},{"a":58620,"t":"code","b":[225],"m":"pop","o":"hl","x":[58600,58604]},{"a":58621,"t":"code","b":[42,157,250],"m":"ld","oa":64157,"o":"hl,($FA9D)"},{"a":58624,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":58625,"t":"code","b":[198,14],"m":"add","o":"a,$0E"},{"a":58627,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":58628,"t":"code","b":[205,235,250],"m":"call","oa":64235,"o":"coarse_place"},{"a":58631,"t":"code","b":[33,58,160],"m":"ld","o":"hl,$A03A"},{"a":58634,"t":"code","b":[14,3],"m":"ld","o":"c,$03"},{"a":58636,"t":"code","b":[58,8,219],"m":"ld","oa":56072,"o":"a,($DB08)"},{"a":58639,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":58640,"t":"code","b":[48,4],"m":"jr","oa":58646,"o":"nc,$E516"},{"a":58642,"t":"code","b":[237,68],"m":"neg"},{"a":58644,"t":"code","b":[14,1],"m":"ld","o":"c,$01"},{"a":58646,"t":"code","b":[254,1],"m":"cp","o":"$01","x":[58640]},{"a":58648,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":58649,"t":"code","b":[210,126,223],"m":"jp","oa":57214,"o":"nc,$DF7E"},{"a":58652,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":58653,"t":"code","b":[58,9,219],"m":"ld","oa":56073,"o":"a,($DB09)"},{"a":58656,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":58657,"t":"code","b":[62,23],"m":"ld","o":"a,$17"},{"a":58659,"t":"code","b":[48,2],"m":"jr","oa":58663,"o":"nc,$E527"},{"a":58661,"t":"code","b":[62,21],"m":"ld","o":"a,$15"},{"a":58663,"t":"code","b":[253,119,13],"m":"ld","o":"(iy+$0D),a","x":[58659]},{"a":58666,"t":"code","b":[253,54,1,6],"m":"ld","o":"(iy+$01),$06"},{"a":58670,"t":"code","b":[42,157,250],"m":"ld","oa":64157,"o":"hl,($FA9D)"},{"a":58673,"t":"code","b":[44],"m":"inc","o":"l"},{"a":58674,"t":"code","b":[54,5],"m":"ld","o":"(hl),$05"},{"a":58676,"t":"code","b":[201],"m":"ret"},{"a":58677,"l":"state_throw","c":"State 6: the rope is thrown ($8D12 makes $E6B3 draw it) and the rescuer turns towards Clive.","t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":58679,"t":"code","b":[50,18,141],"m":"ld","oa":36114,"o":"($8D12),a"},{"a":58682,"t":"code","b":[229],"m":"push","o":"hl"},{"a":58683,"t":"code","b":[62,3],"m":"ld","o":"a,$03"},{"a":58685,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":58688,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":58689,"t":"code","b":[194,164,229],"m":"jp","oa":58788,"o":"nz,$E5A4"},{"a":58692,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":58693,"t":"code","b":[198,12],"m":"add","o":"a,$0C"},{"a":58695,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":58696,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":58697,"t":"code","b":[1,3,0],"m":"ld","o":"bc,$0003"},{"a":58700,"t":"code","b":[58,17,141],"m":"ld","oa":36113,"o":"a,($8D11)"},{"a":58703,"t":"code","b":[60],"m":"inc","o":"a"},{"a":58704,"t":"code","b":[40,22],"m":"jr","oa":58728,"o":"z,$E568"},{"a":58706,"t":"code","b":[42,157,250],"m":"ld","oa":64157,"o":"hl,($FA9D)"},{"a":58709,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":58710,"t":"code","b":[198,18],"m":"add","o":"a,$12"},{"a":58712,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":58713,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":58714,"t":"code","b":[1,1,128],"m":"ld","o":"bc,$8001"},{"a":58717,"t":"code","b":[254,176],"m":"cp","o":"$B0"},{"a":58719,"t":"code","b":[48,7],"m":"jr","oa":58728,"o":"nc,$E568"},{"a":58721,"t":"code","b":[14,3],"m":"ld","o":"c,$03"},{"a":58723,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":58725,"t":"code","b":[50,17,141],"m":"ld","oa":36113,"o":"($8D11),a"},{"a":58728,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[58704,58719]},{"a":58729,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":58730,"t":"code","b":[129],"m":"add","o":"a,c"},{"a":58731,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":58733,"t":"code","b":[32,2],"m":"jr","oa":58737,"o":"nz,$E571"},{"a":58735,"t":"code","b":[62,4],"m":"ld","o":"a,$04"},{"a":58737,"t":"code","b":[176],"m":"or","o":"b","x":[58733]},{"a":58738,"t":"code","b":[205,126,223],"m":"call","oa":57214,"o":"$DF7E"},{"a":58741,"t":"code","b":[201],"m":"ret"},{"a":58742,"l":"state_haul","c":"State 5: Clive is hauled up the rope until he stands on ground $75: 10% is added to the score ($E4A0) and both go back to following ($E5A8).","t":"code","b":[229],"m":"push","o":"hl"},{"a":58743,"t":"code","b":[229],"m":"push","o":"hl"},{"a":58744,"t":"code","b":[205,141,230],"m":"call","oa":59021,"o":"rope_timer"},{"a":58747,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":58748,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":58749,"t":"code","b":[198,13],"m":"add","o":"a,$0D"},{"a":58751,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":58752,"t":"code","b":[17,209,142],"m":"ld","o":"de,$8ED1"},{"a":58755,"t":"code","b":[1,4,0],"m":"ld","o":"bc,$0004"},{"a":58758,"t":"code","b":[237,176],"m":"ldir"},{"a":58760,"t":"code","b":[205,213,144],"m":"call","oa":37077,"o":"ground_cell"},{"a":58763,"t":"code","b":[254,117],"m":"cp","o":"$75"},{"a":58765,"t":"code","b":[202,187,229],"m":"jp","oa":58811,"o":"z,$E5BB"},{"a":58768,"t":"code","b":[6,10],"m":"ld","o":"b,$0A"},{"a":58770,"t":"code","b":[205,160,228],"m":"call","oa":58528,"o":"add_percent"},{"a":58773,"t":"code","b":[175],"m":"xor","o":"a"},{"a":58774,"t":"code","b":[50,18,141],"m":"ld","oa":36114,"o":"($8D12),a"},{"a":58777,"t":"code","b":[61],"m":"dec","o":"a"},{"a":58778,"t":"code","b":[50,17,141],"m":"ld","oa":36113,"o":"($8D11),a"},{"a":58781,"t":"code","b":[50,156,250],"m":"ld","oa":64156,"o":"(rescue_vars),a"},{"a":58784,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":58785,"t":"code","b":[205,168,229],"m":"call","oa":58792,"o":"back_to_follow"},{"a":58788,"t":"code","b":[42,159,250],"m":"ld","oa":64159,"o":"hl,($FA9F)","x":[58567,58578,58689]},{"a":58791,"t":"code","b":[44],"m":"inc","o":"l"},{"a":58792,"l":"back_to_follow","c":"State 1 and action 0 for the actor at HL.","t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[58785]},{"a":58793,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":58795,"t":"code","b":[40,2],"m":"jr","oa":58799,"o":"z,$E5AF"},{"a":58797,"t":"code","b":[54,1],"m":"ld","o":"(hl),$01"},{"a":58799,"t":"code","b":[125],"m":"ld","o":"a,l","x":[58795]},{"a":58800,"t":"code","b":[198,12],"m":"add","o":"a,$0C"},{"a":58802,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":58803,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":58804,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":58806,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":58807,"t":"code","b":[45],"m":"dec","o":"l"},{"a":58808,"t":"code","b":[54,128],"m":"ld","o":"(hl),$80"},{"a":58810,"t":"code","b":[201],"m":"ret"},{"a":58811,"t":"code","b":[42,159,250],"m":"ld","oa":64159,"o":"hl,($FA9F)","x":[58765]},{"a":58814,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":58815,"t":"code","b":[198,13],"m":"add","o":"a,$0D"},{"a":58817,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":58818,"t":"code","b":[70],"m":"ld","o":"b,(hl)"},{"a":58819,"t":"code","b":[45],"m":"dec","o":"l"},{"a":58820,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":58821,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":58822,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":58823,"t":"code","b":[198,17],"m":"add","o":"a,$11"},{"a":58825,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":58826,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":58827,"t":"code","b":[44],"m":"inc","o":"l"},{"a":58828,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":58829,"t":"code","b":[58,17,141],"m":"ld","oa":36113,"o":"a,($8D11)"},{"a":58832,"t":"code","b":[60],"m":"inc","o":"a"},{"a":58833,"t":"code","b":[194,242,229],"m":"jp","oa":58866,"o":"nz,$E5F2"},{"a":58836,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":58837,"t":"code","b":[238,2],"m":"xor","o":"$02"},{"a":58839,"t":"code","b":[253,119,13],"m":"ld","o":"(iy+$0D),a"},{"a":58842,"t":"code","b":[203,122],"m":"bit","o":"7,d"},{"a":58844,"t":"code","b":[202,238,229],"m":"jp","oa":58862,"o":"z,$E5EE"},{"a":58847,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":58848,"t":"code","b":[1,4,0],"m":"ld","o":"bc,$0004"},{"a":58851,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":58852,"t":"code","b":[48,3],"m":"jr","oa":58857,"o":"nc,$E5E9"},{"a":58854,"t":"code","b":[33,0,0],"m":"ld","o":"hl,$0000"},{"a":58857,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[58852]},{"a":58858,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":58859,"t":"code","b":[45],"m":"dec","o":"l"},{"a":58860,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":58861,"t":"code","b":[201],"m":"ret"},{"a":58862,"t":"code","b":[121],"m":"ld","o":"a,c","x":[58844]},{"a":58863,"t":"code","b":[195,126,223],"m":"jp","oa":57214,"o":"$DF7E"},{"a":58866,"t":"code","b":[45],"m":"dec","o":"l","x":[58833]},{"a":58867,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":58868,"t":"code","b":[203,127],"m":"bit","o":"7,a"},{"a":58870,"t":"code","b":[40,7],"m":"jr","oa":58879,"o":"z,$E5FF"},{"a":58872,"t":"code","b":[214,4],"m":"sub","o":"$04"},{"a":58874,"t":"code","b":[254,168],"m":"cp","o":"$A8"},{"a":58876,"t":"code","b":[56,1],"m":"jr","oa":58879,"o":"c,$E5FF"},{"a":58878,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":58879,"t":"code","b":[125],"m":"ld","o":"a,l","x":[58870,58876]},{"a":58880,"t":"code","b":[214,5],"m":"sub","o":"$05"},{"a":58882,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":58883,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":58884,"t":"code","b":[60],"m":"inc","o":"a"},{"a":58885,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":58887,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":58888,"t":"code","b":[201],"m":"ret"},{"a":58889,"l":"clive_falls","c":"Ground $74 under Clive: he falls through (state 9, action $80, 24 units down), shouting HELP (message 14, sound effect 5), and his place is kept at $ED50 ($F818); while he hangs the count at $8D11 goes up, with HURRY UP HURRY UP (message 15) at $C0.","t":"code","b":[62,3],"m":"ld","o":"a,$03"},{"a":58891,"t":"code","b":[50,156,250],"m":"ld","oa":64156,"o":"(rescue_vars),a"},{"a":58894,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":58895,"t":"code","b":[44],"m":"inc","o":"l"},{"a":58896,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":58897,"t":"code","b":[45],"m":"dec","o":"l"},{"a":58898,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":58900,"t":"code","b":[254,5],"m":"cp","o":"$05"},{"a":58902,"t":"code","b":[200],"m":"ret","o":"z"},{"a":58903,"t":"code","b":[34,157,250],"m":"ld","oa":64157,"o":"($FA9D),hl"},{"a":58906,"t":"code","b":[58,17,141],"m":"ld","oa":36113,"o":"a,($8D11)"},{"a":58909,"t":"code","b":[44],"m":"inc","o":"l"},{"a":58910,"t":"code","b":[54,9],"m":"ld","o":"(hl),$09"},{"a":58912,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":58914,"t":"code","b":[202,6,147],"m":"jp","oa":37638,"o":"z,$9306"},{"a":58917,"t":"code","b":[167],"m":"and","o":"a"},{"a":58918,"t":"code","b":[194,95,230],"m":"jp","oa":58975,"o":"nz,$E65F"},{"a":58921,"t":"code","b":[62,5],"m":"ld","o":"a,$05"},{"a":58923,"t":"code","b":[50,6,112],"m":"ld","oa":28678,"o":"($7006),a"},{"a":58926,"t":"code","b":[33,232,255],"m":"ld","o":"hl,$FFE8"},{"a":58929,"t":"code","b":[34,213,142],"m":"ld","oa":36565,"o":"($8ED5),hl"},{"a":58932,"t":"code","b":[1,3,14],"m":"ld","o":"bc,$0E03"},{"a":58935,"t":"code","b":[205,41,140],"m":"call","oa":35881,"o":"queue_message"},{"a":58938,"t":"code","b":[253,54,12,128],"m":"ld","o":"(iy+$0C),$80"},{"a":58942,"t":"code","b":[17,80,237],"m":"ld","o":"de,$ED50"},{"a":58945,"t":"code","b":[62,14],"m":"ld","o":"a,$0E"},{"a":58947,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":58948,"t":"code","b":[19],"m":"inc","o":"de"},{"a":58949,"t":"code","b":[6,2],"m":"ld","o":"b,$02"},{"a":58951,"t":"code","b":[33,209,142],"m":"ld","o":"hl,$8ED1"},{"a":58954,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[58966]},{"a":58955,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":58956,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":58957,"t":"code","b":[203,25],"m":"rr","o":"c"},{"a":58959,"t":"code","b":[31],"m":"rra"},{"a":58960,"t":"code","b":[203,25],"m":"rr","o":"c"},{"a":58962,"t":"code","b":[31],"m":"rra"},{"a":58963,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":58964,"t":"code","b":[19],"m":"inc","o":"de"},{"a":58965,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":58966,"t":"code","b":[16,242],"m":"djnz","oa":58954,"o":"$E64A"},{"a":58968,"t":"code","b":[175],"m":"xor","o":"a"},{"a":58969,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":58970,"t":"code","b":[27],"m":"dec","o":"de"},{"a":58971,"t":"code","b":[205,24,248],"m":"call","oa":63512,"o":"object_screen"},{"a":58974,"t":"code","b":[175],"m":"xor","o":"a"},{"a":58975,"t":"code","b":[60],"m":"inc","o":"a","x":[58918]},{"a":58976,"t":"code","b":[50,17,141],"m":"ld","oa":36113,"o":"($8D11),a"},{"a":58979,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":58981,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":58982,"t":"code","b":[253,126,13],"m":"ld","o":"a,(iy+$0D)"},{"a":58985,"t":"code","b":[12],"m":"inc","o":"c"},{"a":58986,"t":"code","b":[12],"m":"inc","o":"c"},{"a":58987,"t":"code","b":[203,79],"m":"bit","o":"1,a"},{"a":58989,"t":"code","b":[40,4],"m":"jr","oa":58995,"o":"z,$E673"},{"a":58991,"t":"code","b":[12],"m":"inc","o":"c"},{"a":58992,"t":"code","b":[12],"m":"inc","o":"c"},{"a":58993,"t":"code","b":[12],"m":"inc","o":"c"},{"a":58994,"t":"code","b":[12],"m":"inc","o":"c"},{"a":58995,"t":"code","b":[203,71],"m":"bit","o":"0,a","x":[58989]},{"a":58997,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":58998,"t":"code","b":[40,2],"m":"jr","oa":59002,"o":"z,$E67A"},{"a":59000,"t":"code","b":[246,128],"m":"or","o":"$80"},{"a":59002,"t":"code","b":[50,215,142],"m":"ld","oa":36567,"o":"($8ED7),a","x":[58998]},{"a":59005,"t":"code","b":[205,141,230],"m":"call","oa":59021,"o":"rope_timer"},{"a":59008,"t":"code","b":[58,17,141],"m":"ld","oa":36113,"o":"a,($8D11)"},{"a":59011,"t":"code","b":[1,3,15],"m":"ld","o":"bc,$0F03"},{"a":59014,"t":"code","b":[254,192],"m":"cp","o":"$C0"},{"a":59016,"t":"code","b":[204,41,140],"m":"call","oa":35881,"o":"z,queue_message"},{"a":59019,"t":"code","b":[175],"m":"xor","o":"a"},{"a":59020,"t":"code","b":[201],"m":"ret"},{"a":59021,"l":"rope_timer","c":"While object $11 is at $ED4F, $ED55 counts to $48, then it becomes $12.","t":"code","b":[33,79,237],"m":"ld","o":"hl,$ED4F","x":[58744,59005]},{"a":59024,"t":"code","b":[58,79,237],"m":"ld","oa":60751,"o":"a,(objects_extra)"},{"a":59027,"t":"code","b":[230,31],"m":"and","o":"$1F"},{"a":59029,"t":"code","b":[254,17],"m":"cp","o":"$11"},{"a":59031,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":59032,"t":"code","b":[33,85,237],"m":"ld","o":"hl,$ED55"},{"a":59035,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":59036,"t":"code","b":[60],"m":"inc","o":"a"},{"a":59037,"t":"code","b":[254,72],"m":"cp","o":"$48"},{"a":59039,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":59040,"t":"code","b":[216],"m":"ret","o":"c"},{"a":59041,"t":"code","b":[62,18],"m":"ld","o":"a,$12"},{"a":59043,"t":"code","b":[50,79,237],"m":"ld","oa":60751,"o":"(objects_extra),a"},{"a":59046,"t":"code","b":[33,111,48],"m":"ld","o":"hl,$306F"},{"a":59049,"t":"code","b":[34,84,237],"m":"ld","oa":60756,"o":"($ED54),hl"},{"a":59052,"t":"code","b":[33,255,255],"m":"ld","o":"hl,$FFFF"},{"a":59055,"t":"code","b":[34,81,237],"m":"ld","oa":60753,"o":"($ED51),hl"},{"a":59058,"t":"code","b":[201],"m":"ret"},{"a":59059,"l":"draw_rope","c":"When $8D12 is set (once): the rope between the rescuer ($FA9F) and Clive ($FA9D) is made of the shot records: shot 0 ($C100) a line from the rescuer's muzzle 5 along the down axis to Clive's down (its end keeps the rescuer's across and height), and when Clive hangs below the ground a second, shot 1 ($C118), straight down (direction 4) from its end to 16 above him. They are drawn as shots are ($C260).","t":"code","b":[58,18,141],"m":"ld","oa":36114,"o":"a,($8D12)"},{"a":59062,"t":"code","b":[167],"m":"and","o":"a"},{"a":59063,"t":"code","b":[200],"m":"ret","o":"z"},{"a":59064,"t":"code","b":[175],"m":"xor","o":"a"},{"a":59065,"t":"code","b":[50,18,141],"m":"ld","oa":36114,"o":"($8D12),a"},{"a":59068,"t":"code","b":[17,0,193],"m":"ld","o":"de,$C100"},{"a":59071,"t":"code","b":[42,159,250],"m":"ld","oa":64159,"o":"hl,($FA9F)"},{"a":59074,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":59075,"t":"code","b":[198,13],"m":"add","o":"a,$0D"},{"a":59077,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":59078,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":59079,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":59081,"t":"code","b":[246,32],"m":"or","o":"$20"},{"a":59083,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":59084,"t":"code","b":[238,32],"m":"xor","o":"$20"},{"a":59086,"t":"code","b":[28],"m":"inc","o":"e"},{"a":59087,"t":"code","b":[28],"m":"inc","o":"e"},{"a":59088,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59089,"t":"code","b":[217],"m":"exx"},{"a":59090,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":59091,"t":"code","b":[62,5],"m":"ld","o":"a,$05"},{"a":59093,"t":"code","b":[205,89,200],"m":"call","oa":51289,"o":"muzzle"},{"a":59096,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":59097,"t":"code","b":[198,4],"m":"add","o":"a,$04"},{"a":59099,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":59100,"t":"code","b":[42,157,250],"m":"ld","oa":64157,"o":"hl,($FA9D)"},{"a":59103,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":59104,"t":"code","b":[198,14],"m":"add","o":"a,$0E"},{"a":59106,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":59107,"t":"code","b":[217],"m":"exx"},{"a":59108,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":59110,"t":"code","b":[62,5],"m":"ld","o":"a,$05"},{"a":59112,"t":"code","b":[205,89,200],"m":"call","oa":51289,"o":"muzzle"},{"a":59115,"t":"code","b":[42,2,193],"m":"ld","oa":49410,"o":"hl,($C102)"},{"a":59118,"t":"code","b":[34,12,193],"m":"ld","oa":49420,"o":"($C10C),hl"},{"a":59121,"t":"code","b":[42,6,193],"m":"ld","oa":49414,"o":"hl,($C106)"},{"a":59124,"t":"code","b":[34,16,193],"m":"ld","oa":49424,"o":"($C110),hl"},{"a":59127,"t":"code","b":[42,157,250],"m":"ld","oa":64157,"o":"hl,($FA9D)"},{"a":59130,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":59131,"t":"code","b":[198,18],"m":"add","o":"a,$12"},{"a":59133,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":59134,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":59135,"t":"code","b":[203,127],"m":"bit","o":"7,a"},{"a":59137,"t":"code","b":[40,49],"m":"jr","oa":59188,"o":"z,$E734"},{"a":59139,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59140,"t":"code","b":[102],"m":"ld","o":"h,(hl)"},{"a":59141,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":59142,"t":"code","b":[1,16,0],"m":"ld","o":"bc,$0010"},{"a":59145,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":59146,"t":"code","b":[229],"m":"push","o":"hl"},{"a":59147,"t":"code","b":[48,8],"m":"jr","oa":59157,"o":"nc,$E715"},{"a":59149,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":59150,"t":"code","b":[254,17],"m":"cp","o":"$11"},{"a":59152,"t":"code","b":[56,3],"m":"jr","oa":59157,"o":"c,$E715"},{"a":59154,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":59155,"t":"code","b":[40,31],"m":"jr","oa":59188,"o":"z,$E734"},{"a":59157,"t":"code","b":[33,24,193],"m":"ld","o":"hl,$C118","x":[59147,59152]},{"a":59160,"t":"code","b":[62,4],"m":"ld","o":"a,$04"},{"a":59162,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":59163,"t":"code","b":[17,26,193],"m":"ld","o":"de,$C11A"},{"a":59166,"t":"code","b":[33,12,193],"m":"ld","o":"hl,$C10C"},{"a":59169,"t":"code","b":[1,6,0],"m":"ld","o":"bc,$0006"},{"a":59172,"t":"code","b":[237,176],"m":"ldir"},{"a":59174,"t":"code","b":[17,36,193],"m":"ld","o":"de,$C124"},{"a":59177,"t":"code","b":[33,26,193],"m":"ld","o":"hl,$C11A"},{"a":59180,"t":"code","b":[14,4],"m":"ld","o":"c,$04"},{"a":59182,"t":"code","b":[237,176],"m":"ldir"},{"a":59184,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":59185,"t":"code","b":[34,40,193],"m":"ld","oa":49448,"o":"($C128),hl"},{"a":59188,"t":"code","b":[42,14,193],"m":"ld","oa":49422,"o":"hl,($C10E)","x":[59137,59155]},{"a":59191,"t":"code","b":[229],"m":"push","o":"hl"},{"a":59192,"t":"code","b":[33,79,231],"m":"ld","o":"hl,$E74F"},{"a":59195,"t":"code","b":[229],"m":"push","o":"hl"},{"a":59196,"t":"code","b":[33,0,193],"m":"ld","o":"hl,$C100"},{"a":59199,"t":"code","b":[34,24,194],"m":"ld","oa":49688,"o":"(shot_ptr),hl","x":[59225]},{"a":59202,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":59203,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":59205,"t":"code","b":[200],"m":"ret","o":"z"},{"a":59206,"t":"code","b":[230,7],"m":"and","o":"$07"},{"a":59208,"t":"code","b":[50,26,194],"m":"ld","oa":49690,"o":"($C21A),a"},{"a":59211,"t":"code","b":[229],"m":"push","o":"hl"},{"a":59212,"t":"code","b":[195,96,194],"m":"jp","oa":49760,"o":"$C260"},{"a":59215,"l":"rope_end","c":"After the rope's first line: when its end was not clipped (its +$0E as it was), the second line is drawn too ($E73F); otherwise the second is removed.","t":"code","b":[42,14,193],"m":"ld","oa":49422,"o":"hl,($C10E)"},{"a":59218,"t":"code","b":[209],"m":"pop","o":"de"},{"a":59219,"t":"code","b":[167],"m":"and","o":"a"},{"a":59220,"t":"code","b":[237,82],"m":"sbc","o":"hl,de"},{"a":59222,"t":"code","b":[33,24,193],"m":"ld","o":"hl,$C118"},{"a":59225,"t":"code","b":[40,228],"m":"jr","oa":59199,"o":"z,$E73F"},{"a":59227,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":59229,"t":"code","b":[201],"m":"ret"},{"a":59230,"l":"clip_falling","c":"Keeps a line going down (direction 4) within the view: NZ when its column (+8) is left of the view ($9635) or $DF or more to its right, or when its end (+$14, as it was before clipping) is above the word at +$1E, which is the next shot's record ($18 bytes on) at +6. Otherwise A is 0 and Z, with its start (+$0A) no higher than the view's top ($9637, $9632 added to its low byte) and its end (+$14) no lower than the top plus $8F.","t":"code","b":[229],"m":"push","o":"hl","x":[49787]},{"a":59231,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":59232,"t":"code","b":[198,8],"m":"add","o":"a,$08"},{"a":59234,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":59235,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":59236,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59237,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":59238,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59239,"t":"code","b":[237,75,53,150],"m":"ld","oa":38453,"o":"bc,($9635)"},{"a":59243,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":59245,"t":"code","b":[48,2],"m":"jr","oa":59249,"o":"nc,$E771"},{"a":59247,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":59248,"t":"code","b":[201],"m":"ret"},{"a":59249,"t":"code","b":[9],"m":"add","o":"hl,bc","x":[59245]},{"a":59250,"t":"code","b":[62,223],"m":"ld","o":"a,$DF"},{"a":59252,"t":"code","b":[129],"m":"add","o":"a,c"},{"a":59253,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":59254,"t":"code","b":[48,1],"m":"jr","oa":59257,"o":"nc,$E779"},{"a":59256,"t":"code","b":[4],"m":"inc","o":"b"},{"a":59257,"t":"code","b":[167],"m":"and","o":"a","x":[59254]},{"a":59258,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":59260,"t":"code","b":[56,4],"m":"jr","oa":59266,"o":"c,$E782"},{"a":59262,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":59263,"t":"code","b":[246,1],"m":"or","o":"$01"},{"a":59265,"t":"code","b":[201],"m":"ret"},{"a":59266,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[59260]},{"a":59267,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59268,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":59269,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59270,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":59271,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59272,"t":"code","b":[237,75,55,150],"m":"ld","oa":38455,"o":"bc,($9637)"},{"a":59276,"t":"code","b":[58,50,150],"m":"ld","oa":38450,"o":"a,($9632)"},{"a":59279,"t":"code","b":[129],"m":"add","o":"a,c"},{"a":59280,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":59281,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":59283,"t":"code","b":[48,6],"m":"jr","oa":59291,"o":"nc,$E79B"},{"a":59285,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59286,"t":"code","b":[112],"m":"ld","o":"(hl),b"},{"a":59287,"t":"code","b":[45],"m":"dec","o":"l"},{"a":59288,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":59289,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59290,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59291,"t":"code","b":[123],"m":"ld","o":"a,e","x":[59283]},{"a":59292,"t":"code","b":[198,9],"m":"add","o":"a,$09"},{"a":59294,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":59295,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":59296,"t":"code","b":[198,143],"m":"add","o":"a,$8F"},{"a":59298,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":59299,"t":"code","b":[48,1],"m":"jr","oa":59302,"o":"nc,$E7A6"},{"a":59301,"t":"code","b":[4],"m":"inc","o":"b"},{"a":59302,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[59299]},{"a":59303,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":59304,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59305,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":59306,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59307,"t":"code","b":[167],"m":"and","o":"a"},{"a":59308,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":59310,"t":"code","b":[56,6],"m":"jr","oa":59318,"o":"c,$E7B6"},{"a":59312,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59313,"t":"code","b":[112],"m":"ld","o":"(hl),b"},{"a":59314,"t":"code","b":[45],"m":"dec","o":"l"},{"a":59315,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":59316,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59317,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59318,"t":"code","b":[9],"m":"add","o":"hl,bc","x":[59310]},{"a":59319,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59320,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":59321,"t":"code","b":[214,247],"m":"sub","o":"$F7"},{"a":59323,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":59324,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":59325,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59326,"t":"code","b":[70],"m":"ld","o":"b,(hl)"},{"a":59327,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59328,"t":"code","b":[167],"m":"and","o":"a"},{"a":59329,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":59331,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":59332,"t":"code","b":[216],"m":"ret","o":"c"},{"a":59333,"t":"code","b":[175],"m":"xor","o":"a"},{"a":59334,"t":"code","b":[201],"m":"ret"},{"a":59335,"l":"shot_visible","c":"Clips a shot's line in the four other directions to the view, the ends brought within the view's columns ($E871, $E88C) and rows; NZ when nothing of it is left on the screen.","t":"code","b":[42,24,194],"m":"ld","oa":49688,"o":"hl,(shot_ptr)","x":[49760]},{"a":59338,"t":"code","b":[229],"m":"push","o":"hl"},{"a":59339,"t":"code","b":[221,225],"m":"pop","o":"ix"},{"a":59341,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":59342,"t":"code","b":[230,7],"m":"and","o":"$07"},{"a":59344,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":59346,"t":"code","b":[200],"m":"ret","o":"z"},{"a":59347,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":59348,"t":"code","b":[198,2],"m":"add","o":"a,$02"},{"a":59350,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":59351,"t":"code","b":[58,26,194],"m":"ld","oa":49690,"o":"a,($C21A)"},{"a":59354,"t":"code","b":[203,71],"m":"bit","o":"0,a"},{"a":59356,"t":"code","b":[32,18],"m":"jr","oa":59376,"o":"nz,$E7F0"},{"a":59358,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":59359,"t":"code","b":[229],"m":"push","o":"hl"},{"a":59360,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59361,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59362,"t":"code","b":[205,113,232],"m":"call","oa":59505,"o":"view_limits"},{"a":59365,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59366,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":59367,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":59368,"t":"code","b":[203,79],"m":"bit","o":"1,a"},{"a":59370,"t":"code","b":[194,36,232],"m":"jp","oa":59428,"o":"nz,$E824"},{"a":59373,"t":"code","b":[195,254,231],"m":"jp","oa":59390,"o":"$E7FE"},{"a":59376,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[59356]},{"a":59377,"t":"code","b":[229],"m":"push","o":"hl"},{"a":59378,"t":"code","b":[205,140,232],"m":"call","oa":59532,"o":"$E88C"},{"a":59381,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59382,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":59383,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59384,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59385,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":59386,"t":"code","b":[203,79],"m":"bit","o":"1,a"},{"a":59388,"t":"code","b":[32,38],"m":"jr","oa":59428,"o":"nz,$E824"},{"a":59390,"t":"code","b":[197],"m":"push","o":"bc","x":[59373]},{"a":59391,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":59392,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59393,"t":"code","b":[70],"m":"ld","o":"b,(hl)"},{"a":59394,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59395,"t":"code","b":[167],"m":"and","o":"a"},{"a":59396,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":59398,"t":"code","b":[56,7],"m":"jr","oa":59407,"o":"c,$E80F"},{"a":59400,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":59401,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59402,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":59403,"t":"code","b":[45],"m":"dec","o":"l"},{"a":59404,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":59405,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59406,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59407,"t":"code","b":[123],"m":"ld","o":"a,e","x":[59398]},{"a":59408,"t":"code","b":[198,9],"m":"add","o":"a,$09"},{"a":59410,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":59411,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59412,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":59413,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59414,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":59415,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59416,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":59417,"t":"code","b":[167],"m":"and","o":"a"},{"a":59418,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":59420,"t":"code","b":[56,4],"m":"jr","oa":59426,"o":"c,$E822"},{"a":59422,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59423,"t":"code","b":[112],"m":"ld","o":"(hl),b"},{"a":59424,"t":"code","b":[45],"m":"dec","o":"l"},{"a":59425,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":59426,"t":"code","b":[24,35],"m":"jr","oa":59463,"o":"$E847","x":[59420]},{"a":59428,"t":"code","b":[213],"m":"push","o":"de","x":[59370,59388]},{"a":59429,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":59430,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59431,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":59432,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59433,"t":"code","b":[167],"m":"and","o":"a"},{"a":59434,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":59436,"t":"code","b":[56,6],"m":"jr","oa":59444,"o":"c,$E834"},{"a":59438,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59439,"t":"code","b":[112],"m":"ld","o":"(hl),b"},{"a":59440,"t":"code","b":[45],"m":"dec","o":"l"},{"a":59441,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":59442,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59443,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59444,"t":"code","b":[123],"m":"ld","o":"a,e","x":[59436]},{"a":59445,"t":"code","b":[198,9],"m":"add","o":"a,$09"},{"a":59447,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":59448,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59449,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":59450,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59451,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":59452,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59453,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":59454,"t":"code","b":[167],"m":"and","o":"a"},{"a":59455,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":59457,"t":"code","b":[48,4],"m":"jr","oa":59463,"o":"nc,$E847"},{"a":59459,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59460,"t":"code","b":[112],"m":"ld","o":"(hl),b"},{"a":59461,"t":"code","b":[45],"m":"dec","o":"l"},{"a":59462,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":59463,"t":"code","b":[42,24,194],"m":"ld","oa":49688,"o":"hl,(shot_ptr)","x":[59426,59457]},{"a":59466,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":59467,"t":"code","b":[198,2],"m":"add","o":"a,$02"},{"a":59469,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":59470,"t":"code","b":[58,26,194],"m":"ld","oa":49690,"o":"a,($C21A)"},{"a":59473,"t":"code","b":[203,71],"m":"bit","o":"0,a"},{"a":59475,"t":"code","b":[40,2],"m":"jr","oa":59479,"o":"z,$E857"},{"a":59477,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59478,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59479,"t":"code","b":[94],"m":"ld","o":"e,(hl)","x":[59475]},{"a":59480,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59481,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":59482,"t":"code","b":[1,9,0],"m":"ld","o":"bc,$0009"},{"a":59485,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":59486,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":59487,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59488,"t":"code","b":[70],"m":"ld","o":"b,(hl)"},{"a":59489,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59490,"t":"code","b":[167],"m":"and","o":"a"},{"a":59491,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":59493,"t":"code","b":[203,79],"m":"bit","o":"1,a"},{"a":59495,"t":"code","b":[40,1],"m":"jr","oa":59498,"o":"z,$E86A"},{"a":59497,"t":"code","b":[63],"m":"ccf"},{"a":59498,"t":"code","b":[56,3],"m":"jr","oa":59503,"o":"c,$E86F","x":[59495]},{"a":59500,"t":"code","b":[246,1],"m":"or","o":"$01"},{"a":59502,"t":"code","b":[201],"m":"ret"},{"a":59503,"t":"code","b":[175],"m":"xor","o":"a","x":[59498]},{"a":59504,"t":"code","b":[201],"m":"ret"},{"a":59505,"l":"view_limits","c":"The view's limits across and down for clipping a shot's line, from $9635 and $9637.","t":"code","b":[94],"m":"ld","o":"e,(hl)","x":[59362]},{"a":59506,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59507,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":59508,"t":"code","b":[213],"m":"push","o":"de"},{"a":59509,"t":"code","b":[20],"m":"inc","o":"d"},{"a":59510,"t":"code","b":[20],"m":"inc","o":"d"},{"a":59511,"t":"code","b":[42,53,150],"m":"ld","oa":38453,"o":"hl,($9635)"},{"a":59514,"t":"code","b":[203,60],"m":"srl","o":"h"},{"a":59516,"t":"code","b":[203,29],"m":"rr","o":"l"},{"a":59518,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":59519,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59520,"t":"code","b":[167],"m":"and","o":"a"},{"a":59521,"t":"code","b":[237,82],"m":"sbc","o":"hl,de"},{"a":59523,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59524,"t":"code","b":[33,146,255],"m":"ld","o":"hl,$FF92"},{"a":59527,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":59528,"t":"code","b":[227],"m":"ex","o":"(sp),hl"},{"a":59529,"t":"code","b":[213],"m":"push","o":"de"},{"a":59530,"t":"code","b":[24,23],"m":"jr","oa":59555,"o":"$E8A3"},{"a":59532,"t":"code","b":[94],"m":"ld","o":"e,(hl)","x":[59378]},{"a":59533,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59534,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":59535,"t":"code","b":[213],"m":"push","o":"de"},{"a":59536,"t":"code","b":[42,53,150],"m":"ld","oa":38453,"o":"hl,($9635)"},{"a":59539,"t":"code","b":[203,60],"m":"srl","o":"h"},{"a":59541,"t":"code","b":[203,29],"m":"rr","o":"l"},{"a":59543,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":59544,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":59545,"t":"code","b":[37],"m":"dec","o":"h"},{"a":59546,"t":"code","b":[37],"m":"dec","o":"h"},{"a":59547,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59548,"t":"code","b":[33,110,0],"m":"ld","o":"hl,$006E"},{"a":59551,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":59552,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59553,"t":"code","b":[227],"m":"ex","o":"(sp),hl"},{"a":59554,"t":"code","b":[213],"m":"push","o":"de"},{"a":59555,"t":"code","b":[237,91,55,150],"m":"ld","oa":38455,"o":"de,($9637)","x":[59530]},{"a":59559,"t":"code","b":[58,50,150],"m":"ld","oa":38450,"o":"a,($9632)"},{"a":59562,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":59563,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":59564,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":59565,"t":"code","b":[221,94,6],"m":"ld","o":"e,(ix+$06)"},{"a":59568,"t":"code","b":[221,86,7],"m":"ld","o":"d,(ix+$07)"},{"a":59571,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":59572,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59573,"t":"code","b":[33,7,6],"m":"ld","o":"hl,$0607"},{"a":59576,"t":"code","b":[237,82],"m":"sbc","o":"hl,de"},{"a":59578,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59579,"t":"code","b":[33,113,255],"m":"ld","o":"hl,$FF71"},{"a":59582,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":59583,"t":"code","b":[227],"m":"ex","o":"(sp),hl"},{"a":59584,"t":"code","b":[167],"m":"and","o":"a"},{"a":59585,"t":"code","b":[237,82],"m":"sbc","o":"hl,de"},{"a":59587,"t":"code","b":[56,3],"m":"jr","oa":59592,"o":"c,$E8C8"},{"a":59589,"t":"code","b":[33,0,0],"m":"ld","o":"hl,$0000"},{"a":59592,"t":"code","b":[25],"m":"add","o":"hl,de","x":[59587]},{"a":59593,"t":"code","b":[77],"m":"ld","o":"c,l"},{"a":59594,"t":"code","b":[68],"m":"ld","o":"b,h"},{"a":59595,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":59596,"t":"code","b":[209],"m":"pop","o":"de"},{"a":59597,"t":"code","b":[167],"m":"and","o":"a"},{"a":59598,"t":"code","b":[237,82],"m":"sbc","o":"hl,de"},{"a":59600,"t":"code","b":[48,3],"m":"jr","oa":59605,"o":"nc,$E8D5"},{"a":59602,"t":"code","b":[33,0,0],"m":"ld","o":"hl,$0000"},{"a":59605,"t":"code","b":[25],"m":"add","o":"hl,de","x":[59600]},{"a":59606,"t":"code","b":[201],"m":"ret"},{"a":59607,"l":"turn_marker","c":"An actor's event (HL at its +$0B): every 16 passes ($8D1C), for the character whose turn it is (the pass over 16, 0 to 3; at 0 $ED5E is cleared first), object record 19 ($ED5D) is put at that character's place ($F801) and moved on the screen: its row ($ED63) up 1 and its column ($ED62) 3 right for character 1, up 2 for character 3, up 3 for characters 0 and 2.","t":"code","b":[125],"m":"ld","o":"a,l"},{"a":59608,"t":"code","b":[214,11],"m":"sub","o":"$0B"},{"a":59610,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":59611,"t":"code","b":[58,28,141],"m":"ld","oa":36124,"o":"a,($8D1C)"},{"a":59614,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":59615,"t":"code","b":[230,15],"m":"and","o":"$0F"},{"a":59617,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":59618,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":59619,"t":"code","b":[31],"m":"rra"},{"a":59620,"t":"code","b":[31],"m":"rra"},{"a":59621,"t":"code","b":[31],"m":"rra"},{"a":59622,"t":"code","b":[31],"m":"rra"},{"a":59623,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":59625,"t":"code","b":[32,3],"m":"jr","oa":59630,"o":"nz,$E8EE"},{"a":59627,"t":"code","b":[50,94,237],"m":"ld","oa":60766,"o":"($ED5E),a"},{"a":59630,"t":"code","b":[79],"m":"ld","o":"c,a","x":[59625]},{"a":59631,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":59632,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":59634,"t":"code","b":[185],"m":"cp","o":"c"},{"a":59635,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":59636,"t":"code","b":[197],"m":"push","o":"bc"},{"a":59637,"t":"code","b":[17,94,237],"m":"ld","o":"de,$ED5E"},{"a":59640,"t":"code","b":[205,1,248],"m":"call","oa":63489,"o":"place_object"},{"a":59643,"t":"code","b":[33,99,237],"m":"ld","o":"hl,$ED63"},{"a":59646,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":59647,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":59648,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":59649,"t":"code","b":[254,1],"m":"cp","o":"$01"},{"a":59651,"t":"code","b":[40,6],"m":"jr","oa":59659,"o":"z,$E90B"},{"a":59653,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":59654,"t":"code","b":[254,3],"m":"cp","o":"$03"},{"a":59656,"t":"code","b":[200],"m":"ret","o":"z"},{"a":59657,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":59658,"t":"code","b":[201],"m":"ret"},{"a":59659,"t":"code","b":[43],"m":"dec","o":"hl","x":[59651]},{"a":59660,"t":"code","b":[52],"m":"inc","o":"(hl)"},{"a":59661,"t":"code","b":[52],"m":"inc","o":"(hl)"},{"a":59662,"t":"code","b":[52],"m":"inc","o":"(hl)"},{"a":59663,"t":"code","b":[201],"m":"ret"},{"a":59664,"l":"game_end","c":"Ground $72 reached, the end of the game, once ($8D10): the days and the left-behind flags are cleared; the score's whole percent (its tens and units, $8D05-$8D06) is raised to 60 if below, and (100 less it) / 4 is the bonus; for each character $FB7C's answer goes in $E4BE, and each one within reach of the leader adds the bonus ($E4A0); tune 14 is asked for ($7002) and menu 2 is opened for the end screen ($CD39).","t":"code","b":[58,16,141],"m":"ld","oa":36112,"o":"a,($8D10)"},{"a":59667,"t":"code","b":[167],"m":"and","o":"a"},{"a":59668,"t":"code","b":[40,2],"m":"jr","oa":59672,"o":"z,$E918"},{"a":59670,"t":"code","b":[175],"m":"xor","o":"a"},{"a":59671,"t":"code","b":[201],"m":"ret"},{"a":59672,"t":"code","b":[47],"m":"cpl","x":[59668]},{"a":59673,"t":"code","b":[50,16,141],"m":"ld","oa":36112,"o":"($8D10),a"},{"a":59676,"t":"code","b":[44],"m":"inc","o":"l"},{"a":59677,"t":"code","b":[229],"m":"push","o":"hl"},{"a":59678,"t":"code","b":[203,190],"m":"res","o":"7,(hl)"},{"a":59680,"t":"code","b":[33,0,0],"m":"ld","o":"hl,$0000"},{"a":59683,"t":"code","b":[34,145,234],"m":"ld","oa":60049,"o":"($EA91),hl"},{"a":59686,"t":"code","b":[34,147,234],"m":"ld","oa":60051,"o":"($EA93),hl"},{"a":59689,"t":"code","b":[34,190,228],"m":"ld","oa":58558,"o":"(left_behind),hl"},{"a":59692,"t":"code","b":[34,192,228],"m":"ld","oa":58560,"o":"($E4C0),hl"},{"a":59695,"t":"code","b":[33,5,141],"m":"ld","o":"hl,$8D05"},{"a":59698,"t":"code","b":[70],"m":"ld","o":"b,(hl)"},{"a":59699,"t":"code","b":[4],"m":"inc","o":"b"},{"a":59700,"t":"code","b":[62,246],"m":"ld","o":"a,$F6"},{"a":59702,"t":"code","b":[198,10],"m":"add","o":"a,$0A","x":[59704]},{"a":59704,"t":"code","b":[16,252],"m":"djnz","oa":59702,"o":"$E936"},{"a":59706,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":59707,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":59708,"t":"code","b":[254,60],"m":"cp","o":"$3C"},{"a":59710,"t":"code","b":[48,2],"m":"jr","oa":59714,"o":"nc,$E942"},{"a":59712,"t":"code","b":[62,60],"m":"ld","o":"a,$3C"},{"a":59714,"t":"code","b":[214,100],"m":"sub","o":"$64","x":[59710]},{"a":59716,"t":"code","b":[237,68],"m":"neg"},{"a":59718,"t":"code","b":[31],"m":"rra"},{"a":59719,"t":"code","b":[31],"m":"rra"},{"a":59720,"t":"code","b":[230,31],"m":"and","o":"$1F"},{"a":59722,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":59723,"t":"code","b":[1,0,4],"m":"ld","o":"bc,$0400"},{"a":59726,"t":"code","b":[33,190,228],"m":"ld","o":"hl,$E4BE"},{"a":59729,"t":"code","b":[197],"m":"push","o":"bc","x":[59750]},{"a":59730,"t":"code","b":[229],"m":"push","o":"hl"},{"a":59731,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":59732,"t":"code","b":[205,124,251],"m":"call","oa":64380,"o":"within_reach"},{"a":59735,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":59736,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":59737,"t":"code","b":[229],"m":"push","o":"hl"},{"a":59738,"t":"code","b":[32,6],"m":"jr","oa":59746,"o":"nz,$E962"},{"a":59740,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":59741,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":59742,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":59743,"t":"code","b":[205,160,228],"m":"call","oa":58528,"o":"add_percent"},{"a":59746,"t":"code","b":[225],"m":"pop","o":"hl","x":[59738]},{"a":59747,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":59748,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":59749,"t":"code","b":[12],"m":"inc","o":"c"},{"a":59750,"t":"code","b":[16,233],"m":"djnz","oa":59729,"o":"$E951"},{"a":59752,"t":"code","b":[62,14],"m":"ld","o":"a,$0E"},{"a":59754,"t":"code","b":[50,2,112],"m":"ld","oa":28674,"o":"(snd_request),a"},{"a":59757,"t":"code","b":[205,57,205],"m":"call","oa":52537,"o":"$CD39"},{"a":59760,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":59761,"t":"code","b":[203,254],"m":"set","o":"7,(hl)"},{"a":59763,"t":"code","b":[175],"m":"xor","o":"a"},{"a":59764,"t":"code","b":[201],"m":"ret"},{"a":59765,"l":"end_screen","c":"Draws the end in menu 2's window: colour 7 ($CEDC), the frame's counts set to $93 ($EA3D), drawn ($D9A5), the window copied ($CAEB), the masks of the icons from the third cleared (the ninth write lands on $D0E5, the frame's +3) and the second icon drawn. The days ($BF2D, when not 0) go into the text as four digits, leading zeros made $F9 (nothing); the score's first three digits ($8D04) go into the percentage, its first digit $F9 when 0. The four lines at $EA58 are printed at $5BAA, $A8 bytes apart, with the line stride ($D916) set to $15; at the $80 after the third, $EA0B adds a line. The stride goes back to $0C.","t":"code","b":[62,7],"m":"ld","o":"a,$07","x":[52832]},{"a":59767,"t":"code","b":[205,220,206],"m":"call","oa":52956,"o":"menu_colour"},{"a":59770,"t":"code","b":[1,0,147],"m":"ld","o":"bc,$9300"},{"a":59773,"t":"code","b":[205,61,234],"m":"call","oa":59965,"o":"frame_size"},{"a":59776,"t":"code","b":[1,9,21],"m":"ld","o":"bc,$1509"},{"a":59779,"t":"code","b":[205,165,217],"m":"call","oa":55717,"o":"draw_menu_frame"},{"a":59782,"t":"code","b":[33,153,200],"m":"ld","o":"hl,$C899"},{"a":59785,"t":"code","b":[205,235,202],"m":"call","oa":51947,"o":"copy_window"},{"a":59788,"t":"code","b":[33,189,208],"m":"ld","o":"hl,$D0BD"},{"a":59791,"t":"code","b":[17,5,0],"m":"ld","o":"de,$0005"},{"a":59794,"t":"code","b":[6,9],"m":"ld","o":"b,$09"},{"a":59796,"t":"code","b":[54,0],"m":"ld","o":"(hl),$00","x":[59799]},{"a":59798,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":59799,"t":"code","b":[16,251],"m":"djnz","oa":59796,"o":"$E994"},{"a":59801,"t":"code","b":[33,181,208],"m":"ld","o":"hl,$D0B5"},{"a":59804,"t":"code","b":[205,233,206],"m":"call","oa":52969,"o":"draw_icon"},{"a":59807,"t":"code","b":[58,45,191],"m":"ld","oa":48941,"o":"a,($BF2D)"},{"a":59810,"t":"code","b":[167],"m":"and","o":"a"},{"a":59811,"t":"code","b":[202,185,233],"m":"jp","oa":59833,"o":"z,$E9B9"},{"a":59814,"t":"code","b":[33,148,234],"m":"ld","o":"hl,$EA94"},{"a":59817,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":59818,"t":"code","b":[205,172,228],"m":"call","oa":58540,"o":"$E4AC"},{"a":59821,"t":"code","b":[33,145,234],"m":"ld","o":"hl,$EA91"},{"a":59824,"t":"code","b":[175],"m":"xor","o":"a"},{"a":59825,"t":"code","b":[190],"m":"cp","o":"(hl)","x":[59831]},{"a":59826,"t":"code","b":[32,5],"m":"jr","oa":59833,"o":"nz,$E9B9"},{"a":59828,"t":"code","b":[54,249],"m":"ld","o":"(hl),$F9"},{"a":59830,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":59831,"t":"code","b":[24,248],"m":"jr","oa":59825,"o":"$E9B1"},{"a":59833,"t":"code","b":[33,4,141],"m":"ld","o":"hl,$8D04","x":[59811,59826]},{"a":59836,"t":"code","b":[17,170,234],"m":"ld","o":"de,$EAAA"},{"a":59839,"t":"code","b":[14,3],"m":"ld","o":"c,$03"},{"a":59841,"t":"code","b":[237,176],"m":"ldir"},{"a":59843,"t":"code","b":[58,170,234],"m":"ld","oa":60074,"o":"a,($EAAA)"},{"a":59846,"t":"code","b":[167],"m":"and","o":"a"},{"a":59847,"t":"code","b":[32,5],"m":"jr","oa":59854,"o":"nz,$E9CE"},{"a":59849,"t":"code","b":[62,249],"m":"ld","o":"a,$F9"},{"a":59851,"t":"code","b":[50,170,234],"m":"ld","oa":60074,"o":"($EAAA),a"},{"a":59854,"t":"code","b":[62,21],"m":"ld","o":"a,$15","x":[59847]},{"a":59856,"t":"code","b":[50,22,217],"m":"ld","oa":55574,"o":"($D916),a"},{"a":59859,"t":"code","b":[50,194,213],"m":"ld","oa":54722,"o":"($D5C2),a"},{"a":59862,"t":"code","b":[33,88,234],"m":"ld","o":"hl,$EA58"},{"a":59865,"t":"code","b":[17,170,91],"m":"ld","o":"de,$5BAA"},{"a":59868,"t":"code","b":[6,4],"m":"ld","o":"b,$04"},{"a":59870,"t":"code","b":[197],"m":"push","o":"bc","x":[59906]},{"a":59871,"t":"code","b":[213],"m":"push","o":"de"},{"a":59872,"t":"code","b":[62,1],"m":"ld","o":"a,$01"},{"a":59874,"t":"code","b":[50,192,213],"m":"ld","oa":54720,"o":"(text_vars),a"},{"a":59877,"t":"code","b":[205,56,216],"m":"call","oa":55352,"o":"$D838"},{"a":59880,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":59881,"t":"code","b":[209],"m":"pop","o":"de"},{"a":59882,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59883,"t":"code","b":[1,168,0],"m":"ld","o":"bc,$00A8"},{"a":59886,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":59887,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59888,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":59889,"t":"code","b":[254,128],"m":"cp","o":"$80"},{"a":59891,"t":"code","b":[32,12],"m":"jr","oa":59905,"o":"nz,$EA01"},{"a":59893,"t":"code","b":[229],"m":"push","o":"hl"},{"a":59894,"t":"code","b":[213],"m":"push","o":"de"},{"a":59895,"t":"code","b":[197],"m":"push","o":"bc"},{"a":59896,"t":"code","b":[205,11,234],"m":"call","oa":59915,"o":"pity_line"},{"a":59899,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":59900,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":59901,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":59902,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":59903,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":59904,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":59905,"t":"code","b":[193],"m":"pop","o":"bc","x":[59891]},{"a":59906,"t":"code","b":[16,218],"m":"djnz","oa":59870,"o":"$E9DE"},{"a":59908,"t":"code","b":[62,12],"m":"ld","o":"a,$0C"},{"a":59910,"t":"code","b":[50,22,217],"m":"ld","oa":55574,"o":"($D916),a"},{"a":59913,"t":"code","b":[175],"m":"xor","o":"a"},{"a":59914,"t":"code","b":[201],"m":"ret"},{"a":59915,"l":"pity_line","c":"When any of the four left-behind flags ($E4BE) is not 0: PITY ABOUT ($EABA), then the name of each such character ($D8E3), the flag being set to $FF.","t":"code","b":[42,190,228],"m":"ld","oa":58558,"o":"hl,(left_behind)","x":[59896]},{"a":59918,"t":"code","b":[124],"m":"ld","o":"a,h"},{"a":59919,"t":"code","b":[181],"m":"or","o":"l"},{"a":59920,"t":"code","b":[32,6],"m":"jr","oa":59928,"o":"nz,$EA18"},{"a":59922,"t":"code","b":[42,192,228],"m":"ld","oa":58560,"o":"hl,($E4C0)"},{"a":59925,"t":"code","b":[124],"m":"ld","o":"a,h"},{"a":59926,"t":"code","b":[181],"m":"or","o":"l"},{"a":59927,"t":"code","b":[200],"m":"ret","o":"z"},{"a":59928,"t":"code","b":[62,1],"m":"ld","o":"a,$01","x":[59920]},{"a":59930,"t":"code","b":[50,192,213],"m":"ld","oa":54720,"o":"(text_vars),a"},{"a":59933,"t":"code","b":[33,186,234],"m":"ld","o":"hl,$EABA"},{"a":59936,"t":"code","b":[205,56,216],"m":"call","oa":55352,"o":"$D838"},{"a":59939,"t":"code","b":[33,190,228],"m":"ld","o":"hl,$E4BE"},{"a":59942,"t":"code","b":[1,0,4],"m":"ld","o":"bc,$0400"},{"a":59945,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[59962]},{"a":59946,"t":"code","b":[167],"m":"and","o":"a"},{"a":59947,"t":"code","b":[40,11],"m":"jr","oa":59960,"o":"z,$EA38"},{"a":59949,"t":"code","b":[197],"m":"push","o":"bc"},{"a":59950,"t":"code","b":[229],"m":"push","o":"hl"},{"a":59951,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":59953,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":59954,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":59955,"t":"code","b":[205,227,216],"m":"call","oa":55523,"o":"$D8E3"},{"a":59958,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":59959,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":59960,"t":"code","b":[12],"m":"inc","o":"c","x":[59947]},{"a":59961,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":59962,"t":"code","b":[16,237],"m":"djnz","oa":59945,"o":"$EA29"},{"a":59964,"t":"code","b":[201],"m":"ret"},{"a":59965,"l":"frame_size","c":"Sets a menu's frame ($D0E2) for the end screen: 8 at its +3, B at its +1 and +$21, and B and C in the first two bytes of each of seven entries of four bytes from $D0E7.","t":"code","b":[62,8],"m":"ld","o":"a,$08","x":[52899,59773]},{"a":59967,"t":"code","b":[50,229,208],"m":"ld","oa":53477,"o":"($D0E5),a"},{"a":59970,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":59971,"t":"code","b":[50,227,208],"m":"ld","oa":53475,"o":"($D0E3),a"},{"a":59974,"t":"code","b":[50,3,209],"m":"ld","oa":53507,"o":"($D103),a"},{"a":59977,"t":"code","b":[33,231,208],"m":"ld","o":"hl,$D0E7"},{"a":59980,"t":"code","b":[17,3,0],"m":"ld","o":"de,$0003"},{"a":59983,"t":"code","b":[6,7],"m":"ld","o":"b,$07"},{"a":59985,"t":"code","b":[119],"m":"ld","o":"(hl),a","x":[59989]},{"a":59986,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":59987,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":59988,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":59989,"t":"code","b":[16,250],"m":"djnz","oa":59985,"o":"$EA51"},{"a":59991,"t":"code","b":[201],"m":"ret"},{"a":59992,"l":"end_texts","c":"The end screen's texts in the game's alphabet, $FF after each: WELL DONE <leader>!, YOU ARE ON YOUR WAY HOME, YOUR ORDEAL LASTED 0000 DAYS (the digits at $EA91), the $80 marker, then YOU HAVE BEEN ___ % SUCCESSFUL (the digits at $EAAA) and, at $EABA, PITY ABOUT.","t":"text","b":[31,14,21,21,35,13,0,23,14,35,252,36,255,33,0,29,35,10,26,14,35,0,23,35,33,0,29,26,35,31,10,33],"d":"....#\n...#.$.!..#...#..#!...#..!","enc":"zx"},{"a":60024,"t":"text","b":[35,17,0,22,14,255,33,0,29,26,35,0,26,13,14,10,21,35,21,10,27,28,14,13,35,0,0,0,0,35,13,10],"d":"#.....!...#..\n...#.....\n#....#\n.","enc":"zx"},{"a":60056,"t":"text","b":[33,27,255,128,33,0,29,35,17,10,30,14,35,11,14,14,23,35,249,249,35,38,35,27,29,12,12,14,27,27,15,29],"d":"!...!..#....#....#..#&#.........","enc":"zx"},{"a":60088,"t":"text","b":[21,255,24,18,28,33,35,10,11,0,29,28,35,255],"d":".....!#.....#.","enc":"zx"},{"a":60102,"l":"record_vars","c":"$EAC6 the record $E187 moves next (0 to 45); $EAC7 the area of the place being worked out, for the frame of reference of $E316 and $E399.","t":"byte","b":[0,13],"x":[57735,57744,57775,57806]},{"a":60104,"l":"actor_classes","c":"Five bytes for each of twelve classes of actor, read by $DD1C: the bank of its graphics, then two addresses copied into the actor. The class is the type for the four characters (0 to 3), then one class each for types 4 to $0F, $10 to $13, $14 to $17, $18 to $1B, $1C to $1F, $20 to $27, $28 to $2C, and $2D on.","t":"byte","b":[1,96,233,84,228,6,0,192]},{"a":60112,"t":"byte","b":[84,228,1,55,245,84,228,0]},{"a":60120,"t":"byte","b":[134,247,84,228,6,102,248,84]},{"a":60128,"t":"byte","b":[228,6,136,223,208,228,1,122]},{"a":60136,"t":"byte","b":[242,18,228,6,79,227,84,228]},{"a":60144,"t":"byte","b":[6,251,245,84,228,6,91,252]},{"a":60152,"t":"byte","b":[84,228,0,219,254,84,228,1]},{"a":60160,"t":"byte","b":[24,254,66,228]},{"a":60164,"l":"unused_eb04","c":"A $C9 between the classes and the records that no code in the code maps reads.","t":"byte","b":[201]},{"a":60165,"l":"records","c":"The 46 records of the game's creatures and characters, eight bytes each, the record's number being its type: +0 the type, +1 its state (bit 7 in play as an actor, bit 6 held, low nibble the state), +2 its area, +3 and +4 its place across and down in units of four, +5 its height, +6 its route ($ED68) and +7 the point it has reached. Records 0 to 3 are the four characters. New game ($861C) sets records 0 to 7, $2B and $2C from bank 0's $FE05; the rest keep what they hold.","t":"byte","b":[0,0,0,160,161,10,0,0]},{"a":60173,"t":"byte","b":[1,1,13,109,140,0,0,0]},{"a":60181,"t":"byte","b":[2,1,13,105,138,0,0,0]},{"a":60189,"t":"byte","b":[3,1,13,103,143,0,0,0]},{"a":60197,"t":"byte","b":[4,0,5,141,80,0,7,1]},{"a":60205,"t":"byte","b":[5,0,5,158,80,0,7,2]},{"a":60213,"t":"byte","b":[6,0,5,158,106,0,7,3]},{"a":60221,"t":"byte","b":[7,0,5,144,111,0,0,2]},{"a":60229,"t":"byte","b":[8,0,6,152,78,0,8,0]},{"a":60237,"t":"byte","b":[9,0,6,154,102,0,8,1]},{"a":60245,"t":"byte","b":[10,0,6,116,113,0,8,2]},{"a":60253,"t":"byte","b":[11,0,6,101,99,0,8,4]},{"a":60261,"t":"byte","b":[12,0,2,138,94,0,28,0]},{"a":60269,"t":"byte","b":[13,0,2,181,94,0,28,1]},{"a":60277,"t":"byte","b":[14,0,1,67,148,0,28,2]},{"a":60285,"t":"byte","b":[15,0,2,123,35,0,28,3]},{"a":60293,"t":"byte","b":[16,0,9,131,204,0,9,0]},{"a":60301,"t":"byte","b":[17,0,9,125,72,0,6,0]},{"a":60309,"t":"byte","b":[18,0,5,49,121,0,10,0]},{"a":60317,"t":"byte","b":[19,0,5,67,130,0,11,0]},{"a":60325,"t":"byte","b":[20,0,13,46,138,12,12,0]},{"a":60333,"t":"byte","b":[21,0,2,80,82,12,15,0]},{"a":60341,"t":"byte","b":[22,0,10,211,108,12,29,0]},{"a":60349,"t":"byte","b":[23,0,5,33,160,12,30,0]},{"a":60357,"t":"byte","b":[24,0,9,128,150,0,13,0]},{"a":60365,"t":"byte","b":[25,0,1,71,178,0,14,0]},{"a":60373,"t":"byte","b":[26,0,2,16,144,0,4,5]},{"a":60381,"t":"byte","b":[27,0,7,103,133,0,31,0]},{"a":60389,"t":"byte","b":[28,0,2,39,150,0,27,0]},{"a":60397,"t":"byte","b":[29,0,6,147,168,0,27,1]},{"a":60405,"t":"byte","b":[30,0,6,130,153,0,27,2]},{"a":60413,"t":"byte","b":[31,0,6,50,153,0,27,3]},{"a":60421,"t":"byte","b":[32,0,7,123,35,0,16,0]},{"a":60429,"t":"byte","b":[33,0,10,133,169,0,17,0]},{"a":60437,"t":"byte","b":[34,0,11,164,117,0,18,0]},{"a":60445,"t":"byte","b":[35,0,3,138,66,0,19,0]},{"a":60453,"t":"byte","b":[36,0,7,146,83,0,32,0]},{"a":60461,"t":"byte","b":[37,0,7,46,100,0,33,0]},{"a":60469,"t":"byte","b":[38,0,3,83,77,0,34,0]},{"a":60477,"t":"byte","b":[39,0,3,46,77,0,35,0]},{"a":60485,"t":"byte","b":[40,0,10,120,60,0,20,0]},{"a":60493,"t":"byte","b":[41,64,10,121,52,0,21,0]},{"a":60501,"t":"byte","b":[42,64,7,31,127,0,22,0]},{"a":60509,"t":"byte","b":[43,0,0,126,150,0,0,0]},{"a":60517,"t":"byte","b":[44,0,0,126,152,0,0,0]},{"a":60525,"t":"byte","b":[45,64,5,189,131,3,0,0]},{"a":60533,"l":"restart_places","c":"Places of three bytes (area, across, down) for a record whose route has ended ($F0A3), at three times the type less 4 (types below $18) or less $0C. Only types $28 on reach $F0A3, so only the last five, from $ECC9, are read; the 28 before them are read by no code in the code maps.","t":"byte","b":[5,139,122,5,122,96,5,139]},{"a":60541,"t":"byte","b":[90,5,140,77,6,150,93,6]},{"a":60549,"t":"byte","b":[138,119,6,116,93,6,112,80]},{"a":60557,"t":"byte","b":[2,120,192,2,120,192,2,120]},{"a":60565,"t":"byte","b":[192,2,120,192,5,141,51,2]},{"a":60573,"t":"byte","b":[33,116,6,114,216,7,137,110]},{"a":60581,"t":"byte","b":[6,132,212,2,43,111,6,159]},{"a":60589,"t":"byte","b":[173,6,79,180,7,136,61,10]},{"a":60597,"t":"byte","b":[117,178,11,182,114,3,137,66]},{"a":60605,"t":"byte","b":[3,63,56,7,78,164,3,71]},{"a":60613,"t":"byte","b":[33,3,71,33]},{"a":60617,"l":"restart_places_28","c":"The places types $28 to $2C go back to when their route ends, three bytes each (area, across, down): read by $E1DC and $F0A3.","t":"byte","b":[10,120,60,10,121,52,7,31]},{"a":60625,"t":"byte","b":[127,7,126,150,7,126,150]},{"a":60632,"l":"objects","c":"The objects, seven bytes each: +0 its number, +1 where it is (an area 0 to 15, with bit 7 when on the ground in view and bit 6 to be drawn; $20 plus a character carrying it; $24 in the bag; $27 held by actor type 7), +2 to +4 across, down and height in units of four, +5 and +6 its column and row on the screen ($F818). Objects 0 to 16: the bag, four tins, the bottle, the knife, the can opener, the ammunition, the ham, the jewel, the compact, the watch, the rope, the first aid kit, an object no handler uses (15), and the dynamite.","t":"byte","b":[0,13,114,149,0,163,60,1]},{"a":60640,"t":"byte","b":[0,141,110,0,97,66,2,13]},{"a":60648,"t":"byte","b":[94,158,0,192,66,3,6,132]},{"a":60656,"t":"byte","b":[95,0,91,78,4,2,122,193]},{"a":60664,"t":"byte","b":[0,199,34,5,13,128,148,0]},{"a":60672,"t":"byte","b":[148,54,6,10,168,86,32,46]},{"a":60680,"t":"byte","b":[40,7,8,36,126,0,218,111]},{"a":60688,"t":"byte","b":[8,8,47,134,0,215,101,9]},{"a":60696,"t":"byte","b":[39,152,152,0,128,40,10,2],"x":[64031]},{"a":60704,"t":"byte","b":[85,143,8,183,72,11,33,152]},{"a":60712,"t":"byte","b":[152,0,128,40,12,34,152,152]},{"a":60720,"t":"byte","b":[0,128,40,13,13,118,163,0]},{"a":60728,"t":"byte","b":[173,51,14,13,149,160,0,139]},{"a":60736,"t":"byte","b":[37,15,0,108,137,0,157,69]},{"a":60744,"t":"byte","b":[16,8,66,130,0,192,94]},{"a":60751,"l":"objects_extra","c":"Three more records in the objects' form, 17 to 19, that the objects' loops cover too: 17 ($ED4F) marks where Clive fell ($E609) and turns from $11 to $12 ($E68D); 19 ($ED5D) is put by $E8D7.","t":"byte","b":[17,0,152,135,0,128,40,10],"x":[59024,59043]},{"a":60759,"t":"byte","b":[2,85,148,8,191,68,19,0]},{"a":60767,"t":"byte","b":[0,0,0,0,0]},{"a":60772,"l":"ham_place","c":"A place in the objects' form from +1 (area 5, across $BB, down $82, height $1B, column $47, row $13), copied into the ham's record when the ham is dropped in zone 2 ($FDA5). Its last two bytes are also the entry for route 0 in $ED68, read when a new leader's record has no route and $E24E finds no route point in its area ($F55B). When the dynamite is placed ($FF96), $ED66 becomes $9680 and $ED69 $1596, making route 1 start at point $15; $FFB2 reads bit 5 of $ED65.","t":"byte","b":[5,187,130,27]},{"a":60776,"l":"routes","c":"Two bytes for each route: the first of its points in $EDB0 and how many there are. Routes are numbered from 1 (a record with route 0 has none, $F561); $ED68-$ED69, route 0's, is read only when $E24E finds no point of routes 1 to 4, the ones it chooses from, in the record's area.","t":"word","b":[71,19,17,18,52,18,70,20],"d":[4935,4625,4660,5190]},{"a":60784,"t":"word","b":[90,25,90,25,0,7,7,6],"d":[6490,6490,1792,1543]},{"a":60792,"t":"word","b":[13,4,35,3,38,4,42,6],"d":[1037,803,1062,1578]},{"a":60800,"t":"word","b":[48,4,57,8,118,4,122,4],"d":[1072,2105,1142,1146]},{"a":60808,"t":"word","b":[126,4,130,2,132,2,134,2],"d":[1150,642,644,646]},{"a":60816,"t":"word","b":[136,4,140,4,144,4,148,3],"d":[1160,1164,1168,916]},{"a":60824,"t":"word","b":[151,2,153,2,155,1,160,6],"d":[663,665,411,1696]},{"a":60832,"t":"word","b":[156,4,166,4,170,5,175,4],"d":[1180,1190,1450,1199]},{"a":60840,"t":"word","b":[179,4,183,4,187,4,188,3],"d":[1203,1207,1211,956]},{"a":60848,"l":"waypoints","c":"The routes' points, three bytes each: the area, and the place across and down in units of four.","t":"byte","b":[9,125,72,9,131,72,9,129]},{"a":60856,"t":"byte","b":[89,9,133,99,9,138,99,9]},{"a":60864,"t":"byte","b":[138,124,9,127,124,5,141,80]},{"a":60872,"t":"byte","b":[5,158,80,5,158,106,5,146]},{"a":60880,"t":"byte","b":[106,5,138,113,5,126,113,6]},{"a":60888,"t":"byte","b":[142,93,6,127,93,6,127,104]},{"a":60896,"t":"byte","b":[6,142,104,13,147,169,13,69]},{"a":60904,"t":"byte","b":[169,14,183,94,14,152,94,14]},{"a":60912,"t":"byte","b":[152,190,10,58,82,10,118,82]},{"a":60920,"t":"byte","b":[10,118,60,10,113,60,10,113]},{"a":60928,"t":"byte","b":[44,10,129,44,10,129,48,10]},{"a":60936,"t":"byte","b":[151,48,10,151,64,9,72,178]},{"a":60944,"t":"byte","b":[13,180,181,9,102,74,9,102]},{"a":60952,"t":"byte","b":[186,9,131,204,9,131,194,9]},{"a":60960,"t":"byte","b":[146,194,5,49,121,5,49,118]},{"a":60968,"t":"byte","b":[5,41,115,9,149,206,5,67]},{"a":60976,"t":"byte","b":[130,5,60,130,5,60,126,5]},{"a":60984,"t":"byte","b":[52,124,5,48,122,5,42,114]},{"a":60992,"t":"byte","b":[13,128,138,13,80,138,13,80]},{"a":61000,"t":"byte","b":[178,13,152,178,5,80,126,5]},{"a":61008,"t":"byte","b":[96,55,9,163,163,9,163,163]},{"a":61016,"t":"byte","b":[9,150,163,9,150,128,9,150]},{"a":61024,"t":"byte","b":[61,8,67,175,8,162,175,4]},{"a":61032,"t":"byte","b":[54,99,4,54,139,4,54,166]},{"a":61040,"t":"byte","b":[5,128,54,5,128,93,5,128]},{"a":61048,"t":"byte","b":[142,5,171,142,5,144,142,5]},{"a":61056,"t":"byte","b":[104,142,2,183,146,2,183,82]},{"a":61064,"t":"byte","b":[1,69,152,1,69,80,5,177]},{"a":61072,"t":"byte","b":[175,5,128,175,5,128,226,1]},{"a":61080,"t":"byte","b":[20,132,2,133,84,2,104,84]},{"a":61088,"t":"byte","b":[2,104,128,2,118,128,2,180]},{"a":61096,"t":"byte","b":[128,2,118,128,2,104,128,2]},{"a":61104,"t":"byte","b":[104,84,2,104,42,6,212,137]},{"a":61112,"t":"byte","b":[6,212,108,6,190,108,6,162]},{"a":61120,"t":"byte","b":[66,6,132,66,6,132,128,6]},{"a":61128,"t":"byte","b":[156,130,6,156,195,2,48,144]},{"a":61136,"t":"byte","b":[2,67,144,2,67,178,3,172]},{"a":61144,"t":"byte","b":[64,3,148,64,3,148,38,2]},{"a":61152,"t":"byte","b":[34,144,3,120,31,7,220,127]},{"a":61160,"t":"byte","b":[6,93,184,6,93,169,6,63]},{"a":61168,"t":"byte","b":[169,7,160,53,7,130,53,7]},{"a":61176,"t":"byte","b":[130,21,11,220,129,11,176,129]},{"a":61184,"t":"byte","b":[11,176,129,11,176,115,11,139]},{"a":61192,"t":"byte","b":[115,1,55,151,2,132,67,2]},{"a":61200,"t":"byte","b":[171,67,1,71,178,1,71,85]},{"a":61208,"t":"byte","b":[5,161,193,5,110,193,2,72]},{"a":61216,"t":"byte","b":[185,2,72,71,6,180,108,5]},{"a":61224,"t":"byte","b":[65,140,7,123,35,7,135,35]},{"a":61232,"t":"byte","b":[7,135,59,7,158,59,10,133]},{"a":61240,"t":"byte","b":[169,10,133,217,11,164,117,11]},{"a":61248,"t":"byte","b":[137,117,3,138,66,3,174,66]},{"a":61256,"t":"byte","b":[10,120,60,10,101,60,10,96]},{"a":61264,"t":"byte","b":[60,14,120,168,10,121,52,10]},{"a":61272,"t":"byte","b":[121,38,14,229,119,13,115,204]},{"a":61280,"t":"byte","b":[7,31,127,7,31,87,11,139]},{"a":61288,"t":"byte","b":[184,11,139,108,7,126,150,3]},{"a":61296,"t":"byte","b":[61,42,3,124,42,2,93,143]},{"a":61304,"t":"byte","b":[2,93,146,2,91,146,2,91]},{"a":61312,"t":"byte","b":[143,2,95,144,2,168,142,2]},{"a":61320,"t":"byte","b":[168,68,2,110,68,2,110,142]},{"a":61328,"t":"byte","b":[2,39,150,6,147,168,6,130]},{"a":61336,"t":"byte","b":[153,6,50,153,7,164,50,6]},{"a":61344,"t":"byte","b":[72,191,10,216,108,9,102,181]},{"a":61352,"t":"byte","b":[9,102,61,13,210,145,5,33]},{"a":61360,"t":"byte","b":[160,9,141,178,9,141,35,8]},{"a":61368,"t":"byte","b":[39,149,8,176,149,7,103,133]},{"a":61376,"t":"byte","b":[7,103,73,7,141,73,7,141]},{"a":61384,"t":"byte","b":[127,7,146,83,7,146,120,7]},{"a":61392,"t":"byte","b":[174,120,3,70,56,7,46,100]},{"a":61400,"t":"byte","b":[7,46,133,7,87,133,7,87]},{"a":61408,"t":"byte","b":[164,3,83,77,3,46,77,3]},{"a":61416,"t":"byte","b":[46,53,7,86,161]},{"a":61421,"l":"hostility","c":"A byte for each four types (type / 4), read by $F4C0 and $F02C: bit 2 the party takes it for a target, bit 3 types 4 to 7 do, bit 0 the rest do, and bit 1 its being in the area raises the alarm. The party's ($EFED) starts as 1 and becomes 9 when the tribe turns on the party ($FD86, $C801), 1 again at a capture ($FEB7); types 4 to 7's ($EFEE) starts as 0 and becomes 6 ($FD8F) or 7 ($C804). Types 8 to $0F and $1C to $27: 6; $18 to $1B: $0E; $10 to $17 and $28 to $2F: 0. The last two of the fourteen bytes are for types no record has.","t":"byte","b":[1,0,6,6,0,0,14,6],"x":[51201,64904,65207]},{"a":61429,"t":"byte","b":[6,6,0,0,0,128]},{"a":61435,"l":"gather_offsets","c":"Eight pairs (across, down) of places around the leader, four and six units away, for state 2 ($F0D3): which one an actor goes to changes every 16 passes.","t":"byte","b":[4,252,4,4,252]},{"a":61440,"l":"gather_offsets_2","c":"Continued from gather_offsets ($EFFB): its bytes from $F000.","t":"byte","b":[4,252,252,6,250,6,6,250]},{"a":61448,"t":"byte","b":[6,250,250]},{"a":61451,"l":"ai_vars","c":"$F00B-$F00C the place where the leader was left alone (copied from $DB05 after 65 passes with no input, main $8B81), which he keeps near in state 2; $F00D the direction being looked in; $F00E the distance to what was found ($FF nothing); $F00F-$F010 its address (an actor's +1, or a box); $F011 its actor's low byte, or $FF for a box; $F012 the state types 4 to 7 take when calm; $F013 the alarm (1 calm, 2 alarmed).","t":"byte","b":[0,0,0,255,0,131,255,1],"x":[61662]},{"a":61459,"t":"byte","b":[0],"x":[61523,64835]},{"a":61460,"l":"carry_offsets","c":"Moves (across, down) for each of four directions: $F014 for a carrier of type $1C on, $F01C for types $18 to $1B, while a victim is held ($F2BE); $F024 where a victim lands when dropped ($F2A8).","t":"byte","b":[8,2,2,8,248,0,255,250]},{"a":61468,"t":"byte","b":[2,2,0,5,254,1,255,0]},{"a":61476,"t":"byte","b":[0,5,4,0,0,6,0,1]},{"a":61484,"l":"alarm_pass","c":"Once a pass ($DED5): when an actor in slots 1 to 7, not held, is of a type whose hostility byte ($EFED) has bit 1, the alarm is 2 ($F013) and $ED5E is cleared; otherwise it is 1. When the alarm changes, each actor of types 0 to $0F or $18 to $1B in a state below 3 takes the new state: the alarm's (1 follow, 2 gather), except that types 4 to 7 take $F012 when calm.","t":"code","b":[17,237,239],"m":"ld","o":"de,$EFED","x":[57045]},{"a":61487,"t":"code","b":[33,33,131],"m":"ld","o":"hl,$8321"},{"a":61490,"t":"code","b":[6,7],"m":"ld","o":"b,$07"},{"a":61492,"t":"code","b":[203,118],"m":"bit","o":"6,(hl)","x":[61533]},{"a":61494,"t":"code","b":[32,33],"m":"jr","oa":61529,"o":"nz,$F059"},{"a":61496,"t":"code","b":[45],"m":"dec","o":"l"},{"a":61497,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":61498,"t":"code","b":[31],"m":"rra"},{"a":61499,"t":"code","b":[31],"m":"rra"},{"a":61500,"t":"code","b":[230,31],"m":"and","o":"$1F"},{"a":61502,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":61503,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":61504,"t":"code","b":[66],"m":"ld","o":"b,d"},{"a":61505,"t":"code","b":[48,1],"m":"jr","oa":61508,"o":"nc,$F044"},{"a":61507,"t":"code","b":[4],"m":"inc","o":"b"},{"a":61508,"t":"code","b":[10],"m":"ld","o":"a,(bc)","x":[61505]},{"a":61509,"t":"code","b":[230,2],"m":"and","o":"$02"},{"a":61511,"t":"code","b":[202,88,240],"m":"jp","oa":61528,"o":"z,$F058"},{"a":61514,"t":"code","b":[175],"m":"xor","o":"a"},{"a":61515,"t":"code","b":[50,94,237],"m":"ld","oa":60766,"o":"($ED5E),a"},{"a":61518,"t":"code","b":[17,2,2],"m":"ld","o":"de,$0202"},{"a":61521,"t":"code","b":[62,2],"m":"ld","o":"a,$02"},{"a":61523,"t":"code","b":[50,19,240],"m":"ld","oa":61459,"o":"($F013),a"},{"a":61526,"t":"code","b":[24,21],"m":"jr","oa":61549,"o":"$F06D"},{"a":61528,"t":"code","b":[44],"m":"inc","o":"l","x":[61511]},{"a":61529,"t":"code","b":[125],"m":"ld","o":"a,l","x":[61494]},{"a":61530,"t":"code","b":[198,32],"m":"add","o":"a,$20"},{"a":61532,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":61533,"t":"code","b":[210,52,240],"m":"jp","oa":61492,"o":"nc,$F034"},{"a":61536,"t":"code","b":[58,18,240],"m":"ld","oa":61458,"o":"a,($F012)"},{"a":61539,"t":"code","b":[87],"m":"ld","o":"d,a"},{"a":61540,"t":"code","b":[30,1],"m":"ld","o":"e,$01"},{"a":61542,"t":"code","b":[33,19,240],"m":"ld","o":"hl,$F013"},{"a":61545,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":61546,"t":"code","b":[187],"m":"cp","o":"e"},{"a":61547,"t":"code","b":[200],"m":"ret","o":"z"},{"a":61548,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":61549,"t":"code","b":[33,0,131],"m":"ld","o":"hl,$8300","x":[61526]},{"a":61552,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[61599]},{"a":61553,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":61554,"t":"code","b":[230,60],"m":"and","o":"$3C"},{"a":61556,"t":"code","b":[44],"m":"inc","o":"l"},{"a":61557,"t":"code","b":[254,28],"m":"cp","o":"$1C"},{"a":61559,"t":"code","b":[48,34],"m":"jr","oa":61595,"o":"nc,$F09B"},{"a":61561,"t":"code","b":[254,16],"m":"cp","o":"$10"},{"a":61563,"t":"code","b":[56,4],"m":"jr","oa":61569,"o":"c,$F081"},{"a":61565,"t":"code","b":[254,24],"m":"cp","o":"$18"},{"a":61567,"t":"code","b":[56,26],"m":"jr","oa":61595,"o":"c,$F09B"},{"a":61569,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[61563]},{"a":61570,"t":"code","b":[254,3],"m":"cp","o":"$03"},{"a":61572,"t":"code","b":[210,155,240],"m":"jp","oa":61595,"o":"nc,$F09B"},{"a":61575,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":61576,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":61577,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":61579,"t":"code","b":[56,14],"m":"jr","oa":61595,"o":"c,$F09B"},{"a":61581,"t":"code","b":[254,8],"m":"cp","o":"$08"},{"a":61583,"t":"code","b":[48,10],"m":"jr","oa":61595,"o":"nc,$F09B"},{"a":61585,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":61586,"t":"code","b":[254,7],"m":"cp","o":"$07"},{"a":61588,"t":"code","b":[32,5],"m":"jr","oa":61595,"o":"nz,$F09B"},{"a":61590,"t":"code","b":[122],"m":"ld","o":"a,d"},{"a":61591,"t":"code","b":[61],"m":"dec","o":"a"},{"a":61592,"t":"code","b":[40,1],"m":"jr","oa":61595,"o":"z,$F09B"},{"a":61594,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":61595,"t":"code","b":[125],"m":"ld","o":"a,l","x":[61559,61567,61572,61579,61583,61588,61592]},{"a":61596,"t":"code","b":[198,31],"m":"add","o":"a,$1F"},{"a":61598,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":61599,"t":"code","b":[210,112,240],"m":"jp","oa":61552,"o":"nc,$F070"},{"a":61602,"t":"code","b":[201],"m":"ret"},{"a":61603,"l":"route_ended","c":"Event 3, the end of the route of a type $28 on: its record leaves play (+1 = 0), goes back to its place in $EC75 (area, across, down), height and point 0; the actor's slot is freed ($FF).","t":"code","b":[253,126,0],"m":"ld","o":"a,(iy+$00)","x":[57203]},{"a":61606,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":61608,"t":"code","b":[205,146,228],"m":"call","oa":58514,"o":"record_of"},{"a":61611,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":61612,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":61614,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":61615,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":61617,"t":"code","b":[112],"m":"ld","o":"(hl),b"},{"a":61618,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":61619,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":61620,"t":"code","b":[254,24],"m":"cp","o":"$18"},{"a":61622,"t":"code","b":[56,2],"m":"jr","oa":61626,"o":"c,$F0BA"},{"a":61624,"t":"code","b":[214,8],"m":"sub","o":"$08"},{"a":61626,"t":"code","b":[214,4],"m":"sub","o":"$04","x":[61622]},{"a":61628,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":61629,"t":"code","b":[33,117,236],"m":"ld","o":"hl,$EC75"},{"a":61632,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":61633,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":61634,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":61635,"t":"code","b":[237,160],"m":"ldi"},{"a":61637,"t":"code","b":[237,160],"m":"ldi"},{"a":61639,"t":"code","b":[237,160],"m":"ldi"},{"a":61641,"t":"code","b":[175],"m":"xor","o":"a"},{"a":61642,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":61643,"t":"code","b":[19],"m":"inc","o":"de"},{"a":61644,"t":"code","b":[19],"m":"inc","o":"de"},{"a":61645,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":61646,"t":"code","b":[253,54,1,255],"m":"ld","o":"(iy+$01),$FF"},{"a":61650,"t":"code","b":[201],"m":"ret"},{"a":61651,"l":"state_gather","c":"State 2: walks to a place around the leader ($DB05; for the leader himself, around $F00B), one of the eight in $EFFB chosen by the pass over 16 and the type; the action is the direction ($E115), 5 more (running) while not there.","t":"code","b":[237,75,5,219],"m":"ld","oa":56069,"o":"bc,($DB05)"},{"a":61655,"t":"code","b":[58,10,141],"m":"ld","oa":36106,"o":"a,($8D0A)"},{"a":61658,"t":"code","b":[45],"m":"dec","o":"l"},{"a":61659,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":61660,"t":"code","b":[32,4],"m":"jr","oa":61666,"o":"nz,$F0E2"},{"a":61662,"t":"code","b":[237,75,11,240],"m":"ld","oa":61451,"o":"bc,(ai_vars)"},{"a":61666,"t":"code","b":[58,28,141],"m":"ld","oa":36124,"o":"a,($8D1C)","x":[61660]},{"a":61669,"t":"code","b":[31],"m":"rra"},{"a":61670,"t":"code","b":[31],"m":"rra"},{"a":61671,"t":"code","b":[31],"m":"rra"},{"a":61672,"t":"code","b":[31],"m":"rra"},{"a":61673,"t":"code","b":[230,15],"m":"and","o":"$0F"},{"a":61675,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":61676,"t":"code","b":[230,7],"m":"and","o":"$07"},{"a":61678,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":61679,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":61680,"t":"code","b":[33,251,239],"m":"ld","o":"hl,$EFFB"},{"a":61683,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":61684,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":61685,"t":"code","b":[48,1],"m":"jr","oa":61688,"o":"nc,$F0F8"},{"a":61687,"t":"code","b":[36],"m":"inc","o":"h"},{"a":61688,"t":"code","b":[121],"m":"ld","o":"a,c","x":[61685]},{"a":61689,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":61690,"t":"code","b":[50,0,219],"m":"ld","oa":56064,"o":"($DB00),a"},{"a":61693,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":61694,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":61695,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":61696,"t":"code","b":[50,1,219],"m":"ld","oa":56065,"o":"($DB01),a"},{"a":61699,"t":"code","b":[33,0,219],"m":"ld","o":"hl,$DB00"},{"a":61702,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":61703,"t":"code","b":[198,3],"m":"add","o":"a,$03"},{"a":61705,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":61706,"t":"code","b":[205,21,225],"m":"call","oa":57621,"o":"walk_towards"},{"a":61709,"t":"code","b":[167],"m":"and","o":"a"},{"a":61710,"t":"code","b":[40,2],"m":"jr","oa":61714,"o":"z,$F112"},{"a":61712,"t":"code","b":[198,5],"m":"add","o":"a,$05"},{"a":61714,"t":"code","b":[253,119,12],"m":"ld","o":"(iy+$0C),a","x":[61710]},{"a":61717,"t":"code","b":[201],"m":"ret"},{"a":61718,"l":"actor_ai","c":"For each actor below type $28 in a state below 8 (bit 7 of its type set while it is worked on): types $18 to $27 go to $F14A, $14 to $17 to $F202, $10 to $13 to $F1D6; the party and types 4 to $0F, in state 2 or more and able to fire ($C735), look all round for a target ($F33E) and face it ($F4E9).","t":"code","b":[44],"m":"inc","o":"l","x":[57100]},{"a":61719,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":61720,"t":"code","b":[254,8],"m":"cp","o":"$08"},{"a":61722,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":61723,"t":"code","b":[45],"m":"dec","o":"l"},{"a":61724,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":61725,"t":"code","b":[254,40],"m":"cp","o":"$28"},{"a":61727,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":61728,"t":"code","b":[203,254],"m":"set","o":"7,(hl)"},{"a":61730,"t":"code","b":[254,24],"m":"cp","o":"$18"},{"a":61732,"t":"code","b":[48,36],"m":"jr","oa":61770,"o":"nc,grabber_ai"},{"a":61734,"t":"code","b":[254,20],"m":"cp","o":"$14"},{"a":61736,"t":"code","b":[210,2,242],"m":"jp","oa":61954,"o":"nc,type_14_ai"},{"a":61739,"t":"code","b":[254,16],"m":"cp","o":"$10"},{"a":61741,"t":"code","b":[210,214,241],"m":"jp","oa":61910,"o":"nc,type_10_ai"},{"a":61744,"t":"code","b":[44],"m":"inc","o":"l"},{"a":61745,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":61746,"t":"code","b":[254,2],"m":"cp","o":"$02"},{"a":61748,"t":"code","b":[56,15],"m":"jr","oa":61765,"o":"c,$F145"},{"a":61750,"t":"code","b":[45],"m":"dec","o":"l"},{"a":61751,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":61752,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":61754,"t":"code","b":[205,53,199],"m":"call","oa":50997,"o":"can_fire"},{"a":61757,"t":"code","b":[32,6],"m":"jr","oa":61765,"o":"nz,$F145"},{"a":61759,"t":"code","b":[205,62,243],"m":"call","oa":62270,"o":"look_round"},{"a":61762,"t":"code","b":[196,233,244],"m":"call","oa":62697,"o":"nz,face_target"},{"a":61765,"t":"code","b":[253,203,0,190],"m":"res","o":"7,(iy+$00)","x":[61748,61757]},{"a":61769,"t":"code","b":[201],"m":"ret"},{"a":61770,"l":"grabber_ai","c":"Types $18 to $27, which seize. On odd frames (+$0B), sound on channel A ($7006): effect $0F for $18 to $1B, effect 5 every fourth pass for $1C to $27 (the test meant for $A0 compares $0F). Holding no one (+5 = $FF): looks all round for a victim ($F33E) and seizes one within reach ($F232), then, when its action is 5, turns the way it looked. Holding: the victim is held ($F31D) and moved with the grabber ($F2BE, by $F014 or $F01C); if the victim is the leader $8D17 is set; the victim's +5 counts down, and at 0 it dies (state $48, action $8B) and the grabber lets go.","t":"code","b":[253,126,11],"m":"ld","o":"a,(iy+$0B)","x":[61732]},{"a":61773,"t":"code","b":[230,1],"m":"and","o":"$01"},{"a":61775,"t":"code","b":[40,23],"m":"jr","oa":61800,"o":"z,$F168"},{"a":61777,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":61778,"t":"code","b":[254,156],"m":"cp","o":"$9C"},{"a":61780,"t":"code","b":[62,15],"m":"ld","o":"a,$0F"},{"a":61782,"t":"code","b":[56,13],"m":"jr","oa":61797,"o":"c,$F165"},{"a":61784,"t":"code","b":[254,160],"m":"cp","o":"$A0"},{"a":61786,"t":"code","b":[48,12],"m":"jr","oa":61800,"o":"nc,$F168"},{"a":61788,"t":"code","b":[58,28,141],"m":"ld","oa":36124,"o":"a,($8D1C)"},{"a":61791,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":61793,"t":"code","b":[32,5],"m":"jr","oa":61800,"o":"nz,$F168"},{"a":61795,"t":"code","b":[62,5],"m":"ld","o":"a,$05"},{"a":61797,"t":"code","b":[50,6,112],"m":"ld","oa":28678,"o":"($7006),a","x":[61782]},{"a":61800,"t":"code","b":[253,126,5],"m":"ld","o":"a,(iy+$05)","x":[61775,61786,61793]},{"a":61803,"t":"code","b":[60],"m":"inc","o":"a"},{"a":61804,"t":"code","b":[32,28],"m":"jr","oa":61834,"o":"nz,$F18A"},{"a":61806,"t":"code","b":[205,62,243],"m":"call","oa":62270,"o":"look_round"},{"a":61809,"t":"code","b":[196,50,242],"m":"call","oa":62002,"o":"nz,seize"},{"a":61812,"t":"code","b":[253,203,0,190],"m":"res","o":"7,(iy+$00)"},{"a":61816,"t":"code","b":[253,126,12],"m":"ld","o":"a,(iy+$0C)"},{"a":61819,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":61821,"t":"code","b":[254,5],"m":"cp","o":"$05"},{"a":61823,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":61824,"t":"code","b":[58,13,240],"m":"ld","oa":61453,"o":"a,($F00D)"},{"a":61827,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":61829,"t":"code","b":[60],"m":"inc","o":"a"},{"a":61830,"t":"code","b":[253,119,12],"m":"ld","o":"(iy+$0C),a"},{"a":61833,"t":"code","b":[201],"m":"ret"},{"a":61834,"t":"code","b":[203,190],"m":"res","o":"7,(hl)","x":[61804]},{"a":61836,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":61837,"t":"code","b":[198,11],"m":"add","o":"a,$0B"},{"a":61839,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":61840,"t":"code","b":[205,29,243],"m":"call","oa":62237,"o":"hold_victim"},{"a":61843,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":61844,"t":"code","b":[214,6],"m":"sub","o":"$06"},{"a":61846,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":61847,"t":"code","b":[253,126,0],"m":"ld","o":"a,(iy+$00)"},{"a":61850,"t":"code","b":[33,20,240],"m":"ld","o":"hl,$F014"},{"a":61853,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":61855,"t":"code","b":[254,28],"m":"cp","o":"$1C"},{"a":61857,"t":"code","b":[48,3],"m":"jr","oa":61862,"o":"nc,$F1A6"},{"a":61859,"t":"code","b":[33,28,240],"m":"ld","o":"hl,$F01C"},{"a":61862,"t":"code","b":[205,190,242],"m":"call","oa":62142,"o":"move_with","x":[61857]},{"a":61865,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":61866,"t":"code","b":[214,23],"m":"sub","o":"$17"},{"a":61868,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":61869,"t":"code","b":[58,10,141],"m":"ld","oa":36106,"o":"a,($8D0A)"},{"a":61872,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":61873,"t":"code","b":[32,6],"m":"jr","oa":61881,"o":"nz,$F1B9"},{"a":61875,"t":"code","b":[253,126,13],"m":"ld","o":"a,(iy+$0D)"},{"a":61878,"t":"code","b":[50,23,141],"m":"ld","oa":36119,"o":"($8D17),a"},{"a":61881,"t":"code","b":[125],"m":"ld","o":"a,l","x":[61873]},{"a":61882,"t":"code","b":[198,5],"m":"add","o":"a,$05"},{"a":61884,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":61885,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":61886,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":61887,"t":"code","b":[214,4],"m":"sub","o":"$04"},{"a":61889,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":61890,"t":"code","b":[54,72],"m":"ld","o":"(hl),$48"},{"a":61892,"t":"code","b":[198,11],"m":"add","o":"a,$0B"},{"a":61894,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":61895,"t":"code","b":[54,139],"m":"ld","o":"(hl),$8B"},{"a":61897,"t":"code","b":[44],"m":"inc","o":"l"},{"a":61898,"t":"code","b":[44],"m":"inc","o":"l"},{"a":61899,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":61901,"t":"code","b":[253,119,5],"m":"ld","o":"(iy+$05),a"},{"a":61904,"t":"code","b":[50,23,141],"m":"ld","oa":36119,"o":"($8D17),a"},{"a":61907,"t":"code","b":[195,98,195],"m":"jp","oa":50018,"o":"project"},{"a":61910,"l":"type_10_ai","c":"Types $10 to $13: the type's sink count ($9613) is cleared unless the action is 5; they look all round ($F33E) and seize ($F232); every eighth pass while reaching (action 6 or more), sound effect $12 on channel B ($701F).","t":"code","b":[253,126,12],"m":"ld","o":"a,(iy+$0C)","x":[61741]},{"a":61913,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":61915,"t":"code","b":[254,5],"m":"cp","o":"$05"},{"a":61917,"t":"code","b":[40,8],"m":"jr","oa":61927,"o":"z,$F1E7"},{"a":61919,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":61920,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":61922,"t":"code","b":[205,19,150],"m":"call","oa":38419,"o":"type_byte"},{"a":61925,"t":"code","b":[175],"m":"xor","o":"a"},{"a":61926,"t":"code","b":[2],"m":"ld","o":"(bc),a"},{"a":61927,"t":"code","b":[205,62,243],"m":"call","oa":62270,"o":"look_round","x":[61917]},{"a":61930,"t":"code","b":[196,50,242],"m":"call","oa":62002,"o":"nz,seize"},{"a":61933,"t":"code","b":[253,203,0,190],"m":"res","o":"7,(iy+$00)"},{"a":61937,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":61939,"t":"code","b":[254,6],"m":"cp","o":"$06"},{"a":61941,"t":"code","b":[216],"m":"ret","o":"c"},{"a":61942,"t":"code","b":[58,28,141],"m":"ld","oa":36124,"o":"a,($8D1C)"},{"a":61945,"t":"code","b":[230,7],"m":"and","o":"$07"},{"a":61947,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":61948,"t":"code","b":[62,18],"m":"ld","o":"a,$12"},{"a":61950,"t":"code","b":[50,31,112],"m":"ld","oa":28703,"o":"($701F),a"},{"a":61953,"t":"code","b":[201],"m":"ret"},{"a":61954,"l":"type_14_ai","c":"Types $14 to $17, which chase: in action 5 the action is kept and +4 set to 5; otherwise they look ahead only ($F341, B = 1) and seize ($F232), with sound effect $0B on channel C ($7038) when seizing; +$12 (the height) is kept at $20 or more.","t":"code","b":[253,126,12],"m":"ld","o":"a,(iy+$0C)","x":[61736]},{"a":61957,"t":"code","b":[254,5],"m":"cp","o":"$05"},{"a":61959,"t":"code","b":[32,7],"m":"jr","oa":61968,"o":"nz,$F210"},{"a":61961,"t":"code","b":[203,190],"m":"res","o":"7,(hl)"},{"a":61963,"t":"code","b":[253,54,4,5],"m":"ld","o":"(iy+$04),$05"},{"a":61967,"t":"code","b":[201],"m":"ret"},{"a":61968,"t":"code","b":[6,1],"m":"ld","o":"b,$01","x":[61959]},{"a":61970,"t":"code","b":[205,65,243],"m":"call","oa":62273,"o":"$F341"},{"a":61973,"t":"code","b":[196,50,242],"m":"call","oa":62002,"o":"nz,seize"},{"a":61976,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":61978,"t":"code","b":[254,5],"m":"cp","o":"$05"},{"a":61980,"t":"code","b":[32,5],"m":"jr","oa":61987,"o":"nz,$F223"},{"a":61982,"t":"code","b":[62,11],"m":"ld","o":"a,$0B"},{"a":61984,"t":"code","b":[50,56,112],"m":"ld","oa":28728,"o":"($7038),a"},{"a":61987,"t":"code","b":[253,203,0,190],"m":"res","o":"7,(iy+$00)","x":[61980]},{"a":61991,"t":"code","b":[253,126,18],"m":"ld","o":"a,(iy+$12)"},{"a":61994,"t":"code","b":[254,32],"m":"cp","o":"$20"},{"a":61996,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":61997,"t":"code","b":[253,54,18,32],"m":"ld","o":"(iy+$12),$20"},{"a":62001,"t":"code","b":[201],"m":"ret"},{"a":62002,"l":"seize","c":"The actor found ($F00F): when it is within 3 units across and down ($FAEB, $DB08), it becomes the victim (+5 its slot, its own +5 = $0C, the count to its death) and the action is 5; otherwise the action is 6 to 9, reaching in the direction looked.","t":"code","b":[42,15,240],"m":"ld","oa":61455,"o":"hl,($F00F)","x":[61809,61930,61973]},{"a":62005,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62006,"t":"code","b":[198,14],"m":"add","o":"a,$0E"},{"a":62008,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62009,"t":"code","b":[205,235,250],"m":"call","oa":64235,"o":"coarse_place"},{"a":62012,"t":"code","b":[17,8,219],"m":"ld","o":"de,$DB08"},{"a":62015,"t":"code","b":[33,58,160],"m":"ld","o":"hl,$A03A"},{"a":62018,"t":"code","b":[6,2],"m":"ld","o":"b,$02"},{"a":62020,"t":"code","b":[26],"m":"ld","o":"a,(de)","x":[62032]},{"a":62021,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":62022,"t":"code","b":[48,2],"m":"jr","oa":62026,"o":"nc,$F24A"},{"a":62024,"t":"code","b":[237,68],"m":"neg"},{"a":62026,"t":"code","b":[254,3],"m":"cp","o":"$03","x":[62022]},{"a":62028,"t":"code","b":[48,21],"m":"jr","oa":62051,"o":"nc,$F263"},{"a":62030,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":62031,"t":"code","b":[19],"m":"inc","o":"de"},{"a":62032,"t":"code","b":[16,242],"m":"djnz","oa":62020,"o":"$F244"},{"a":62034,"t":"code","b":[42,15,240],"m":"ld","oa":61455,"o":"hl,($F00F)"},{"a":62037,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62038,"t":"code","b":[253,119,5],"m":"ld","o":"(iy+$05),a"},{"a":62041,"t":"code","b":[198,5],"m":"add","o":"a,$05"},{"a":62043,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62044,"t":"code","b":[54,12],"m":"ld","o":"(hl),$0C"},{"a":62046,"t":"code","b":[62,5],"m":"ld","o":"a,$05"},{"a":62048,"t":"code","b":[195,15,245],"m":"jp","oa":62735,"o":"set_action"},{"a":62051,"t":"code","b":[58,13,240],"m":"ld","oa":61453,"o":"a,($F00D)","x":[62028]},{"a":62054,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":62056,"t":"code","b":[60],"m":"inc","o":"a"},{"a":62057,"t":"code","b":[198,5],"m":"add","o":"a,$05"},{"a":62059,"t":"code","b":[195,15,245],"m":"jp","oa":62735,"o":"set_action"},{"a":62062,"l":"carry_flight","c":"Event 6, a victim carried off: when the victim is the leader, $8D1B is cleared and $8D16 holds the direction. The victim is held ($F31D); while the carrier's height is above $C0 it flies on (sound effect $0B, action its direction plus 1, $8D16 = $FF); otherwise ($F2A8) the victim is dropped.","t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":62063,"t":"code","b":[253,110,5],"m":"ld","o":"l,(iy+$05)"},{"a":62066,"t":"code","b":[38,131],"m":"ld","o":"h,$83"},{"a":62068,"t":"code","b":[58,10,141],"m":"ld","oa":36106,"o":"a,($8D0A)"},{"a":62071,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":62072,"t":"code","b":[32,11],"m":"jr","oa":62085,"o":"nz,$F285"},{"a":62074,"t":"code","b":[50,27,141],"m":"ld","oa":36123,"o":"($8D1B),a"},{"a":62077,"t":"code","b":[253,126,13],"m":"ld","o":"a,(iy+$0D)"},{"a":62080,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":62082,"t":"code","b":[50,22,141],"m":"ld","oa":36118,"o":"($8D16),a"},{"a":62085,"t":"code","b":[235],"m":"ex","o":"de,hl","x":[62072]},{"a":62086,"t":"code","b":[205,29,243],"m":"call","oa":62237,"o":"hold_victim"},{"a":62089,"t":"code","b":[45],"m":"dec","o":"l"},{"a":62090,"t":"code","b":[45],"m":"dec","o":"l"},{"a":62091,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":62092,"t":"code","b":[254,192],"m":"cp","o":"$C0"},{"a":62094,"t":"code","b":[202,168,242],"m":"jp","oa":62120,"o":"z,drop_victim"},{"a":62097,"t":"code","b":[218,168,242],"m":"jp","oa":62120,"o":"c,drop_victim"},{"a":62100,"t":"code","b":[62,11],"m":"ld","o":"a,$0B"},{"a":62102,"t":"code","b":[50,56,112],"m":"ld","oa":28728,"o":"($7038),a"},{"a":62105,"t":"code","b":[253,126,13],"m":"ld","o":"a,(iy+$0D)"},{"a":62108,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":62110,"t":"code","b":[60],"m":"inc","o":"a"},{"a":62111,"t":"code","b":[253,119,12],"m":"ld","o":"(iy+$0C),a"},{"a":62114,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":62116,"t":"code","b":[50,22,141],"m":"ld","oa":36118,"o":"($8D16),a"},{"a":62119,"t":"code","b":[201],"m":"ret"},{"a":62120,"l":"drop_victim","c":"The victim is put down beside the carrier ($F024 by direction, $F2BE) and dies (action $8B, state $48).","t":"code","b":[123],"m":"ld","o":"a,e","x":[62094,62097]},{"a":62121,"t":"code","b":[214,6],"m":"sub","o":"$06"},{"a":62123,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":62124,"t":"code","b":[33,36,240],"m":"ld","o":"hl,$F024"},{"a":62127,"t":"code","b":[205,190,242],"m":"call","oa":62142,"o":"move_with"},{"a":62130,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62131,"t":"code","b":[214,11],"m":"sub","o":"$0B"},{"a":62133,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62134,"t":"code","b":[54,139],"m":"ld","o":"(hl),$8B"},{"a":62136,"t":"code","b":[214,11],"m":"sub","o":"$0B"},{"a":62138,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62139,"t":"code","b":[54,72],"m":"ld","o":"(hl),$48"},{"a":62141,"t":"code","b":[201],"m":"ret"},{"a":62142,"l":"move_with","c":"Adds the pair at HL for the actor's direction (+$0D) to the place across and down at DE, and works out the screen place ($C362).","t":"code","b":[253,126,13],"m":"ld","o":"a,(iy+$0D)","x":[61862,62127]},{"a":62145,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":62147,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":62148,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":62149,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62150,"t":"code","b":[48,1],"m":"jr","oa":62153,"o":"nc,$F2C9"},{"a":62152,"t":"code","b":[36],"m":"inc","o":"h"},{"a":62153,"t":"code","b":[78],"m":"ld","o":"c,(hl)","x":[62150]},{"a":62154,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":62155,"t":"code","b":[70],"m":"ld","o":"b,(hl)"},{"a":62156,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":62157,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":62158,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":62160,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":62161,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62162,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":62163,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":62164,"t":"code","b":[203,121],"m":"bit","o":"7,c"},{"a":62166,"t":"code","b":[40,1],"m":"jr","oa":62169,"o":"z,$F2D9"},{"a":62168,"t":"code","b":[5],"m":"dec","o":"b"},{"a":62169,"t":"code","b":[9],"m":"add","o":"hl,bc","x":[62166]},{"a":62170,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":62171,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":62172,"t":"code","b":[45],"m":"dec","o":"l"},{"a":62173,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":62174,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62175,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62176,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":62177,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62178,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":62179,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":62180,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":62182,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":62183,"t":"code","b":[23],"m":"rla"},{"a":62184,"t":"code","b":[48,1],"m":"jr","oa":62187,"o":"nc,$F2EB"},{"a":62186,"t":"code","b":[5],"m":"dec","o":"b"},{"a":62187,"t":"code","b":[9],"m":"add","o":"hl,bc","x":[62184]},{"a":62188,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":62189,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":62190,"t":"code","b":[45],"m":"dec","o":"l"},{"a":62191,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":62192,"t":"code","b":[45],"m":"dec","o":"l"},{"a":62193,"t":"code","b":[45],"m":"dec","o":"l"},{"a":62194,"t":"code","b":[195,98,195],"m":"jp","oa":50018,"o":"project"},{"a":62197,"l":"sink","c":"Event 4: while holding a victim, the grabber's and the victim's sink counts ($9613) go up by 3, the grabber's to at most 12: both sink into the ground.","t":"code","b":[253,126,5],"m":"ld","o":"a,(iy+$05)"},{"a":62200,"t":"code","b":[60],"m":"inc","o":"a"},{"a":62201,"t":"code","b":[200],"m":"ret","o":"z"},{"a":62202,"t":"code","b":[205,29,243],"m":"call","oa":62237,"o":"hold_victim"},{"a":62205,"t":"code","b":[253,126,0],"m":"ld","o":"a,(iy+$00)"},{"a":62208,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":62210,"t":"code","b":[205,19,150],"m":"call","oa":38419,"o":"type_byte"},{"a":62213,"t":"code","b":[10],"m":"ld","o":"a,(bc)"},{"a":62214,"t":"code","b":[198,3],"m":"add","o":"a,$03"},{"a":62216,"t":"code","b":[254,12],"m":"cp","o":"$0C"},{"a":62218,"t":"code","b":[56,2],"m":"jr","oa":62222,"o":"c,$F30E"},{"a":62220,"t":"code","b":[62,12],"m":"ld","o":"a,$0C"},{"a":62222,"t":"code","b":[2],"m":"ld","o":"(bc),a","x":[62218]},{"a":62223,"t":"code","b":[253,110,5],"m":"ld","o":"l,(iy+$05)"},{"a":62226,"t":"code","b":[38,131],"m":"ld","o":"h,$83"},{"a":62228,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":62229,"t":"code","b":[205,19,150],"m":"call","oa":38419,"o":"type_byte"},{"a":62232,"t":"code","b":[10],"m":"ld","o":"a,(bc)"},{"a":62233,"t":"code","b":[198,3],"m":"add","o":"a,$03"},{"a":62235,"t":"code","b":[2],"m":"ld","o":"(bc),a"},{"a":62236,"t":"code","b":[201],"m":"ret"},{"a":62237,"l":"hold_victim","c":"The victim (slot +5) says HELP (message 14), is marked held (bit 6 of +1), its action $80, and its place across, down and height becomes the holder's.","t":"code","b":[235],"m":"ex","o":"de,hl","x":[61840,62086,62202]},{"a":62238,"t":"code","b":[253,110,5],"m":"ld","o":"l,(iy+$05)"},{"a":62241,"t":"code","b":[38,131],"m":"ld","o":"h,$83"},{"a":62243,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":62244,"t":"code","b":[6,14],"m":"ld","o":"b,$0E"},{"a":62246,"t":"code","b":[205,41,140],"m":"call","oa":35881,"o":"queue_message"},{"a":62249,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62250,"t":"code","b":[203,246],"m":"set","o":"6,(hl)"},{"a":62252,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62253,"t":"code","b":[198,11],"m":"add","o":"a,$0B"},{"a":62255,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62256,"t":"code","b":[54,128],"m":"ld","o":"(hl),$80"},{"a":62258,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62259,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62260,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":62261,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62262,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62263,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62264,"t":"code","b":[1,6,0],"m":"ld","o":"bc,$0006"},{"a":62267,"t":"code","b":[237,176],"m":"ldir"},{"a":62269,"t":"code","b":[201],"m":"ret"},{"a":62270,"l":"look_round","c":"Looks for a target in all four directions, the one faced first, then the opposite, then the two others; $F341 with B = 1 looks ahead only. NZ when one is found that $F4C0 accepts, the direction in $F00D.","t":"code","b":[1,1,4],"m":"ld","o":"bc,$0401","x":[61759,61806,61927]},{"a":62273,"t":"code","b":[125],"m":"ld","o":"a,l","x":[61970]},{"a":62274,"t":"code","b":[198,13],"m":"add","o":"a,$0D"},{"a":62276,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62277,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":62278,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":62280,"t":"code","b":[197],"m":"push","o":"bc","x":[62307]},{"a":62281,"t":"code","b":[229],"m":"push","o":"hl"},{"a":62282,"t":"code","b":[50,13,240],"m":"ld","oa":61453,"o":"($F00D),a"},{"a":62285,"t":"code","b":[205,103,243],"m":"call","oa":62311,"o":"look_one_way"},{"a":62288,"t":"code","b":[58,14,240],"m":"ld","oa":61454,"o":"a,($F00E)"},{"a":62291,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":62293,"t":"code","b":[196,192,244],"m":"call","oa":62656,"o":"nz,will_target"},{"a":62296,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":62297,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":62298,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":62299,"t":"code","b":[62,3],"m":"ld","o":"a,$03"},{"a":62301,"t":"code","b":[169],"m":"xor","o":"c"},{"a":62302,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":62303,"t":"code","b":[58,13,240],"m":"ld","oa":61453,"o":"a,($F00D)"},{"a":62306,"t":"code","b":[169],"m":"xor","o":"c"},{"a":62307,"t":"code","b":[16,227],"m":"djnz","oa":62280,"o":"$F348"},{"a":62309,"t":"code","b":[175],"m":"xor","o":"a"},{"a":62310,"t":"code","b":[201],"m":"ret"},{"a":62311,"l":"look_one_way","c":"Looks along direction A: the actor's height ($F411, 0 for types $14 to $17) and a margin of 4 ($F3E4) set the scan for actors, along the across axis ($F3AA) or the down axis ($F39F). When an actor is found, the boxes are scanned too ($F446, $F452), and a nearer box takes its place. Looking across and finding none, the scan goes on down from where it left HL ($8301): slot 0's place.","t":"code","b":[8],"m":"ex","o":"af,af'","x":[62285]},{"a":62312,"t":"code","b":[253,94,18],"m":"ld","o":"e,(iy+$12)"},{"a":62315,"t":"code","b":[253,86,19],"m":"ld","o":"d,(iy+$13)"},{"a":62318,"t":"code","b":[253,126,0],"m":"ld","o":"a,(iy+$00)"},{"a":62321,"t":"code","b":[230,60],"m":"and","o":"$3C"},{"a":62323,"t":"code","b":[254,20],"m":"cp","o":"$14"},{"a":62325,"t":"code","b":[32,3],"m":"jr","oa":62330,"o":"nz,$F37A"},{"a":62327,"t":"code","b":[17,0,0],"m":"ld","o":"de,$0000"},{"a":62330,"t":"code","b":[237,83,17,244],"m":"ld","oa":62481,"o":"($F411),de","x":[62325]},{"a":62334,"t":"code","b":[62,4],"m":"ld","o":"a,$04"},{"a":62336,"t":"code","b":[50,228,243],"m":"ld","oa":62436,"o":"($F3E4),a"},{"a":62339,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":62340,"t":"code","b":[31],"m":"rra"},{"a":62341,"t":"code","b":[56,6],"m":"jr","oa":62349,"o":"c,$F38D"},{"a":62343,"t":"code","b":[205,170,243],"m":"call","oa":62378,"o":"$F3AA"},{"a":62346,"t":"code","b":[194,70,244],"m":"jp","oa":62534,"o":"nz,scan_boxes"},{"a":62349,"t":"code","b":[205,159,243],"m":"call","oa":62367,"o":"scan_down","x":[62341]},{"a":62352,"t":"code","b":[194,82,244],"m":"jp","oa":62546,"o":"nz,$F452"},{"a":62355,"l":"own_place","c":"The place across and down at HL into BC and the other set's BC.","t":"code","b":[44],"m":"inc","o":"l","x":[62367,62378]},{"a":62356,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":62357,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62358,"t":"code","b":[70],"m":"ld","o":"b,(hl)"},{"a":62359,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62360,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":62361,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62362,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":62363,"t":"code","b":[213],"m":"push","o":"de"},{"a":62364,"t":"code","b":[217],"m":"exx"},{"a":62365,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":62366,"t":"code","b":[201],"m":"ret"},{"a":62367,"l":"scan_down","c":"Scans for actors along the down axis ($F3B4 with +$0E across and +$0F); $F3AA along the across axis.","t":"code","b":[205,147,243],"m":"call","oa":62355,"o":"own_place","x":[62349]},{"a":62370,"t":"code","b":[217],"m":"exx"},{"a":62371,"t":"code","b":[30,14],"m":"ld","o":"e,$0E","x":[50794]},{"a":62373,"t":"code","b":[22,15],"m":"ld","o":"d,$0F"},{"a":62375,"t":"code","b":[195,180,243],"m":"jp","oa":62388,"o":"scan_actors"},{"a":62378,"t":"code","b":[205,147,243],"m":"call","oa":62355,"o":"own_place","x":[62343]},{"a":62381,"t":"code","b":[30,16],"m":"ld","o":"e,$10","x":[50786]},{"a":62383,"t":"code","b":[22,13],"m":"ld","o":"d,$0D"},{"a":62385,"t":"code","b":[195,180,243],"m":"jp","oa":62388,"o":"scan_actors"},{"a":62388,"l":"scan_actors","c":"For each actor in play, not being worked on: within 4 units off the line, ahead in the direction looked, and within $1B in height; the nearest goes in $F00E (its distance), $F011 and $F00F. A is one more than the distance, 0 when nothing is found.","t":"code","b":[8],"m":"ex","o":"af,af'","x":[62375,62385]},{"a":62389,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":62391,"t":"code","b":[50,14,240],"m":"ld","oa":61454,"o":"($F00E),a"},{"a":62394,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":62395,"t":"code","b":[50,214,243],"m":"ld","oa":62422,"o":"($F3D6),a"},{"a":62398,"t":"code","b":[122],"m":"ld","o":"a,d"},{"a":62399,"t":"code","b":[50,235,243],"m":"ld","oa":62443,"o":"($F3EB),a"},{"a":62402,"t":"code","b":[33,1,131],"m":"ld","o":"hl,$8301"},{"a":62405,"t":"code","b":[229],"m":"push","o":"hl","x":[62526]},{"a":62406,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":62407,"t":"code","b":[230,15],"m":"and","o":"$0F"},{"a":62409,"t":"code","b":[254,8],"m":"cp","o":"$08"},{"a":62411,"t":"code","b":[210,57,244],"m":"jp","oa":62521,"o":"nc,$F439"},{"a":62414,"t":"code","b":[45],"m":"dec","o":"l"},{"a":62415,"t":"code","b":[203,126],"m":"bit","o":"7,(hl)"},{"a":62417,"t":"code","b":[194,57,244],"m":"jp","oa":62521,"o":"nz,$F439"},{"a":62420,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62421,"t":"code","b":[198,13],"m":"add","o":"a,$0D"},{"a":62423,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62424,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":62425,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62426,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":62427,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":62428,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":62430,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62431,"t":"code","b":[48,2],"m":"jr","oa":62435,"o":"nc,$F3E3"},{"a":62433,"t":"code","b":[237,68],"m":"neg"},{"a":62435,"t":"code","b":[254,4],"m":"cp","o":"$04","x":[62431]},{"a":62437,"t":"code","b":[48,82],"m":"jr","oa":62521,"o":"nc,$F439"},{"a":62439,"t":"code","b":[217],"m":"exx"},{"a":62440,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":62441,"t":"code","b":[229],"m":"push","o":"hl"},{"a":62442,"t":"code","b":[62,15],"m":"ld","o":"a,$0F"},{"a":62444,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":62445,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62446,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":62447,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62448,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":62449,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":62450,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":62452,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":62453,"t":"code","b":[230,1],"m":"and","o":"$01"},{"a":62455,"t":"code","b":[32,5],"m":"jr","oa":62462,"o":"nz,$F3FE"},{"a":62457,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":62458,"t":"code","b":[56,60],"m":"jr","oa":62520,"o":"c,$F438"},{"a":62460,"t":"code","b":[24,7],"m":"jr","oa":62469,"o":"$F405"},{"a":62462,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[62455]},{"a":62463,"t":"code","b":[48,55],"m":"jr","oa":62520,"o":"nc,$F438"},{"a":62465,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62466,"t":"code","b":[237,68],"m":"neg"},{"a":62468,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62469,"t":"code","b":[125],"m":"ld","o":"a,l","x":[62460]},{"a":62470,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":62471,"t":"code","b":[229],"m":"push","o":"hl"},{"a":62472,"t":"code","b":[245],"m":"push","o":"af"},{"a":62473,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62474,"t":"code","b":[198,17],"m":"add","o":"a,$11"},{"a":62476,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62477,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":62478,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62479,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":62480,"t":"code","b":[33,0,0],"m":"ld","o":"hl,$0000"},{"a":62483,"t":"code","b":[167],"m":"and","o":"a"},{"a":62484,"t":"code","b":[237,82],"m":"sbc","o":"hl,de"},{"a":62486,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62487,"t":"code","b":[48,2],"m":"jr","oa":62491,"o":"nc,$F41B"},{"a":62489,"t":"code","b":[237,68],"m":"neg"},{"a":62491,"t":"code","b":[254,27],"m":"cp","o":"$1B","x":[62487]},{"a":62493,"t":"code","b":[56,3],"m":"jr","oa":62498,"o":"c,$F422"},{"a":62495,"t":"code","b":[241],"m":"pop","o":"af"},{"a":62496,"t":"code","b":[24,22],"m":"jr","oa":62520,"o":"$F438"},{"a":62498,"t":"code","b":[241],"m":"pop","o":"af","x":[62493]},{"a":62499,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62500,"t":"code","b":[58,14,240],"m":"ld","oa":61454,"o":"a,($F00E)"},{"a":62503,"t":"code","b":[189],"m":"cp","o":"l"},{"a":62504,"t":"code","b":[56,14],"m":"jr","oa":62520,"o":"c,$F438"},{"a":62506,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62507,"t":"code","b":[50,14,240],"m":"ld","oa":61454,"o":"($F00E),a"},{"a":62510,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":62511,"t":"code","b":[229],"m":"push","o":"hl"},{"a":62512,"t":"code","b":[45],"m":"dec","o":"l"},{"a":62513,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62514,"t":"code","b":[50,17,240],"m":"ld","oa":61457,"o":"($F011),a"},{"a":62517,"t":"code","b":[34,15,240],"m":"ld","oa":61455,"o":"($F00F),hl"},{"a":62520,"t":"code","b":[217],"m":"exx","x":[62458,62463,62496,62504]},{"a":62521,"t":"code","b":[225],"m":"pop","o":"hl","x":[62411,62417,62437]},{"a":62522,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62523,"t":"code","b":[198,32],"m":"add","o":"a,$20"},{"a":62525,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62526,"t":"code","b":[210,197,243],"m":"jp","oa":62405,"o":"nc,$F3C5"},{"a":62529,"t":"code","b":[58,14,240],"m":"ld","oa":61454,"o":"a,($F00E)"},{"a":62532,"t":"code","b":[60],"m":"inc","o":"a"},{"a":62533,"t":"code","b":[201],"m":"ret"},{"a":62534,"l":"scan_boxes","c":"Scans the area's boxes ($962D of them, from $C002 or $C000 for the two axes) for one ahead within $40 cells; nearer than any actor found, it goes in $F00E and $F00F with $F011 = $FF.","t":"code","b":[33,2,192],"m":"ld","o":"hl,$C002","x":[50789,62346]},{"a":62537,"t":"code","b":[34,120,244],"m":"ld","oa":62584,"o":"($F478),hl"},{"a":62540,"t":"code","b":[33,45,45],"m":"ld","o":"hl,$2D2D"},{"a":62543,"t":"code","b":[195,91,244],"m":"jp","oa":62555,"o":"$F45B"},{"a":62546,"t":"code","b":[33,0,192],"m":"ld","o":"hl,$C000","x":[50797,62352]},{"a":62549,"t":"code","b":[34,120,244],"m":"ld","oa":62584,"o":"($F478),hl"},{"a":62552,"t":"code","b":[33,44,44],"m":"ld","o":"hl,$2C2C"},{"a":62555,"t":"code","b":[34,132,244],"m":"ld","oa":62596,"o":"($F484),hl","x":[62543]},{"a":62558,"t":"code","b":[197],"m":"push","o":"bc"},{"a":62559,"t":"code","b":[217],"m":"exx"},{"a":62560,"t":"code","b":[209],"m":"pop","o":"de"},{"a":62561,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":62562,"t":"code","b":[203,26],"m":"rr","o":"d"},{"a":62564,"t":"code","b":[31],"m":"rra"},{"a":62565,"t":"code","b":[203,26],"m":"rr","o":"d"},{"a":62567,"t":"code","b":[31],"m":"rra"},{"a":62568,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":62569,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":62570,"t":"code","b":[203,24],"m":"rr","o":"b"},{"a":62572,"t":"code","b":[31],"m":"rra"},{"a":62573,"t":"code","b":[203,24],"m":"rr","o":"b"},{"a":62575,"t":"code","b":[31],"m":"rra"},{"a":62576,"t":"code","b":[87],"m":"ld","o":"d,a"},{"a":62577,"t":"code","b":[58,45,150],"m":"ld","oa":38445,"o":"a,(box_count)"},{"a":62580,"t":"code","b":[167],"m":"and","o":"a"},{"a":62581,"t":"code","b":[200],"m":"ret","o":"z"},{"a":62582,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":62583,"t":"code","b":[33,2,192],"m":"ld","o":"hl,$C002"},{"a":62586,"t":"code","b":[197],"m":"push","o":"bc","x":[62653]},{"a":62587,"t":"code","b":[229],"m":"push","o":"hl"},{"a":62588,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":62589,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":62590,"t":"code","b":[56,55],"m":"jr","oa":62647,"o":"c,$F4B7"},{"a":62592,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62593,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":62594,"t":"code","b":[48,51],"m":"jr","oa":62647,"o":"nc,$F4B7"},{"a":62596,"t":"code","b":[45],"m":"dec","o":"l","x":[62555]},{"a":62597,"t":"code","b":[45],"m":"dec","o":"l"},{"a":62598,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":62599,"t":"code","b":[230,1],"m":"and","o":"$01"},{"a":62601,"t":"code","b":[32,10],"m":"jr","oa":62613,"o":"nz,$F495"},{"a":62603,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":62604,"t":"code","b":[45],"m":"dec","o":"l"},{"a":62605,"t":"code","b":[122],"m":"ld","o":"a,d"},{"a":62606,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":62607,"t":"code","b":[48,38],"m":"jr","oa":62647,"o":"nc,$F4B7"},{"a":62609,"t":"code","b":[237,68],"m":"neg"},{"a":62611,"t":"code","b":[24,5],"m":"jr","oa":62618,"o":"$F49A"},{"a":62613,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[62601]},{"a":62614,"t":"code","b":[122],"m":"ld","o":"a,d"},{"a":62615,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":62616,"t":"code","b":[56,29],"m":"jr","oa":62647,"o":"c,$F4B7"},{"a":62618,"t":"code","b":[254,64],"m":"cp","o":"$40","x":[62611]},{"a":62620,"t":"code","b":[48,25],"m":"jr","oa":62647,"o":"nc,$F4B7"},{"a":62622,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":62623,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":62624,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":62625,"t":"code","b":[58,14,240],"m":"ld","oa":61454,"o":"a,($F00E)"},{"a":62628,"t":"code","b":[185],"m":"cp","o":"c"},{"a":62629,"t":"code","b":[56,16],"m":"jr","oa":62647,"o":"c,$F4B7"},{"a":62631,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":62632,"t":"code","b":[50,14,240],"m":"ld","oa":61454,"o":"($F00E),a"},{"a":62635,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":62637,"t":"code","b":[50,17,240],"m":"ld","oa":61457,"o":"($F011),a"},{"a":62640,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62641,"t":"code","b":[230,252],"m":"and","o":"$FC"},{"a":62643,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62644,"t":"code","b":[34,15,240],"m":"ld","oa":61455,"o":"($F00F),hl"},{"a":62647,"t":"code","b":[225],"m":"pop","o":"hl","x":[62590,62594,62607,62616,62620,62629]},{"a":62648,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62649,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62650,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62651,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62652,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":62653,"t":"code","b":[16,187],"m":"djnz","oa":62586,"o":"$F47A"},{"a":62655,"t":"code","b":[201],"m":"ret"},{"a":62656,"l":"will_target","c":"Z for a box; otherwise NZ when the hostility byte of the target's type ($EFED) has the bit for the one looking: 4 for the party, 8 for types 4 to 7, 1 for the rest.","t":"code","b":[58,17,240],"m":"ld","oa":61457,"o":"a,($F011)","x":[62293]},{"a":62659,"t":"code","b":[60],"m":"inc","o":"a"},{"a":62660,"t":"code","b":[200],"m":"ret","o":"z"},{"a":62661,"t":"code","b":[42,15,240],"m":"ld","oa":61455,"o":"hl,($F00F)"},{"a":62664,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":62665,"t":"code","b":[230,60],"m":"and","o":"$3C"},{"a":62667,"t":"code","b":[31],"m":"rra"},{"a":62668,"t":"code","b":[31],"m":"rra"},{"a":62669,"t":"code","b":[33,237,239],"m":"ld","o":"hl,$EFED"},{"a":62672,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":62673,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62674,"t":"code","b":[48,1],"m":"jr","oa":62677,"o":"nc,$F4D5"},{"a":62676,"t":"code","b":[36],"m":"inc","o":"h"},{"a":62677,"t":"code","b":[253,126,0],"m":"ld","o":"a,(iy+$00)","x":[62674]},{"a":62680,"t":"code","b":[230,60],"m":"and","o":"$3C"},{"a":62682,"t":"code","b":[6,4],"m":"ld","o":"b,$04"},{"a":62684,"t":"code","b":[40,8],"m":"jr","oa":62694,"o":"z,$F4E6"},{"a":62686,"t":"code","b":[6,1],"m":"ld","o":"b,$01"},{"a":62688,"t":"code","b":[254,8],"m":"cp","o":"$08"},{"a":62690,"t":"code","b":[48,2],"m":"jr","oa":62694,"o":"nc,$F4E6"},{"a":62692,"t":"code","b":[6,8],"m":"ld","o":"b,$08"},{"a":62694,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[62684,62690]},{"a":62695,"t":"code","b":[160],"m":"and","o":"b"},{"a":62696,"t":"code","b":[201],"m":"ret"},{"a":62697,"l":"face_target","c":"Turns to face the target unless it faces this way already and this is one of the party: the action is the direction plus 1, or 5 when already facing it.","t":"code","b":[42,15,240],"m":"ld","oa":61455,"o":"hl,($F00F)","x":[61762]},{"a":62700,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62701,"t":"code","b":[198,13],"m":"add","o":"a,$0D"},{"a":62703,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62704,"t":"code","b":[58,13,240],"m":"ld","oa":61453,"o":"a,($F00D)"},{"a":62707,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":62708,"t":"code","b":[238,2],"m":"xor","o":"$02"},{"a":62710,"t":"code","b":[174],"m":"xor","o":"(hl)"},{"a":62711,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":62713,"t":"code","b":[32,8],"m":"jr","oa":62723,"o":"nz,$F503"},{"a":62715,"t":"code","b":[253,126,0],"m":"ld","o":"a,(iy+$00)"},{"a":62718,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":62720,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":62722,"t":"code","b":[216],"m":"ret","o":"c"},{"a":62723,"t":"code","b":[253,126,13],"m":"ld","o":"a,(iy+$0D)","x":[62713]},{"a":62726,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":62728,"t":"code","b":[185],"m":"cp","o":"c"},{"a":62729,"t":"code","b":[62,5],"m":"ld","o":"a,$05"},{"a":62731,"t":"code","b":[40,2],"m":"jr","oa":62735,"o":"z,set_action"},{"a":62733,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":62734,"t":"code","b":[60],"m":"inc","o":"a"},{"a":62735,"l":"set_action","c":"Sets +4 to 2 and the action to A, with bit 7 when it changes.","t":"code","b":[253,54,4,2],"m":"ld","o":"(iy+$04),$02","x":[62048,62059,62731]},{"a":62739,"t":"code","b":[253,190,12],"m":"cp","o":"(iy+$0C)"},{"a":62742,"t":"code","b":[200],"m":"ret","o":"z"},{"a":62743,"t":"code","b":[246,128],"m":"or","o":"$80"},{"a":62745,"t":"code","b":[253,119,12],"m":"ld","o":"(iy+$0C),a"},{"a":62748,"t":"code","b":[201],"m":"ret"},{"a":62749,"l":"new_leader","c":"The portraits of the third menu (actions 12 to 15): $8D0A becomes character A less 12; if that is the captive ($8D0C), the ceremony's count stops ($8D15 = $FF). A character in play has his or her actor swapped into slot 0 (action $80); otherwise the record is put at its route's point (a route chosen by $E24E when it has none), the area loaded when it is another ($87CF), the old leader put back ($DE58) and the new one brought in ($DD1C). Then the view is centred on the leader ($9633 to $9637) and the area's edges set ($DB0B).","t":"code","b":[214,12],"m":"sub","o":"$0C"},{"a":62751,"t":"code","b":[50,10,141],"m":"ld","oa":36106,"o":"($8D0A),a"},{"a":62754,"t":"code","b":[33,12,141],"m":"ld","o":"hl,$8D0C"},{"a":62757,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":62758,"t":"code","b":[32,5],"m":"jr","oa":62765,"o":"nz,$F52D"},{"a":62760,"t":"code","b":[33,21,141],"m":"ld","o":"hl,$8D15"},{"a":62763,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":62765,"t":"code","b":[205,146,228],"m":"call","oa":58514,"o":"record_of","x":[62758]},{"a":62768,"t":"code","b":[229],"m":"push","o":"hl"},{"a":62769,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":62770,"t":"code","b":[203,126],"m":"bit","o":"7,(hl)"},{"a":62772,"t":"code","b":[202,91,245],"m":"jp","oa":62811,"o":"z,$F55B"},{"a":62775,"t":"code","b":[58,10,141],"m":"ld","oa":36106,"o":"a,($8D0A)"},{"a":62778,"t":"code","b":[33,0,131],"m":"ld","o":"hl,$8300"},{"a":62781,"t":"code","b":[17,32,0],"m":"ld","o":"de,$0020"},{"a":62784,"t":"code","b":[190],"m":"cp","o":"(hl)","x":[62788]},{"a":62785,"t":"code","b":[40,3],"m":"jr","oa":62790,"o":"z,$F546"},{"a":62787,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":62788,"t":"code","b":[24,250],"m":"jr","oa":62784,"o":"$F540"},{"a":62790,"t":"code","b":[17,0,131],"m":"ld","o":"de,$8300","x":[62785]},{"a":62793,"t":"code","b":[6,32],"m":"ld","o":"b,$20"},{"a":62795,"t":"code","b":[26],"m":"ld","o":"a,(de)","x":[62802]},{"a":62796,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":62797,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":62798,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":62799,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":62800,"t":"code","b":[28],"m":"inc","o":"e"},{"a":62801,"t":"code","b":[44],"m":"inc","o":"l"},{"a":62802,"t":"code","b":[16,247],"m":"djnz","oa":62795,"o":"$F54B"},{"a":62804,"t":"code","b":[62,128],"m":"ld","o":"a,$80"},{"a":62806,"t":"code","b":[50,12,131],"m":"ld","oa":33548,"o":"($830C),a"},{"a":62809,"t":"code","b":[24,104],"m":"jr","oa":62915,"o":"$F5C3"},{"a":62811,"t":"code","b":[35],"m":"inc","o":"hl","x":[62772]},{"a":62812,"t":"code","b":[229],"m":"push","o":"hl"},{"a":62813,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":62814,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":62815,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":62816,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":62817,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":62818,"t":"code","b":[167],"m":"and","o":"a"},{"a":62819,"t":"code","b":[32,10],"m":"jr","oa":62831,"o":"nz,$F56F"},{"a":62821,"t":"code","b":[229],"m":"push","o":"hl"},{"a":62822,"t":"code","b":[205,78,226],"m":"call","oa":57934,"o":"nearest_route"},{"a":62825,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":62826,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":62827,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":62828,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":62829,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":62830,"t":"code","b":[122],"m":"ld","o":"a,d"},{"a":62831,"t":"code","b":[35],"m":"inc","o":"hl","x":[62819]},{"a":62832,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":62833,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":62834,"t":"code","b":[33,104,237],"m":"ld","o":"hl,$ED68"},{"a":62837,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":62838,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62839,"t":"code","b":[48,1],"m":"jr","oa":62842,"o":"nc,$F57A"},{"a":62841,"t":"code","b":[36],"m":"inc","o":"h"},{"a":62842,"t":"code","b":[78],"m":"ld","o":"c,(hl)","x":[62839]},{"a":62843,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":62844,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":62845,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":62846,"t":"code","b":[56,1],"m":"jr","oa":62849,"o":"c,$F581"},{"a":62848,"t":"code","b":[61],"m":"dec","o":"a"},{"a":62849,"t":"code","b":[129],"m":"add","o":"a,c","x":[62846]},{"a":62850,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":62851,"t":"code","b":[22,0],"m":"ld","o":"d,$00"},{"a":62853,"t":"code","b":[33,176,237],"m":"ld","o":"hl,$EDB0"},{"a":62856,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":62857,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":62858,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":62859,"t":"code","b":[209],"m":"pop","o":"de"},{"a":62860,"t":"code","b":[213],"m":"push","o":"de"},{"a":62861,"t":"code","b":[237,160],"m":"ldi"},{"a":62863,"t":"code","b":[237,160],"m":"ldi"},{"a":62865,"t":"code","b":[237,160],"m":"ldi"},{"a":62867,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":62868,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)"},{"a":62871,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":62872,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":62873,"t":"code","b":[50,31,141],"m":"ld","oa":36127,"o":"($8D1F),a"},{"a":62876,"t":"code","b":[40,11],"m":"jr","oa":62889,"o":"z,$F5A9"},{"a":62878,"t":"code","b":[33,169,245],"m":"ld","o":"hl,$F5A9"},{"a":62881,"t":"code","b":[229],"m":"push","o":"hl"},{"a":62882,"t":"code","b":[33,146,140],"m":"ld","o":"hl,$8C92"},{"a":62885,"t":"code","b":[229],"m":"push","o":"hl"},{"a":62886,"t":"code","b":[195,207,135],"m":"jp","oa":34767,"o":"load_area"},{"a":62889,"t":"code","b":[33,0,131],"m":"ld","o":"hl,$8300","x":[62876]},{"a":62892,"t":"code","b":[205,88,222],"m":"call","oa":56920,"o":"put_back"},{"a":62895,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":62896,"t":"code","b":[229],"m":"push","o":"hl"},{"a":62897,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":62898,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":62899,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":62900,"t":"code","b":[205,160,220],"m":"call","oa":56480,"o":"record_ground"},{"a":62903,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62904,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":62905,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":62906,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":62907,"t":"code","b":[34,213,142],"m":"ld","oa":36565,"o":"($8ED5),hl"},{"a":62910,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":62911,"t":"code","b":[229],"m":"push","o":"hl"},{"a":62912,"t":"code","b":[205,28,221],"m":"call","oa":56604,"o":"bring_in"},{"a":62915,"t":"code","b":[42,20,131],"m":"ld","oa":33556,"o":"hl,($8314)","x":[62809]},{"a":62918,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62919,"t":"code","b":[230,248],"m":"and","o":"$F8"},{"a":62921,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62922,"t":"code","b":[1,104,0],"m":"ld","o":"bc,$0068"},{"a":62925,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":62927,"t":"code","b":[34,53,150],"m":"ld","oa":38453,"o":"($9635),hl"},{"a":62930,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62931,"t":"code","b":[203,28],"m":"rr","o":"h"},{"a":62933,"t":"code","b":[31],"m":"rra"},{"a":62934,"t":"code","b":[203,28],"m":"rr","o":"h"},{"a":62936,"t":"code","b":[31],"m":"rra"},{"a":62937,"t":"code","b":[203,28],"m":"rr","o":"h"},{"a":62939,"t":"code","b":[31],"m":"rra"},{"a":62940,"t":"code","b":[50,51,150],"m":"ld","oa":38451,"o":"($9633),a"},{"a":62943,"t":"code","b":[42,22,131],"m":"ld","oa":33558,"o":"hl,($8316)"},{"a":62946,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62947,"t":"code","b":[230,248],"m":"and","o":"$F8"},{"a":62949,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":62950,"t":"code","b":[1,72,0],"m":"ld","o":"bc,$0048"},{"a":62953,"t":"code","b":[167],"m":"and","o":"a"},{"a":62954,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":62956,"t":"code","b":[34,55,150],"m":"ld","oa":38455,"o":"($9637),hl"},{"a":62959,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":62960,"t":"code","b":[203,28],"m":"rr","o":"h"},{"a":62962,"t":"code","b":[31],"m":"rra"},{"a":62963,"t":"code","b":[203,28],"m":"rr","o":"h"},{"a":62965,"t":"code","b":[31],"m":"rra"},{"a":62966,"t":"code","b":[203,28],"m":"rr","o":"h"},{"a":62968,"t":"code","b":[31],"m":"rra"},{"a":62969,"t":"code","b":[50,52,150],"m":"ld","oa":38452,"o":"($9634),a"},{"a":62972,"t":"code","b":[33,7,246],"m":"ld","o":"hl,$F607"},{"a":62975,"t":"code","b":[229],"m":"push","o":"hl"},{"a":62976,"t":"code","b":[33,146,140],"m":"ld","o":"hl,$8C92"},{"a":62979,"t":"code","b":[229],"m":"push","o":"hl"},{"a":62980,"t":"code","b":[195,11,219],"m":"jp","oa":56075,"o":"area_edges"},{"a":62983,"l":"leader_done","c":"The end of $F51D: $8D09 cleared, $8D16 and $8D17 set to $FF, back to the main loop ($868E).","t":"code","b":[225],"m":"pop","o":"hl"},{"a":62984,"t":"code","b":[175],"m":"xor","o":"a"},{"a":62985,"t":"code","b":[50,9,141],"m":"ld","oa":36105,"o":"($8D09),a"},{"a":62988,"t":"code","b":[47],"m":"cpl"},{"a":62989,"t":"code","b":[50,22,141],"m":"ld","oa":36118,"o":"($8D16),a"},{"a":62992,"t":"code","b":[50,23,141],"m":"ld","oa":36119,"o":"($8D17),a"},{"a":62995,"t":"code","b":[195,142,134],"m":"jp","oa":34446,"o":"$868E"},{"a":62998,"l":"object_colours","c":"A colour for each of the seventeen objects' icons; a tin's and the bottle's show how full it is ($F910), the dynamite's turns to $D6 when lit.","t":"byte","b":[7,7,7,7,7,7,7,7]},{"a":63006,"t":"byte","b":[7,7,7,7,7,7,7,7]},{"a":63014,"t":"byte","b":[7],"x":[63637]},{"a":63015,"l":"object_stock","c":"$F627-$F62A each tin opened ($FF) or not; $F62B-$F62E what each tin holds; $F62F the water in the bottle; $F630 not read; $F631 the first aid left; $F632 the ammunition left.","t":"byte","b":[0,0,0,0,255,255,255,255]},{"a":63023,"t":"byte","b":[255,255,255,255]},{"a":63027,"l":"objects_pass","c":"For the area, once a pass ($DC9C): $FAFF, then each object lying in the area ($8D1F) whose screen column and row are within the view ($9633, $9634, with a margin of 4) is marked to be shown and drawn (bits 7 and 6 of +1); the others lose both marks.","t":"code","b":[205,255,250],"m":"call","oa":64255,"o":"cycle_graphic","x":[56125,56476]},{"a":63030,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)"},{"a":63033,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":63034,"t":"code","b":[237,91,51,150],"m":"ld","oa":38451,"o":"de,($9633)"},{"a":63038,"t":"code","b":[6,20],"m":"ld","o":"b,$14"},{"a":63040,"t":"code","b":[33,217,236],"m":"ld","o":"hl,$ECD9"},{"a":63043,"t":"code","b":[229],"m":"push","o":"hl","x":[63110]},{"a":63044,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":63045,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":63047,"t":"code","b":[185],"m":"cp","o":"c"},{"a":63048,"t":"code","b":[32,48],"m":"jr","oa":63098,"o":"nz,$F67A"},{"a":63050,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63051,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63052,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63053,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63054,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":63055,"t":"code","b":[214,4],"m":"sub","o":"$04"},{"a":63057,"t":"code","b":[48,1],"m":"jr","oa":63060,"o":"nc,$F654"},{"a":63059,"t":"code","b":[175],"m":"xor","o":"a"},{"a":63060,"t":"code","b":[190],"m":"cp","o":"(hl)","x":[63057]},{"a":63061,"t":"code","b":[40,2],"m":"jr","oa":63065,"o":"z,$F659"},{"a":63063,"t":"code","b":[48,33],"m":"jr","oa":63098,"o":"nc,$F67A"},{"a":63065,"t":"code","b":[198,36],"m":"add","o":"a,$24","x":[63061]},{"a":63067,"t":"code","b":[48,2],"m":"jr","oa":63071,"o":"nc,$F65F"},{"a":63069,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":63071,"t":"code","b":[190],"m":"cp","o":"(hl)","x":[63067]},{"a":63072,"t":"code","b":[56,24],"m":"jr","oa":63098,"o":"c,$F67A"},{"a":63074,"t":"code","b":[122],"m":"ld","o":"a,d"},{"a":63075,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63076,"t":"code","b":[214,4],"m":"sub","o":"$04"},{"a":63078,"t":"code","b":[48,1],"m":"jr","oa":63081,"o":"nc,$F669"},{"a":63080,"t":"code","b":[175],"m":"xor","o":"a"},{"a":63081,"t":"code","b":[190],"m":"cp","o":"(hl)","x":[63078]},{"a":63082,"t":"code","b":[40,2],"m":"jr","oa":63086,"o":"z,$F66E"},{"a":63084,"t":"code","b":[48,12],"m":"jr","oa":63098,"o":"nc,$F67A"},{"a":63086,"t":"code","b":[198,26],"m":"add","o":"a,$1A","x":[63082]},{"a":63088,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":63089,"t":"code","b":[56,7],"m":"jr","oa":63098,"o":"c,$F67A"},{"a":63091,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":63092,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":63093,"t":"code","b":[246,192],"m":"or","o":"$C0"},{"a":63095,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":63096,"t":"code","b":[24,5],"m":"jr","oa":63103,"o":"$F67F"},{"a":63098,"t":"code","b":[225],"m":"pop","o":"hl","x":[63048,63063,63072,63084,63089]},{"a":63099,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":63100,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":63102,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":63103,"t":"code","b":[62,7],"m":"ld","o":"a,$07","x":[63096]},{"a":63105,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":63106,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":63107,"t":"code","b":[48,1],"m":"jr","oa":63110,"o":"nc,$F686"},{"a":63109,"t":"code","b":[36],"m":"inc","o":"h"},{"a":63110,"t":"code","b":[16,187],"m":"djnz","oa":63043,"o":"$F643","x":[63107]},{"a":63112,"t":"code","b":[201],"m":"ret"},{"a":63113,"l":"next_object","c":"Goes through the objects marked to be shown and drawn (bits 7 and 6 of +1): each whose screen column and row, times four (the column plus $100), are no less than BC and the other set's BC is chosen and they become its. NZ with IY at the record chosen; Z when there is none.","t":"code","b":[175],"m":"xor","o":"a"},{"a":63114,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":63115,"t":"code","b":[33,217,236],"m":"ld","o":"hl,$ECD9"},{"a":63118,"t":"code","b":[30,20],"m":"ld","o":"e,$14"},{"a":63120,"t":"code","b":[203,126],"m":"bit","o":"7,(hl)","x":[63184]},{"a":63122,"t":"code","b":[40,52],"m":"jr","oa":63176,"o":"z,$F6C8"},{"a":63124,"t":"code","b":[203,118],"m":"bit","o":"6,(hl)"},{"a":63126,"t":"code","b":[40,48],"m":"jr","oa":63176,"o":"z,$F6C8"},{"a":63128,"t":"code","b":[213],"m":"push","o":"de"},{"a":63129,"t":"code","b":[229],"m":"push","o":"hl"},{"a":63130,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63131,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":63132,"t":"code","b":[22,0],"m":"ld","o":"d,$00"},{"a":63134,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":63135,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":63136,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":63137,"t":"code","b":[36],"m":"inc","o":"h"},{"a":63138,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":63140,"t":"code","b":[56,32],"m":"jr","oa":63174,"o":"c,$F6C6"},{"a":63142,"t":"code","b":[213],"m":"push","o":"de"},{"a":63143,"t":"code","b":[217],"m":"exx"},{"a":63144,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":63145,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63146,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":63147,"t":"code","b":[22,0],"m":"ld","o":"d,$00"},{"a":63149,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":63150,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":63151,"t":"code","b":[41],"m":"add","o":"hl,hl"},{"a":63152,"t":"code","b":[167],"m":"and","o":"a"},{"a":63153,"t":"code","b":[237,66],"m":"sbc","o":"hl,bc"},{"a":63155,"t":"code","b":[217],"m":"exx"},{"a":63156,"t":"code","b":[56,16],"m":"jr","oa":63174,"o":"c,$F6C6"},{"a":63158,"t":"code","b":[217],"m":"exx"},{"a":63159,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":63160,"t":"code","b":[77],"m":"ld","o":"c,l"},{"a":63161,"t":"code","b":[68],"m":"ld","o":"b,h"},{"a":63162,"t":"code","b":[217],"m":"exx"},{"a":63163,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":63164,"t":"code","b":[77],"m":"ld","o":"c,l"},{"a":63165,"t":"code","b":[68],"m":"ld","o":"b,h"},{"a":63166,"t":"code","b":[27],"m":"dec","o":"de"},{"a":63167,"t":"code","b":[27],"m":"dec","o":"de"},{"a":63168,"t":"code","b":[213],"m":"push","o":"de"},{"a":63169,"t":"code","b":[253,225],"m":"pop","o":"iy"},{"a":63171,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":63173,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":63174,"t":"code","b":[225],"m":"pop","o":"hl","x":[63140,63156]},{"a":63175,"t":"code","b":[209],"m":"pop","o":"de"},{"a":63176,"t":"code","b":[62,7],"m":"ld","o":"a,$07","x":[63122,63126]},{"a":63178,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":63179,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":63180,"t":"code","b":[48,1],"m":"jr","oa":63183,"o":"nc,$F6CF"},{"a":63182,"t":"code","b":[36],"m":"inc","o":"h"},{"a":63183,"t":"code","b":[29],"m":"dec","o":"e","x":[63180]},{"a":63184,"t":"code","b":[194,144,246],"m":"jp","oa":63120,"o":"nz,$F690"},{"a":63187,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":63188,"t":"code","b":[167],"m":"and","o":"a"},{"a":63189,"t":"code","b":[201],"m":"ret"},{"a":63190,"l":"draw_object","c":"Makes the record copy at $8501 an actor for the object at HL, to be drawn as a sprite: type $20, bank 6 (+$1F), the object's number as its frame (+$1B), its place across, down and height times four, its screen place times eight (16 added to the row) and bank 6's frame list $F1B1; the object's mark to be drawn (bit 6) is cleared.","t":"code","b":[253,33,1,133],"m":"ld","o":"iy,$8501"},{"a":63194,"t":"code","b":[253,54,0,32],"m":"ld","o":"(iy+$00),$20"},{"a":63198,"t":"code","b":[253,54,31,6],"m":"ld","o":"(iy+$1F),$06"},{"a":63202,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":63203,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":63205,"t":"code","b":[253,119,27],"m":"ld","o":"(iy+$1B),a"},{"a":63208,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63209,"t":"code","b":[203,182],"m":"res","o":"6,(hl)"},{"a":63211,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63212,"t":"code","b":[17,15,133],"m":"ld","o":"de,$850F"},{"a":63215,"t":"code","b":[6,3],"m":"ld","o":"b,$03"},{"a":63217,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[63232]},{"a":63218,"t":"code","b":[14,0],"m":"ld","o":"c,$00"},{"a":63220,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":63221,"t":"code","b":[203,17],"m":"rl","o":"c"},{"a":63223,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":63224,"t":"code","b":[203,17],"m":"rl","o":"c"},{"a":63226,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":63227,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":63228,"t":"code","b":[28],"m":"inc","o":"e"},{"a":63229,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":63230,"t":"code","b":[28],"m":"inc","o":"e"},{"a":63231,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63232,"t":"code","b":[16,239],"m":"djnz","oa":63217,"o":"$F6F1"},{"a":63234,"t":"code","b":[6,2],"m":"ld","o":"b,$02"},{"a":63236,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[63254]},{"a":63237,"t":"code","b":[14,0],"m":"ld","o":"c,$00"},{"a":63239,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":63240,"t":"code","b":[203,17],"m":"rl","o":"c"},{"a":63242,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":63243,"t":"code","b":[203,17],"m":"rl","o":"c"},{"a":63245,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":63246,"t":"code","b":[203,17],"m":"rl","o":"c"},{"a":63248,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":63249,"t":"code","b":[28],"m":"inc","o":"e"},{"a":63250,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":63251,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":63252,"t":"code","b":[28],"m":"inc","o":"e"},{"a":63253,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63254,"t":"code","b":[16,236],"m":"djnz","oa":63236,"o":"$F704"},{"a":63256,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":63257,"t":"code","b":[45],"m":"dec","o":"l"},{"a":63258,"t":"code","b":[45],"m":"dec","o":"l"},{"a":63259,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":63260,"t":"code","b":[198,16],"m":"add","o":"a,$10"},{"a":63262,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":63263,"t":"code","b":[48,2],"m":"jr","oa":63267,"o":"nc,$F723"},{"a":63265,"t":"code","b":[44],"m":"inc","o":"l"},{"a":63266,"t":"code","b":[52],"m":"inc","o":"(hl)"},{"a":63267,"t":"code","b":[33,177,241],"m":"ld","o":"hl,$F1B1","x":[63263]},{"a":63270,"t":"code","b":[34,26,133],"m":"ld","oa":34074,"o":"($851A),hl"},{"a":63273,"t":"code","b":[201],"m":"ret"},{"a":63274,"l":"carry_objects","c":"On entering an area: every object's marks are cleared, and one lying in an area 1, 3, 4 or 5 away in number, within $1C of the edge across (areas 1 apart) or $14 down (the others), is moved one area towards this one, its place shifted to match ($E36B to $E37A) and its screen place worked out again ($F818).","t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)","x":[56119,56122]},{"a":63277,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":63278,"t":"code","b":[33,217,236],"m":"ld","o":"hl,$ECD9"},{"a":63281,"t":"code","b":[6,20],"m":"ld","o":"b,$14"},{"a":63283,"t":"code","b":[197],"m":"push","o":"bc","x":[63399]},{"a":63284,"t":"code","b":[229],"m":"push","o":"hl"},{"a":63285,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":63286,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":63288,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":63289,"t":"code","b":[145],"m":"sub","o":"c"},{"a":63290,"t":"code","b":[40,98],"m":"jr","oa":63390,"o":"z,$F79E"},{"a":63292,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":63293,"t":"code","b":[48,2],"m":"jr","oa":63297,"o":"nc,$F741"},{"a":63295,"t":"code","b":[237,68],"m":"neg"},{"a":63297,"t":"code","b":[254,2],"m":"cp","o":"$02","x":[63293]},{"a":63299,"t":"code","b":[40,89],"m":"jr","oa":63390,"o":"z,$F79E"},{"a":63301,"t":"code","b":[254,6],"m":"cp","o":"$06"},{"a":63303,"t":"code","b":[48,85],"m":"jr","oa":63390,"o":"nc,$F79E"},{"a":63305,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63306,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63307,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63308,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63309,"t":"code","b":[254,1],"m":"cp","o":"$01"},{"a":63311,"t":"code","b":[32,38],"m":"jr","oa":63351,"o":"nz,$F777"},{"a":63313,"t":"code","b":[203,123],"m":"bit","o":"7,e"},{"a":63315,"t":"code","b":[40,17],"m":"jr","oa":63334,"o":"z,$F766"},{"a":63317,"t":"code","b":[62,227],"m":"ld","o":"a,$E3"},{"a":63319,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":63320,"t":"code","b":[48,68],"m":"jr","oa":63390,"o":"nc,$F79E"},{"a":63322,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":63323,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":63324,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":63325,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":63326,"t":"code","b":[205,122,227],"m":"call","oa":58234,"o":"$E37A"},{"a":63329,"t":"code","b":[205,24,248],"m":"call","oa":63512,"o":"object_screen"},{"a":63332,"t":"code","b":[24,56],"m":"jr","oa":63390,"o":"$F79E"},{"a":63334,"t":"code","b":[62,28],"m":"ld","o":"a,$1C","x":[63315]},{"a":63336,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":63337,"t":"code","b":[56,51],"m":"jr","oa":63390,"o":"c,$F79E"},{"a":63339,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":63340,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":63341,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":63342,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":63343,"t":"code","b":[205,117,227],"m":"call","oa":58229,"o":"$E375"},{"a":63346,"t":"code","b":[205,24,248],"m":"call","oa":63512,"o":"object_screen"},{"a":63349,"t":"code","b":[24,39],"m":"jr","oa":63390,"o":"$F79E"},{"a":63351,"t":"code","b":[35],"m":"inc","o":"hl","x":[63311]},{"a":63352,"t":"code","b":[203,123],"m":"bit","o":"7,e"},{"a":63354,"t":"code","b":[40,18],"m":"jr","oa":63374,"o":"z,$F78E"},{"a":63356,"t":"code","b":[62,108],"m":"ld","o":"a,$6C"},{"a":63358,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":63359,"t":"code","b":[48,29],"m":"jr","oa":63390,"o":"nc,$F79E"},{"a":63361,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":63362,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":63363,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":63364,"t":"code","b":[205,112,227],"m":"call","oa":58224,"o":"$E370"},{"a":63367,"t":"code","b":[19],"m":"inc","o":"de"},{"a":63368,"t":"code","b":[19],"m":"inc","o":"de"},{"a":63369,"t":"code","b":[205,24,248],"m":"call","oa":63512,"o":"object_screen"},{"a":63372,"t":"code","b":[24,16],"m":"jr","oa":63390,"o":"$F79E"},{"a":63374,"t":"code","b":[62,20],"m":"ld","o":"a,$14","x":[63354]},{"a":63376,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":63377,"t":"code","b":[56,11],"m":"jr","oa":63390,"o":"c,$F79E"},{"a":63379,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":63380,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":63381,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":63382,"t":"code","b":[205,107,227],"m":"call","oa":58219,"o":"$E36B"},{"a":63385,"t":"code","b":[19],"m":"inc","o":"de"},{"a":63386,"t":"code","b":[19],"m":"inc","o":"de"},{"a":63387,"t":"code","b":[205,24,248],"m":"call","oa":63512,"o":"object_screen"},{"a":63390,"t":"code","b":[225],"m":"pop","o":"hl","x":[63290,63299,63303,63320,63332,63337,63349,63359,63372,63377]},{"a":63391,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":63392,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":63393,"t":"code","b":[198,7],"m":"add","o":"a,$07"},{"a":63395,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":63396,"t":"code","b":[48,1],"m":"jr","oa":63399,"o":"nc,$F7A7"},{"a":63398,"t":"code","b":[36],"m":"inc","o":"h"},{"a":63399,"t":"code","b":[16,138],"m":"djnz","oa":63283,"o":"$F733","x":[63396]},{"a":63401,"t":"code","b":[201],"m":"ret"},{"a":63402,"l":"fetch_object","c":"The character menu 2 shows ($D0B0), when in play ($FB60), goes for the object $C891 (state 3, +6 the object): one taken from the ground ($CCFB) or dropped on the bag ($CCB1). $F7AF does the same for the actor of type C.","t":"code","b":[58,176,208],"m":"ld","oa":53424,"o":"a,(menu_2_icons)","x":[52401,52475]},{"a":63405,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":63407,"t":"code","b":[79],"m":"ld","o":"c,a","x":[64822,65243]},{"a":63408,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":63411,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":63412,"t":"code","b":[44],"m":"inc","o":"l"},{"a":63413,"t":"code","b":[54,3],"m":"ld","o":"(hl),$03"},{"a":63415,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":63416,"t":"code","b":[198,5],"m":"add","o":"a,$05"},{"a":63418,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":63419,"t":"code","b":[58,145,200],"m":"ld","oa":51345,"o":"a,(menu_vars)"},{"a":63422,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":63423,"t":"code","b":[201],"m":"ret"},{"a":63424,"l":"drop_object_ground","c":"An object dropped on the view: in a zone ($FB5D) it is noted in $FB5E; one carried (bit 5 of +1) is put down at the place of the character picked ($F7DC).","t":"code","b":[58,145,200],"m":"ld","oa":51345,"o":"a,(menu_vars)","x":[52439]},{"a":63427,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":63428,"t":"code","b":[58,93,251],"m":"ld","oa":64349,"o":"a,(zone_state)"},{"a":63431,"t":"code","b":[60],"m":"inc","o":"a"},{"a":63432,"t":"code","b":[40,4],"m":"jr","oa":63438,"o":"z,$F7CE"},{"a":63434,"t":"code","b":[33,94,251],"m":"ld","o":"hl,$FB5E"},{"a":63437,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":63438,"t":"code","b":[121],"m":"ld","o":"a,c","x":[63432]},{"a":63439,"t":"code","b":[205,62,248],"m":"call","oa":63550,"o":"object_record"},{"a":63442,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63443,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":63444,"t":"code","b":[203,111],"m":"bit","o":"5,a"},{"a":63446,"t":"code","b":[200],"m":"ret","o":"z"},{"a":63447,"t":"code","b":[58,176,208],"m":"ld","oa":53424,"o":"a,(menu_2_icons)"},{"a":63450,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":63452,"l":"put_down","c":"Puts the object at HL down where the actor of type A stands, when that actor is in play; with the bag open its slot is emptied ($C894).","t":"code","b":[229],"m":"push","o":"hl","x":[64812]},{"a":63453,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":63454,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":63457,"t":"code","b":[40,2],"m":"jr","oa":63461,"o":"z,$F7E5"},{"a":63459,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":63460,"t":"code","b":[201],"m":"ret"},{"a":63461,"t":"code","b":[58,152,200],"m":"ld","oa":51352,"o":"a,($C898)","x":[63457]},{"a":63464,"t":"code","b":[230,2],"m":"and","o":"$02"},{"a":63466,"t":"code","b":[202,0,248],"m":"jp","oa":63488,"o":"z,$F800"},{"a":63469,"t":"code","b":[209],"m":"pop","o":"de"},{"a":63470,"t":"code","b":[213],"m":"push","o":"de"},{"a":63471,"t":"code","b":[229],"m":"push","o":"hl"},{"a":63472,"t":"code","b":[27],"m":"dec","o":"de"},{"a":63473,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":63474,"t":"code","b":[33,148,200],"m":"ld","o":"hl,$C894"},{"a":63477,"t":"code","b":[6,4],"m":"ld","o":"b,$04"},{"a":63479,"t":"code","b":[190],"m":"cp","o":"(hl)","x":[63485]},{"a":63480,"t":"code","b":[32,2],"m":"jr","oa":63484,"o":"nz,$F7FC"},{"a":63482,"t":"code","b":[54,0],"m":"ld","o":"(hl),$00"},{"a":63484,"t":"code","b":[35],"m":"inc","o":"hl","x":[63480]},{"a":63485,"t":"code","b":[16,248],"m":"djnz","oa":63479,"o":"$F7F7"},{"a":63487,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":63488,"t":"code","b":[209],"m":"pop","o":"de","x":[63466]},{"a":63489,"l":"place_object","c":"The object at DE gets the area ($8D1F) and the place of the actor at HL ($FAEB), and its screen column and row from $F818.","t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)","x":[59640,64216]},{"a":63492,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":63493,"t":"code","b":[19],"m":"inc","o":"de"},{"a":63494,"t":"code","b":[213],"m":"push","o":"de"},{"a":63495,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":63496,"t":"code","b":[198,14],"m":"add","o":"a,$0E"},{"a":63498,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":63499,"t":"code","b":[205,235,250],"m":"call","oa":64235,"o":"coarse_place"},{"a":63502,"t":"code","b":[209],"m":"pop","o":"de"},{"a":63503,"t":"code","b":[33,58,160],"m":"ld","o":"hl,$A03A"},{"a":63506,"t":"code","b":[14,3],"m":"ld","o":"c,$03"},{"a":63508,"t":"code","b":[237,176],"m":"ldir"},{"a":63510,"t":"code","b":[27],"m":"dec","o":"de"},{"a":63511,"t":"code","b":[27],"m":"dec","o":"de"},{"a":63512,"l":"object_screen","c":"The screen place of the object whose down is at DE (across at DE-1, height at DE+1): the column $80 plus down less across, and the row the low byte of $17E less across, down and height, halved; both to the two bytes after the height.","t":"code","b":[235],"m":"ex","o":"de,hl","x":[58971,63329,63346,63369,63387]},{"a":63513,"t":"code","b":[62,128],"m":"ld","o":"a,$80"},{"a":63515,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":63516,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":63517,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":63518,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":63519,"t":"code","b":[22,0],"m":"ld","o":"d,$00"},{"a":63521,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":63522,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63523,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":63524,"t":"code","b":[48,1],"m":"jr","oa":63527,"o":"nc,$F827"},{"a":63526,"t":"code","b":[20],"m":"inc","o":"d"},{"a":63527,"t":"code","b":[35],"m":"inc","o":"hl","x":[63524]},{"a":63528,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":63529,"t":"code","b":[229],"m":"push","o":"hl"},{"a":63530,"t":"code","b":[48,1],"m":"jr","oa":63533,"o":"nc,$F82D"},{"a":63532,"t":"code","b":[20],"m":"inc","o":"d"},{"a":63533,"t":"code","b":[95],"m":"ld","o":"e,a","x":[63530]},{"a":63534,"t":"code","b":[167],"m":"and","o":"a"},{"a":63535,"t":"code","b":[33,126,1],"m":"ld","o":"hl,$017E"},{"a":63538,"t":"code","b":[237,82],"m":"sbc","o":"hl,de"},{"a":63540,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":63541,"t":"code","b":[31],"m":"rra"},{"a":63542,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":63544,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":63545,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63546,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":63547,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63548,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":63549,"t":"code","b":[201],"m":"ret"},{"a":63550,"l":"object_record","c":"HL = the record of object A ($ECD8 plus seven times A).","t":"code","b":[111],"m":"ld","o":"l,a","x":[52362,52455,57481,57575,63439,64073,65031]},{"a":63551,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":63552,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":63553,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":63554,"t":"code","b":[149],"m":"sub","o":"l"},{"a":63555,"t":"code","b":[33,216,236],"m":"ld","o":"hl,$ECD8"},{"a":63558,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":63559,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":63560,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":63561,"t":"code","b":[36],"m":"inc","o":"h"},{"a":63562,"t":"code","b":[201],"m":"ret"},{"a":63563,"l":"use_item","c":"USE ITEM on the icon whose field is at HL: its picture, three bytes back, less $0D is the object, which goes in $C891, and its handler from $F866 runs after $CD83 has turned USE ITEM off.","t":"code","b":[43],"m":"dec","o":"hl","x":[52081]},{"a":63564,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":63565,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":63566,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":63567,"t":"code","b":[214,13],"m":"sub","o":"$0D"},{"a":63569,"t":"code","b":[50,145,200],"m":"ld","oa":51345,"o":"(menu_vars),a"},{"a":63572,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":63573,"t":"code","b":[33,102,248],"m":"ld","o":"hl,$F866"},{"a":63576,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":63577,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":63578,"t":"code","b":[48,1],"m":"jr","oa":63581,"o":"nc,$F85D"},{"a":63580,"t":"code","b":[36],"m":"inc","o":"h"},{"a":63581,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[63578]},{"a":63582,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63583,"t":"code","b":[102],"m":"ld","o":"h,(hl)"},{"a":63584,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":63585,"t":"code","b":[229],"m":"push","o":"hl"},{"a":63586,"t":"code","b":[205,131,205],"m":"call","oa":52611,"o":"use_item"},{"a":63589,"t":"code","b":[201],"m":"ret"},{"a":63590,"l":"use_handlers","c":"The handler for using each object, 0 to 16: the bag $F8A5, the tins $FA3A to $FA46, the bottle $F98D, the knife $F8AB, the can opener $F8AF, the ammunition $FA62, the ham $FA1E, the watch $FA73, the rope $FAA1, the first aid kit $F97E, the dynamite $F888. Objects 10, 11 and 15 have $F865, a RET: using them does nothing.","t":"word","b":[165,248,58,250,62,250,66,250],"d":[63653,64058,64062,64066]},{"a":63598,"t":"word","b":[70,250,141,249,171,248,175,248],"d":[64070,63885,63659,63663]},{"a":63606,"t":"word","b":[98,250,30,250,101,248,101,248],"d":[64098,64030,63589,63589]},{"a":63614,"t":"word","b":[115,250,161,250,126,249,101,248],"d":[64115,64161,63870,63589]},{"a":63622,"t":"word","b":[136,248],"d":[63624]},{"a":63624,"l":"use_dynamite","c":"I'VE LIT THE FUSE (message $13), the dynamite's colour $D6, the fuse ($8D0B) set to $7F, and its icon redrawn.","t":"code","b":[58,176,208],"m":"ld","oa":53424,"o":"a,(menu_2_icons)"},{"a":63627,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":63629,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":63630,"t":"code","b":[6,19],"m":"ld","o":"b,$13"},{"a":63632,"t":"code","b":[205,41,140],"m":"call","oa":35881,"o":"queue_message"},{"a":63635,"t":"code","b":[62,214],"m":"ld","o":"a,$D6"},{"a":63637,"t":"code","b":[50,38,246],"m":"ld","oa":63014,"o":"($F626),a"},{"a":63640,"t":"code","b":[62,127],"m":"ld","o":"a,$7F"},{"a":63642,"t":"code","b":[50,11,141],"m":"ld","oa":36107,"o":"($8D0B),a"},{"a":63645,"t":"code","b":[62,29],"m":"ld","o":"a,$1D"},{"a":63647,"t":"code","b":[205,111,249],"m":"call","oa":63855,"o":"icon_slot"},{"a":63650,"t":"code","b":[195,233,206],"m":"jp","oa":52969,"o":"draw_icon"},{"a":63653,"l":"use_bag","c":"Opens the bag: bit 1 of $C898, so menu 2 shows what is in the bag.","t":"code","b":[33,152,200],"m":"ld","o":"hl,$C898"},{"a":63656,"t":"code","b":[203,206],"m":"set","o":"1,(hl)"},{"a":63658,"t":"code","b":[201],"m":"ret"},{"a":63659,"l":"use_knife","c":"Opens the tins shown in menu 2 that are still shut: with the knife ($F8AB) each gets half ($80) and NOT AS GOOD AS A TIN OPENER (message $1F); with the can opener ($F8AF) each gets all ($FF). A tin opened is marked ($F627), its contents raised (to at most $FF) and its colour set from them.","t":"code","b":[62,128],"m":"ld","o":"a,$80"},{"a":63661,"t":"code","b":[24,2],"m":"jr","oa":63665,"o":"$F8B1"},{"a":63663,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":63665,"t":"code","b":[33,39,246],"m":"ld","o":"hl,$F627","x":[63661]},{"a":63668,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":63669,"t":"code","b":[6,4],"m":"ld","o":"b,$04"},{"a":63671,"t":"code","b":[197],"m":"push","o":"bc","x":[63757]},{"a":63672,"t":"code","b":[229],"m":"push","o":"hl"},{"a":63673,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":63674,"t":"code","b":[167],"m":"and","o":"a"},{"a":63675,"t":"code","b":[194,10,249],"m":"jp","oa":63754,"o":"nz,$F90A"},{"a":63678,"t":"code","b":[62,5],"m":"ld","o":"a,$05"},{"a":63680,"t":"code","b":[144],"m":"sub","o":"b"},{"a":63681,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":63682,"t":"code","b":[198,13],"m":"add","o":"a,$0D"},{"a":63684,"t":"code","b":[205,111,249],"m":"call","oa":63855,"o":"icon_slot"},{"a":63687,"t":"code","b":[194,10,249],"m":"jp","oa":63754,"o":"nz,$F90A"},{"a":63690,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":63691,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":63692,"t":"code","b":[229],"m":"push","o":"hl"},{"a":63693,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":63695,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":63696,"t":"code","b":[198,4],"m":"add","o":"a,$04"},{"a":63698,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":63699,"t":"code","b":[48,1],"m":"jr","oa":63702,"o":"nc,$F8D6"},{"a":63701,"t":"code","b":[36],"m":"inc","o":"h"},{"a":63702,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[63699]},{"a":63703,"t":"code","b":[254,128],"m":"cp","o":"$80"},{"a":63705,"t":"code","b":[32,15],"m":"jr","oa":63722,"o":"nz,$F8EA"},{"a":63707,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":63708,"t":"code","b":[197],"m":"push","o":"bc"},{"a":63709,"t":"code","b":[58,176,208],"m":"ld","oa":53424,"o":"a,(menu_2_icons)"},{"a":63712,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":63714,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":63715,"t":"code","b":[6,31],"m":"ld","o":"b,$1F"},{"a":63717,"t":"code","b":[205,41,140],"m":"call","oa":35881,"o":"queue_message"},{"a":63720,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":63721,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":63722,"t":"code","b":[71],"m":"ld","o":"b,a","x":[63705]},{"a":63723,"t":"code","b":[134],"m":"add","o":"a,(hl)"},{"a":63724,"t":"code","b":[48,2],"m":"jr","oa":63728,"o":"nc,$F8F0"},{"a":63726,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":63728,"t":"code","b":[119],"m":"ld","o":"(hl),a","x":[63724]},{"a":63729,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":63730,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":63731,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":63732,"t":"code","b":[7],"m":"rlca"},{"a":63733,"t":"code","b":[7],"m":"rlca"},{"a":63734,"t":"code","b":[7],"m":"rlca"},{"a":63735,"t":"code","b":[230,7],"m":"and","o":"$07"},{"a":63737,"t":"code","b":[246,64],"m":"or","o":"$40"},{"a":63739,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":63740,"t":"code","b":[33,22,246],"m":"ld","o":"hl,$F616"},{"a":63743,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":63744,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":63745,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":63746,"t":"code","b":[48,1],"m":"jr","oa":63749,"o":"nc,$F905"},{"a":63748,"t":"code","b":[36],"m":"inc","o":"h"},{"a":63749,"t":"code","b":[112],"m":"ld","o":"(hl),b","x":[63746]},{"a":63750,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":63751,"t":"code","b":[205,233,206],"m":"call","oa":52969,"o":"draw_icon"},{"a":63754,"t":"code","b":[225],"m":"pop","o":"hl","x":[63675,63687]},{"a":63755,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":63756,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":63757,"t":"code","b":[16,168],"m":"djnz","oa":63671,"o":"$F8B7"},{"a":63759,"t":"code","b":[201],"m":"ret"},{"a":63760,"l":"consume","c":"Uses up an object that holds portions (DE its store): the need at HL is filled for all four characters, and the store loses a quarter of what they lacked, plus one; empty, it is cleared with THATS THE LAST OF THAT (message 2) and colour $41, otherwise its colour shows what is left.","t":"code","b":[8],"m":"ex","o":"af,af'","x":[63882,63897,64095,64112]},{"a":63761,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":63762,"t":"code","b":[217],"m":"exx"},{"a":63763,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":63764,"t":"code","b":[58,176,208],"m":"ld","oa":53424,"o":"a,(menu_2_icons)"},{"a":63767,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":63769,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":63770,"t":"code","b":[217],"m":"exx"},{"a":63771,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":63772,"t":"code","b":[167],"m":"and","o":"a"},{"a":63773,"t":"code","b":[200],"m":"ret","o":"z"},{"a":63774,"t":"code","b":[1,0,4],"m":"ld","o":"bc,$0400"},{"a":63777,"t":"code","b":[62,255],"m":"ld","o":"a,$FF","x":[63795]},{"a":63779,"t":"code","b":[150],"m":"sub","o":"(hl)"},{"a":63780,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":63782,"t":"code","b":[129],"m":"add","o":"a,c"},{"a":63783,"t":"code","b":[48,2],"m":"jr","oa":63787,"o":"nc,$F92B"},{"a":63785,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":63787,"t":"code","b":[79],"m":"ld","o":"c,a","x":[63783]},{"a":63788,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":63789,"t":"code","b":[198,8],"m":"add","o":"a,$08"},{"a":63791,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":63792,"t":"code","b":[48,1],"m":"jr","oa":63795,"o":"nc,$F933"},{"a":63794,"t":"code","b":[36],"m":"inc","o":"h"},{"a":63795,"t":"code","b":[16,236],"m":"djnz","oa":63777,"o":"$F921","x":[63792]},{"a":63797,"t":"code","b":[121],"m":"ld","o":"a,c"},{"a":63798,"t":"code","b":[31],"m":"rra"},{"a":63799,"t":"code","b":[31],"m":"rra"},{"a":63800,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":63802,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":63803,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":63804,"t":"code","b":[61],"m":"dec","o":"a"},{"a":63805,"t":"code","b":[145],"m":"sub","o":"c"},{"a":63806,"t":"code","b":[210,77,249],"m":"jp","oa":63821,"o":"nc,$F94D"},{"a":63809,"t":"code","b":[175],"m":"xor","o":"a"},{"a":63810,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":63811,"t":"code","b":[217],"m":"exx"},{"a":63812,"t":"code","b":[6,2],"m":"ld","o":"b,$02"},{"a":63814,"t":"code","b":[205,41,140],"m":"call","oa":35881,"o":"queue_message"},{"a":63817,"t":"code","b":[62,65],"m":"ld","o":"a,$41"},{"a":63819,"t":"code","b":[24,13],"m":"jr","oa":63834,"o":"$F95A"},{"a":63821,"t":"code","b":[60],"m":"inc","o":"a","x":[63806]},{"a":63822,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":63823,"t":"code","b":[7],"m":"rlca"},{"a":63824,"t":"code","b":[7],"m":"rlca"},{"a":63825,"t":"code","b":[7],"m":"rlca"},{"a":63826,"t":"code","b":[230,7],"m":"and","o":"$07"},{"a":63828,"t":"code","b":[32,2],"m":"jr","oa":63832,"o":"nz,$F958"},{"a":63830,"t":"code","b":[62,1],"m":"ld","o":"a,$01"},{"a":63832,"t":"code","b":[246,64],"m":"or","o":"$40","x":[63828]},{"a":63834,"t":"code","b":[79],"m":"ld","o":"c,a","x":[63819]},{"a":63835,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":63836,"t":"code","b":[71],"m":"ld","o":"b,a"},{"a":63837,"t":"code","b":[33,22,246],"m":"ld","o":"hl,$F616"},{"a":63840,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":63841,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":63842,"t":"code","b":[48,1],"m":"jr","oa":63845,"o":"nc,$F965"},{"a":63844,"t":"code","b":[36],"m":"inc","o":"h"},{"a":63845,"t":"code","b":[113],"m":"ld","o":"(hl),c","x":[63842]},{"a":63846,"t":"code","b":[120],"m":"ld","o":"a,b"},{"a":63847,"t":"code","b":[198,13],"m":"add","o":"a,$0D"},{"a":63849,"t":"code","b":[205,111,249],"m":"call","oa":63855,"o":"icon_slot"},{"a":63852,"t":"code","b":[195,233,206],"m":"jp","oa":52969,"o":"draw_icon"},{"a":63855,"l":"icon_slot","c":"Z with HL when object icon A is in one of menu 2's four object slots ($D0BF, five bytes apart).","t":"code","b":[33,191,208],"m":"ld","o":"hl,$D0BF","x":[63647,63684,63849,64021]},{"a":63858,"t":"code","b":[17,5,0],"m":"ld","o":"de,$0005"},{"a":63861,"t":"code","b":[6,4],"m":"ld","o":"b,$04"},{"a":63863,"t":"code","b":[190],"m":"cp","o":"(hl)","x":[63866]},{"a":63864,"t":"code","b":[200],"m":"ret","o":"z"},{"a":63865,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":63866,"t":"code","b":[16,251],"m":"djnz","oa":63863,"o":"$F977"},{"a":63868,"t":"code","b":[4],"m":"inc","o":"b"},{"a":63869,"t":"code","b":[201],"m":"ret"},{"a":63870,"l":"use_first_aid","c":"Fills the party's strength (+0) from the first aid left ($F631).","t":"code","b":[33,59,237],"m":"ld","o":"hl,$ED3B"},{"a":63873,"t":"code","b":[217],"m":"exx"},{"a":63874,"t":"code","b":[62,14],"m":"ld","o":"a,$0E"},{"a":63876,"t":"code","b":[17,49,246],"m":"ld","o":"de,$F631"},{"a":63879,"t":"code","b":[33,195,213],"m":"ld","o":"hl,$D5C3"},{"a":63882,"t":"code","b":[195,16,249],"m":"jp","oa":63760,"o":"consume"},{"a":63885,"l":"use_bottle","c":"Fills the party's water (+2) from the bottle ($F62F). Then, when its user stands on ground 0 and water ($7E) lies along the row of cells either way, within eight and before any other ground (bank 1), I'LL FILL UP THE BOTTLE (message $23), state 7 with the action kept at 4 or 2: walking to fill it.","t":"code","b":[33,252,236],"m":"ld","o":"hl,$ECFC"},{"a":63888,"t":"code","b":[217],"m":"exx"},{"a":63889,"t":"code","b":[62,5],"m":"ld","o":"a,$05"},{"a":63891,"t":"code","b":[17,47,246],"m":"ld","o":"de,$F62F"},{"a":63894,"t":"code","b":[33,197,213],"m":"ld","o":"hl,$D5C5"},{"a":63897,"t":"code","b":[205,16,249],"m":"call","oa":63760,"o":"consume"},{"a":63900,"t":"code","b":[58,176,208],"m":"ld","oa":53424,"o":"a,(menu_2_icons)"},{"a":63903,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":63905,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":63908,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":63909,"t":"code","b":[229],"m":"push","o":"hl"},{"a":63910,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":63911,"t":"code","b":[198,14],"m":"add","o":"a,$0E"},{"a":63913,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":63914,"t":"code","b":[17,209,142],"m":"ld","o":"de,$8ED1"},{"a":63917,"t":"code","b":[1,4,0],"m":"ld","o":"bc,$0004"},{"a":63920,"t":"code","b":[237,176],"m":"ldir"},{"a":63922,"t":"code","b":[205,213,144],"m":"call","oa":37077,"o":"ground_cell"},{"a":63925,"t":"code","b":[167],"m":"and","o":"a"},{"a":63926,"t":"code","b":[40,2],"m":"jr","oa":63930,"o":"z,$F9BA"},{"a":63928,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":63929,"t":"code","b":[201],"m":"ret"},{"a":63930,"t":"code","b":[125],"m":"ld","o":"a,l","x":[63926]},{"a":63931,"t":"code","b":[214,8],"m":"sub","o":"$08"},{"a":63933,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":63934,"t":"code","b":[1,1,0],"m":"ld","o":"bc,$0001"},{"a":63937,"t":"code","b":[62,17],"m":"ld","o":"a,$11"},{"a":63939,"t":"code","b":[205,208,140],"m":"call","oa":36048,"o":"copy_from_bank1"},{"a":63942,"t":"code","b":[33,40,133],"m":"ld","o":"hl,$8528"},{"a":63945,"t":"code","b":[6,8],"m":"ld","o":"b,$08"},{"a":63947,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[63961]},{"a":63948,"t":"code","b":[167],"m":"and","o":"a"},{"a":63949,"t":"code","b":[40,9],"m":"jr","oa":63960,"o":"z,$F9D8"},{"a":63951,"t":"code","b":[254,126],"m":"cp","o":"$7E"},{"a":63953,"t":"code","b":[32,8],"m":"jr","oa":63963,"o":"nz,$F9DB"},{"a":63955,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":63956,"t":"code","b":[14,4],"m":"ld","o":"c,$04"},{"a":63958,"t":"code","b":[24,25],"m":"jr","oa":63985,"o":"$F9F1"},{"a":63960,"t":"code","b":[45],"m":"dec","o":"l","x":[63949]},{"a":63961,"t":"code","b":[16,240],"m":"djnz","oa":63947,"o":"$F9CB"},{"a":63963,"t":"code","b":[33,41,133],"m":"ld","o":"hl,$8529","x":[63953]},{"a":63966,"t":"code","b":[6,8],"m":"ld","o":"b,$08"},{"a":63968,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[63981]},{"a":63969,"t":"code","b":[167],"m":"and","o":"a"},{"a":63970,"t":"code","b":[40,8],"m":"jr","oa":63980,"o":"z,$F9EC"},{"a":63972,"t":"code","b":[254,126],"m":"cp","o":"$7E"},{"a":63974,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":63975,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":63976,"t":"code","b":[14,2],"m":"ld","o":"c,$02"},{"a":63978,"t":"code","b":[24,5],"m":"jr","oa":63985,"o":"$F9F1"},{"a":63980,"t":"code","b":[44],"m":"inc","o":"l","x":[63970]},{"a":63981,"t":"code","b":[16,241],"m":"djnz","oa":63968,"o":"$F9E0"},{"a":63983,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":63984,"t":"code","b":[201],"m":"ret"},{"a":63985,"t":"code","b":[197],"m":"push","o":"bc","x":[63958,63978]},{"a":63986,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":63987,"t":"code","b":[6,35],"m":"ld","o":"b,$23"},{"a":63989,"t":"code","b":[205,41,140],"m":"call","oa":35881,"o":"queue_message"},{"a":63992,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":63993,"t":"code","b":[44],"m":"inc","o":"l"},{"a":63994,"t":"code","b":[54,7],"m":"ld","o":"(hl),$07"},{"a":63996,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":63997,"t":"code","b":[198,5],"m":"add","o":"a,$05"},{"a":63999,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":64000,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":64001,"t":"code","b":[201],"m":"ret"},{"a":64002,"l":"bottle_filled","c":"Ground $7D reached while filling: back to following, action $8A, the bottle full ($F62F) and its colour $47.","t":"code","b":[44],"m":"inc","o":"l"},{"a":64003,"t":"code","b":[54,1],"m":"ld","o":"(hl),$01"},{"a":64005,"t":"code","b":[253,54,12,138],"m":"ld","o":"(iy+$0C),$8A"},{"a":64009,"t":"code","b":[33,27,246],"m":"ld","o":"hl,$F61B"},{"a":64012,"t":"code","b":[54,71],"m":"ld","o":"(hl),$47"},{"a":64014,"t":"code","b":[33,47,246],"m":"ld","o":"hl,$F62F"},{"a":64017,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":64019,"t":"code","b":[62,18],"m":"ld","o":"a,$12"},{"a":64021,"t":"code","b":[205,111,249],"m":"call","oa":63855,"o":"icon_slot"},{"a":64024,"t":"code","b":[204,233,206],"m":"call","oa":52969,"o":"z,draw_icon"},{"a":64027,"t":"code","b":[195,10,149],"m":"jp","oa":38154,"o":"$950A"},{"a":64030,"l":"use_ham","c":"The ham is eaten: gone (+1 = 0), everyone's food full, DELICIOUS (message $1E).","t":"code","b":[175],"m":"xor","o":"a"},{"a":64031,"t":"code","b":[50,24,237],"m":"ld","oa":60696,"o":"($ED18),a"},{"a":64034,"t":"code","b":[33,198,213],"m":"ld","o":"hl,$D5C6"},{"a":64037,"t":"code","b":[17,8,0],"m":"ld","o":"de,$0008"},{"a":64040,"t":"code","b":[6,4],"m":"ld","o":"b,$04"},{"a":64042,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF","x":[64045]},{"a":64044,"t":"code","b":[25],"m":"add","o":"hl,de"},{"a":64045,"t":"code","b":[16,251],"m":"djnz","oa":64042,"o":"$FA2A"},{"a":64047,"t":"code","b":[58,176,208],"m":"ld","oa":53424,"o":"a,(menu_2_icons)"},{"a":64050,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":64052,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":64053,"t":"code","b":[6,30],"m":"ld","o":"b,$1E"},{"a":64055,"t":"code","b":[195,41,140],"m":"jp","oa":35881,"o":"queue_message"},{"a":64058,"l":"use_tin","c":"Tins 1 to 4 ($FA3A, $FA3E, $FA42, $FA46): fill the party's food (+3) from the tin's contents ($F62B on).","t":"code","b":[62,1],"m":"ld","o":"a,$01"},{"a":64060,"t":"code","b":[24,10],"m":"jr","oa":64072,"o":"$FA48"},{"a":64062,"t":"code","b":[62,2],"m":"ld","o":"a,$02"},{"a":64064,"t":"code","b":[24,6],"m":"jr","oa":64072,"o":"$FA48"},{"a":64066,"t":"code","b":[62,3],"m":"ld","o":"a,$03"},{"a":64068,"t":"code","b":[24,2],"m":"jr","oa":64072,"o":"$FA48"},{"a":64070,"t":"code","b":[62,4],"m":"ld","o":"a,$04"},{"a":64072,"t":"code","b":[245],"m":"push","o":"af","x":[64060,64064,64068]},{"a":64073,"t":"code","b":[205,62,248],"m":"call","oa":63550,"o":"object_record"},{"a":64076,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64077,"t":"code","b":[217],"m":"exx"},{"a":64078,"t":"code","b":[17,43,246],"m":"ld","o":"de,$F62B"},{"a":64081,"t":"code","b":[241],"m":"pop","o":"af"},{"a":64082,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":64083,"t":"code","b":[61],"m":"dec","o":"a"},{"a":64084,"t":"code","b":[131],"m":"add","o":"a,e"},{"a":64085,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":64086,"t":"code","b":[48,1],"m":"jr","oa":64089,"o":"nc,$FA59"},{"a":64088,"t":"code","b":[20],"m":"inc","o":"d"},{"a":64089,"t":"code","b":[121],"m":"ld","o":"a,c","x":[64086]},{"a":64090,"t":"code","b":[33,198,213],"m":"ld","o":"hl,$D5C6"},{"a":64093,"t":"code","b":[6,2],"m":"ld","o":"b,$02"},{"a":64095,"t":"code","b":[195,16,249],"m":"jp","oa":63760,"o":"consume"},{"a":64098,"l":"use_ammunition","c":"Fills the party's ammunition (+4) from what is left ($F632).","t":"code","b":[33,17,237],"m":"ld","o":"hl,$ED11"},{"a":64101,"t":"code","b":[217],"m":"exx"},{"a":64102,"t":"code","b":[62,8],"m":"ld","o":"a,$08"},{"a":64104,"t":"code","b":[17,50,246],"m":"ld","o":"de,$F632"},{"a":64107,"t":"code","b":[33,199,213],"m":"ld","o":"hl,$D5C7"},{"a":64110,"t":"code","b":[6,2],"m":"ld","o":"b,$02"},{"a":64112,"t":"code","b":[195,16,249],"m":"jp","oa":63760,"o":"consume"},{"a":64115,"l":"use_watch","c":"ITS ABOUT __ O'CLOCK (message 13): the hour ($BF2C, 0 to 23) made 1 to 12 (0 as 12) and written into the text at $7D9E.","t":"code","b":[58,44,191],"m":"ld","oa":48940,"o":"a,($BF2C)"},{"a":64118,"t":"code","b":[230,31],"m":"and","o":"$1F"},{"a":64120,"t":"code","b":[32,2],"m":"jr","oa":64124,"o":"nz,$FA7C"},{"a":64122,"t":"code","b":[62,12],"m":"ld","o":"a,$0C"},{"a":64124,"t":"code","b":[254,13],"m":"cp","o":"$0D","x":[64120]},{"a":64126,"t":"code","b":[56,2],"m":"jr","oa":64130,"o":"c,$FA82"},{"a":64128,"t":"code","b":[214,12],"m":"sub","o":"$0C"},{"a":64130,"t":"code","b":[46,35],"m":"ld","o":"l,$23","x":[64126]},{"a":64132,"t":"code","b":[103],"m":"ld","o":"h,a"},{"a":64133,"t":"code","b":[254,10],"m":"cp","o":"$0A"},{"a":64135,"t":"code","b":[56,5],"m":"jr","oa":64142,"o":"c,$FA8E"},{"a":64137,"t":"code","b":[46,1],"m":"ld","o":"l,$01"},{"a":64139,"t":"code","b":[214,10],"m":"sub","o":"$0A"},{"a":64141,"t":"code","b":[103],"m":"ld","o":"h,a"},{"a":64142,"t":"code","b":[34,158,125],"m":"ld","oa":32158,"o":"($7D9E),hl","x":[64135]},{"a":64145,"t":"code","b":[6,13],"m":"ld","o":"b,$0D"},{"a":64147,"t":"code","b":[58,176,208],"m":"ld","oa":53424,"o":"a,(menu_2_icons)"},{"a":64150,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":64152,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":64153,"t":"code","b":[195,41,140],"m":"jp","oa":35881,"o":"queue_message"},{"a":64156,"l":"rescue_vars","c":"$FA9C the one to be rescued (3, Clive); $FA9D-$FA9E his actor; $FA9F-$FAA0 the rescuer's.","t":"byte","b":[3,0,0,0,0],"x":[58562,58781,58891,64161]},{"a":64161,"l":"use_rope","c":"When Clive is in play, the character using the rope, also in play, starts the rescue (state 4).","t":"code","b":[58,156,250],"m":"ld","oa":64156,"o":"a,(rescue_vars)"},{"a":64164,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":64166,"t":"code","b":[200],"m":"ret","o":"z"},{"a":64167,"t":"code","b":[62,3],"m":"ld","o":"a,$03"},{"a":64169,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":64172,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":64173,"t":"code","b":[34,157,250],"m":"ld","oa":64157,"o":"($FA9D),hl"},{"a":64176,"t":"code","b":[58,176,208],"m":"ld","oa":53424,"o":"a,(menu_2_icons)"},{"a":64179,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":64181,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":64184,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":64185,"t":"code","b":[34,159,250],"m":"ld","oa":64159,"o":"($FA9F),hl"},{"a":64188,"t":"code","b":[44],"m":"inc","o":"l"},{"a":64189,"t":"code","b":[54,4],"m":"ld","o":"(hl),$04"},{"a":64191,"t":"code","b":[201],"m":"ret"},{"a":64192,"l":"drop_all","c":"Event 9, one of the party dying: everything he or she carries is put down where they fell ($F801).","t":"code","b":[125],"m":"ld","o":"a,l"},{"a":64193,"t":"code","b":[214,11],"m":"sub","o":"$0B"},{"a":64195,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":64196,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":64197,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":64199,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":64200,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":64201,"t":"code","b":[246,32],"m":"or","o":"$20"},{"a":64203,"t":"code","b":[33,217,236],"m":"ld","o":"hl,$ECD9"},{"a":64206,"t":"code","b":[6,17],"m":"ld","o":"b,$11"},{"a":64208,"t":"code","b":[190],"m":"cp","o":"(hl)","x":[64232]},{"a":64209,"t":"code","b":[32,12],"m":"jr","oa":64223,"o":"nz,$FADF"},{"a":64211,"t":"code","b":[245],"m":"push","o":"af"},{"a":64212,"t":"code","b":[229],"m":"push","o":"hl"},{"a":64213,"t":"code","b":[197],"m":"push","o":"bc"},{"a":64214,"t":"code","b":[213],"m":"push","o":"de"},{"a":64215,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":64216,"t":"code","b":[205,1,248],"m":"call","oa":63489,"o":"place_object"},{"a":64219,"t":"code","b":[209],"m":"pop","o":"de"},{"a":64220,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":64221,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":64222,"t":"code","b":[241],"m":"pop","o":"af"},{"a":64223,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[64209]},{"a":64224,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":64225,"t":"code","b":[198,7],"m":"add","o":"a,$07"},{"a":64227,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":64228,"t":"code","b":[48,1],"m":"jr","oa":64231,"o":"nc,$FAE7"},{"a":64230,"t":"code","b":[36],"m":"inc","o":"h"},{"a":64231,"t":"code","b":[8],"m":"ex","o":"af,af'","x":[64228]},{"a":64232,"t":"code","b":[16,230],"m":"djnz","oa":64208,"o":"$FAD0"},{"a":64234,"t":"code","b":[201],"m":"ret"},{"a":64235,"l":"coarse_place","c":"The three words at HL (across, down, height) over four, into $A03A-$A03C.","t":"code","b":[6,3],"m":"ld","o":"b,$03","x":[58628,62009,63499]},{"a":64237,"t":"code","b":[17,58,160],"m":"ld","o":"de,$A03A"},{"a":64240,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[64252]},{"a":64241,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64242,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":64243,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64244,"t":"code","b":[203,57],"m":"srl","o":"c"},{"a":64246,"t":"code","b":[31],"m":"rra"},{"a":64247,"t":"code","b":[203,57],"m":"srl","o":"c"},{"a":64249,"t":"code","b":[31],"m":"rra"},{"a":64250,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":64251,"t":"code","b":[19],"m":"inc","o":"de"},{"a":64252,"t":"code","b":[16,242],"m":"djnz","oa":64240,"o":"$FAF0"},{"a":64254,"t":"code","b":[201],"m":"ret"},{"a":64255,"l":"cycle_graphic","c":"Once a pass: $FB1C counts 0 to 2, and the word $F25B, $F279 or $F295 is written into bank 6 ($AA8B).","t":"code","b":[58,28,251],"m":"ld","oa":64284,"o":"a,(zone_vars)","x":[63027]},{"a":64258,"t":"code","b":[60],"m":"inc","o":"a"},{"a":64259,"t":"code","b":[254,3],"m":"cp","o":"$03"},{"a":64261,"t":"code","b":[32,1],"m":"jr","oa":64264,"o":"nz,$FB08"},{"a":64263,"t":"code","b":[175],"m":"xor","o":"a"},{"a":64264,"t":"code","b":[50,28,251],"m":"ld","oa":64284,"o":"(zone_vars),a","x":[64261]},{"a":64267,"t":"code","b":[33,91,242],"m":"ld","o":"hl,$F25B"},{"a":64270,"t":"code","b":[40,9],"m":"jr","oa":64281,"o":"z,$FB19"},{"a":64272,"t":"code","b":[33,121,242],"m":"ld","o":"hl,$F279"},{"a":64275,"t":"code","b":[61],"m":"dec","o":"a"},{"a":64276,"t":"code","b":[40,3],"m":"jr","oa":64281,"o":"z,$FB19"},{"a":64278,"t":"code","b":[33,149,242],"m":"ld","o":"hl,$F295"},{"a":64281,"t":"code","b":[195,139,170],"m":"jp","oa":43659,"o":"set_bank6_word","x":[64270,64276]},{"a":64284,"l":"zone_vars","c":"$FB1C the count for $FAFF; $FB1D the view's colour kept while the dynamite flashes.","t":"byte","b":[0,0],"x":[64255,64264]},{"a":64286,"l":"zones","c":"Nine places that start something when the leader stands in them, five bytes each: the area, and the range across and down (from, to). Zone 0 the tribe's welcome (area 5), 1 and 2 near actor $2D (area 5), 3 the capture (area 6), 4 the altar (area 2), 5 where the dynamite goes (area 7), 6 to 8 rivers (areas 5, 6 and 10).","t":"byte","b":[5,128,152,98,115,5,185,190]},{"a":64294,"t":"byte","b":[129,131,5,185,190,122,136,6]},{"a":64302,"t":"byte","b":[112,147,67,118,2,64,145,132]},{"a":64310,"t":"byte","b":[156,7,126,132,150,152,5,0]},{"a":64318,"t":"byte","b":[255,154,158,6,0,255,40,44]},{"a":64326,"t":"byte","b":[10,70,255,148,152]},{"a":64331,"l":"zone_handlers","c":"The nine zones' routines, $FCF0 to $FCC5.","t":"word","b":[240,252,227,253,165,253,91,254],"d":[64752,64995,64933,65115]},{"a":64339,"t":"word","b":[200,254,150,255,189,252,193,252],"d":[65224,65430,64701,64705]},{"a":64347,"t":"word","b":[197,252],"d":[64709]},{"a":64349,"l":"zone_state","c":"$FB5D the zone the leader is in ($FF none); $FB5E the object dropped in it ($FF none); $FB5F a count for the zone, from 0 down.","t":"byte","b":[0,255,0],"x":[51209,63428,64477]},{"a":64352,"l":"find_actor","c":"Z with HL at the actor of type A when it is in play; NZ otherwise.","t":"code","b":[33,0,131],"m":"ld","o":"hl,$8300","x":[52623,58571,58685,63408,63454,63905,64169,64181,64380,64644,64659,64946,64997,65265,65370,65385,65392,65474]},{"a":64355,"t":"code","b":[17,32,0],"m":"ld","o":"de,$0020"},{"a":64358,"t":"code","b":[6,8],"m":"ld","o":"b,$08"},{"a":64360,"t":"code","b":[190],"m":"cp","o":"(hl)","x":[64376]},{"a":64361,"t":"code","b":[32,12],"m":"jr","oa":64375,"o":"nz,$FB77"},{"a":64363,"t":"code","b":[87],"m":"ld","o":"d,a"},{"a":64364,"t":"code","b":[44],"m":"inc","o":"l"},{"a":64365,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":64366,"t":"code","b":[45],"m":"dec","o":"l"},{"a":64367,"t":"code","b":[60],"m":"inc","o":"a"},{"a":64368,"t":"code","b":[40,2],"m":"jr","oa":64372,"o":"z,$FB74"},{"a":64370,"t":"code","b":[175],"m":"xor","o":"a"},{"a":64371,"t":"code","b":[201],"m":"ret"},{"a":64372,"t":"code","b":[122],"m":"ld","o":"a,d","x":[64368]},{"a":64373,"t":"code","b":[22,0],"m":"ld","o":"d,$00"},{"a":64375,"t":"code","b":[25],"m":"add","o":"hl,de","x":[64361]},{"a":64376,"t":"code","b":[16,238],"m":"djnz","oa":64360,"o":"$FB68"},{"a":64378,"t":"code","b":[4],"m":"inc","o":"b"},{"a":64379,"t":"code","b":[201],"m":"ret"},{"a":64380,"l":"within_reach","c":"Z (A = 0) when character A is in play in a state of 7 or less. NZ otherwise: in play, A is its state; away from the area, A is the record's state (low six bits), with bit 0 set when 7 or more and carry when below 7.","t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor","x":[51511,51603,59732,64560,64923,65131]},{"a":64383,"t":"code","b":[32,10],"m":"jr","oa":64395,"o":"nz,$FB8B"},{"a":64385,"t":"code","b":[44],"m":"inc","o":"l"},{"a":64386,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":64387,"t":"code","b":[254,7],"m":"cp","o":"$07"},{"a":64389,"t":"code","b":[56,1],"m":"jr","oa":64392,"o":"c,$FB88"},{"a":64391,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":64392,"t":"code","b":[45],"m":"dec","o":"l","x":[64389]},{"a":64393,"t":"code","b":[175],"m":"xor","o":"a"},{"a":64394,"t":"code","b":[201],"m":"ret"},{"a":64395,"t":"code","b":[205,146,228],"m":"call","oa":58514,"o":"record_of","x":[64383]},{"a":64398,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64399,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":64400,"t":"code","b":[43],"m":"dec","o":"hl"},{"a":64401,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":64403,"t":"code","b":[254,7],"m":"cp","o":"$07"},{"a":64405,"t":"code","b":[48,1],"m":"jr","oa":64408,"o":"nc,$FB98"},{"a":64407,"t":"code","b":[201],"m":"ret"},{"a":64408,"t":"code","b":[246,1],"m":"or","o":"$01","x":[64405]},{"a":64410,"t":"code","b":[201],"m":"ret"},{"a":64411,"l":"zones_pass","c":"The dynamite ($FBED), then the zone the leader stands in ($DB05) is found and its handler run; in none, $FB5D-$FB5F and $8D0E are reset.","t":"code","b":[205,237,251],"m":"call","oa":64493,"o":"dynamite"},{"a":64414,"t":"code","b":[33,30,251],"m":"ld","o":"hl,$FB1E"},{"a":64417,"t":"code","b":[237,91,5,219],"m":"ld","oa":56069,"o":"de,($DB05)"},{"a":64421,"t":"code","b":[58,31,141],"m":"ld","oa":36127,"o":"a,($8D1F)"},{"a":64424,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":64425,"t":"code","b":[6,9],"m":"ld","o":"b,$09"},{"a":64427,"t":"code","b":[121],"m":"ld","o":"a,c","x":[64456]},{"a":64428,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":64429,"t":"code","b":[32,20],"m":"jr","oa":64451,"o":"nz,$FBC3"},{"a":64431,"t":"code","b":[229],"m":"push","o":"hl"},{"a":64432,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64433,"t":"code","b":[123],"m":"ld","o":"a,e"},{"a":64434,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":64435,"t":"code","b":[56,13],"m":"jr","oa":64450,"o":"c,$FBC2"},{"a":64437,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64438,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":64439,"t":"code","b":[48,9],"m":"jr","oa":64450,"o":"nc,$FBC2"},{"a":64441,"t":"code","b":[122],"m":"ld","o":"a,d"},{"a":64442,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64443,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":64444,"t":"code","b":[56,4],"m":"jr","oa":64450,"o":"c,$FBC2"},{"a":64446,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64447,"t":"code","b":[190],"m":"cp","o":"(hl)"},{"a":64448,"t":"code","b":[56,23],"m":"jr","oa":64473,"o":"c,$FBD9"},{"a":64450,"t":"code","b":[225],"m":"pop","o":"hl","x":[64435,64439,64444]},{"a":64451,"t":"code","b":[35],"m":"inc","o":"hl","x":[64429]},{"a":64452,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64453,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64454,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64455,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64456,"t":"code","b":[16,225],"m":"djnz","oa":64427,"o":"$FBAB"},{"a":64458,"t":"code","b":[33,93,251],"m":"ld","o":"hl,$FB5D"},{"a":64461,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":64463,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":64464,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64465,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":64466,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64467,"t":"code","b":[60],"m":"inc","o":"a"},{"a":64468,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":64469,"t":"code","b":[50,14,141],"m":"ld","oa":36110,"o":"($8D0E),a"},{"a":64472,"t":"code","b":[201],"m":"ret"},{"a":64473,"t":"code","b":[225],"m":"pop","o":"hl","x":[64448]},{"a":64474,"t":"code","b":[62,9],"m":"ld","o":"a,$09"},{"a":64476,"t":"code","b":[144],"m":"sub","o":"b"},{"a":64477,"t":"code","b":[50,93,251],"m":"ld","oa":64349,"o":"(zone_state),a"},{"a":64480,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":64481,"t":"code","b":[6,0],"m":"ld","o":"b,$00"},{"a":64483,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":64484,"t":"code","b":[33,75,251],"m":"ld","o":"hl,$FB4B"},{"a":64487,"t":"code","b":[9],"m":"add","o":"hl,bc"},{"a":64488,"t":"code","b":[94],"m":"ld","o":"e,(hl)"},{"a":64489,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64490,"t":"code","b":[86],"m":"ld","o":"d,(hl)"},{"a":64491,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":64492,"t":"code","b":[233],"m":"jp","o":"(hl)"},{"a":64493,"l":"dynamite","c":"The fuse ($8D0B) counts down. At $0F: the explosion, sound effect 9 on channel A, the view flashes ($BF2E). Carried, the dynamite kills its carrier (state 8); in the bag, the bag is moved to area 0 ($ECD9) and its carrier dies, or, when the bag lay on the ground, the blast is where the bag was. On the ground it kills (state $48) every actor within 9 units but types $10 to $17 and $28 on. The dynamite is moved to area 0; when it was placed in zone 5 (bit 7) records $2B and $2C take route $17 and 10% is added. Below $0F ($FCA5): the leader stops, and the view shakes ($9632) for the rest of the count.","t":"code","b":[33,11,141],"m":"ld","o":"hl,$8D0B","x":[64411]},{"a":64496,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":64497,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":64499,"t":"code","b":[200],"m":"ret","o":"z"},{"a":64500,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":64501,"t":"code","b":[61],"m":"dec","o":"a"},{"a":64502,"t":"code","b":[254,16],"m":"cp","o":"$10"},{"a":64504,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":64505,"t":"code","b":[254,15],"m":"cp","o":"$0F"},{"a":64507,"t":"code","b":[194,165,252],"m":"jp","oa":64677,"o":"nz,$FCA5"},{"a":64510,"t":"code","b":[62,9],"m":"ld","o":"a,$09"},{"a":64512,"t":"code","b":[50,6,112],"m":"ld","oa":28678,"o":"($7006),a"},{"a":64515,"t":"code","b":[58,125,170],"m":"ld","oa":43645,"o":"a,(view_colour)"},{"a":64518,"t":"code","b":[50,29,251],"m":"ld","oa":64285,"o":"($FB1D),a"},{"a":64521,"t":"code","b":[62,184],"m":"ld","o":"a,$B8"},{"a":64523,"t":"code","b":[50,46,191],"m":"ld","oa":48942,"o":"($BF2E),a"},{"a":64526,"t":"code","b":[33,73,237],"m":"ld","o":"hl,$ED49"},{"a":64529,"t":"code","b":[203,110],"m":"bit","o":"5,(hl)"},{"a":64531,"t":"code","b":[40,37],"m":"jr","oa":64570,"o":"z,$FC3A"},{"a":64533,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":64534,"t":"code","b":[230,31],"m":"and","o":"$1F"},{"a":64536,"t":"code","b":[254,4],"m":"cp","o":"$04"},{"a":64538,"t":"code","b":[32,20],"m":"jr","oa":64560,"o":"nz,$FC30"},{"a":64540,"t":"code","b":[33,217,236],"m":"ld","o":"hl,$ECD9"},{"a":64543,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":64544,"t":"code","b":[54,0],"m":"ld","o":"(hl),$00"},{"a":64546,"t":"code","b":[203,111],"m":"bit","o":"5,a"},{"a":64548,"t":"code","b":[32,8],"m":"jr","oa":64558,"o":"nz,$FC2E"},{"a":64550,"t":"code","b":[42,218,236],"m":"ld","oa":60634,"o":"hl,($ECDA)"},{"a":64553,"t":"code","b":[34,74,237],"m":"ld","oa":60746,"o":"($ED4A),hl"},{"a":64556,"t":"code","b":[24,12],"m":"jr","oa":64570,"o":"$FC3A"},{"a":64558,"t":"code","b":[230,31],"m":"and","o":"$1F","x":[64548]},{"a":64560,"t":"code","b":[205,124,251],"m":"call","oa":64380,"o":"within_reach","x":[64538]},{"a":64563,"t":"code","b":[32,67],"m":"jr","oa":64632,"o":"nz,$FC78"},{"a":64565,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":64566,"t":"code","b":[54,8],"m":"ld","o":"(hl),$08"},{"a":64568,"t":"code","b":[24,62],"m":"jr","oa":64632,"o":"$FC78"},{"a":64570,"t":"code","b":[33,0,131],"m":"ld","o":"hl,$8300","x":[64531,64556]},{"a":64573,"t":"code","b":[229],"m":"push","o":"hl","x":[64629]},{"a":64574,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":64575,"t":"code","b":[230,252],"m":"and","o":"$FC"},{"a":64577,"t":"code","b":[254,40],"m":"cp","o":"$28"},{"a":64579,"t":"code","b":[48,43],"m":"jr","oa":64624,"o":"nc,$FC70"},{"a":64581,"t":"code","b":[254,16],"m":"cp","o":"$10"},{"a":64583,"t":"code","b":[40,39],"m":"jr","oa":64624,"o":"z,$FC70"},{"a":64585,"t":"code","b":[254,20],"m":"cp","o":"$14"},{"a":64587,"t":"code","b":[40,35],"m":"jr","oa":64624,"o":"z,$FC70"},{"a":64589,"t":"code","b":[205,189,222],"m":"call","oa":57021,"o":"$DEBD"},{"a":64592,"t":"code","b":[42,74,237],"m":"ld","oa":60746,"o":"hl,($ED4A)"},{"a":64595,"t":"code","b":[58,8,219],"m":"ld","oa":56072,"o":"a,($DB08)"},{"a":64598,"t":"code","b":[149],"m":"sub","o":"l"},{"a":64599,"t":"code","b":[48,2],"m":"jr","oa":64603,"o":"nc,$FC5B"},{"a":64601,"t":"code","b":[237,68],"m":"neg"},{"a":64603,"t":"code","b":[254,9],"m":"cp","o":"$09","x":[64599]},{"a":64605,"t":"code","b":[48,17],"m":"jr","oa":64624,"o":"nc,$FC70"},{"a":64607,"t":"code","b":[58,9,219],"m":"ld","oa":56073,"o":"a,($DB09)"},{"a":64610,"t":"code","b":[148],"m":"sub","o":"h"},{"a":64611,"t":"code","b":[48,2],"m":"jr","oa":64615,"o":"nc,$FC67"},{"a":64613,"t":"code","b":[237,68],"m":"neg"},{"a":64615,"t":"code","b":[254,9],"m":"cp","o":"$09","x":[64611]},{"a":64617,"t":"code","b":[48,5],"m":"jr","oa":64624,"o":"nc,$FC70"},{"a":64619,"t":"code","b":[225],"m":"pop","o":"hl"},{"a":64620,"t":"code","b":[229],"m":"push","o":"hl"},{"a":64621,"t":"code","b":[44],"m":"inc","o":"l"},{"a":64622,"t":"code","b":[54,72],"m":"ld","o":"(hl),$48"},{"a":64624,"t":"code","b":[225],"m":"pop","o":"hl","x":[64579,64583,64587,64605,64617]},{"a":64625,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":64626,"t":"code","b":[198,32],"m":"add","o":"a,$20"},{"a":64628,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":64629,"t":"code","b":[210,61,252],"m":"jp","oa":64573,"o":"nc,$FC3D"},{"a":64632,"t":"code","b":[175],"m":"xor","o":"a","x":[64563,64568]},{"a":64633,"t":"code","b":[50,73,237],"m":"ld","oa":60745,"o":"($ED49),a"},{"a":64636,"t":"code","b":[58,11,141],"m":"ld","oa":36107,"o":"a,($8D0B)"},{"a":64639,"t":"code","b":[230,128],"m":"and","o":"$80"},{"a":64641,"t":"code","b":[200],"m":"ret","o":"z"},{"a":64642,"t":"code","b":[62,43],"m":"ld","o":"a,$2B"},{"a":64644,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":64647,"t":"code","b":[62,23],"m":"ld","o":"a,$17"},{"a":64649,"t":"code","b":[50,99,236],"m":"ld","oa":60515,"o":"($EC63),a"},{"a":64652,"t":"code","b":[32,3],"m":"jr","oa":64657,"o":"nz,$FC91"},{"a":64654,"t":"code","b":[44],"m":"inc","o":"l"},{"a":64655,"t":"code","b":[44],"m":"inc","o":"l"},{"a":64656,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":64657,"t":"code","b":[62,44],"m":"ld","o":"a,$2C","x":[64652]},{"a":64659,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":64662,"t":"code","b":[62,23],"m":"ld","o":"a,$17"},{"a":64664,"t":"code","b":[50,107,236],"m":"ld","oa":60523,"o":"($EC6B),a"},{"a":64667,"t":"code","b":[32,3],"m":"jr","oa":64672,"o":"nz,$FCA0"},{"a":64669,"t":"code","b":[44],"m":"inc","o":"l"},{"a":64670,"t":"code","b":[44],"m":"inc","o":"l"},{"a":64671,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":64672,"t":"code","b":[6,10],"m":"ld","o":"b,$0A","x":[64667]},{"a":64674,"t":"code","b":[195,160,228],"m":"jp","oa":58528,"o":"add_percent"},{"a":64677,"t":"code","b":[62,128],"m":"ld","o":"a,$80","x":[64507]},{"a":64679,"t":"code","b":[50,12,131],"m":"ld","oa":33548,"o":"($830C),a"},{"a":64682,"t":"code","b":[58,29,251],"m":"ld","oa":64285,"o":"a,($FB1D)"},{"a":64685,"t":"code","b":[246,192],"m":"or","o":"$C0"},{"a":64687,"t":"code","b":[50,46,191],"m":"ld","oa":48942,"o":"($BF2E),a"},{"a":64690,"t":"code","b":[58,50,150],"m":"ld","oa":38450,"o":"a,($9632)"},{"a":64693,"t":"code","b":[238,4],"m":"xor","o":"$04"},{"a":64695,"t":"code","b":[50,50,150],"m":"ld","oa":38450,"o":"($9632),a"},{"a":64698,"t":"code","b":[195,197,150],"m":"jp","oa":38597,"o":"$96C5"},{"a":64701,"l":"river","c":"Zones 6 to 8, the rivers: the leader, in a state below 8, walking in action 2 while above the line at $9C, $2A or $96 down, or in action 4 while below it (running counts as walking), stops (action $80) and says THE CURRENT IS TOO STRONG (message $24).","t":"code","b":[14,156],"m":"ld","o":"c,$9C"},{"a":64703,"t":"code","b":[24,6],"m":"jr","oa":64711,"o":"$FCC7"},{"a":64705,"t":"code","b":[14,42],"m":"ld","o":"c,$2A"},{"a":64707,"t":"code","b":[24,2],"m":"jr","oa":64711,"o":"$FCC7"},{"a":64709,"t":"code","b":[14,150],"m":"ld","o":"c,$96"},{"a":64711,"t":"code","b":[58,1,131],"m":"ld","oa":33537,"o":"a,($8301)","x":[64703,64707]},{"a":64714,"t":"code","b":[254,8],"m":"cp","o":"$08"},{"a":64716,"t":"code","b":[208],"m":"ret","o":"nc"},{"a":64717,"t":"code","b":[58,6,219],"m":"ld","oa":56070,"o":"a,($DB06)"},{"a":64720,"t":"code","b":[33,12,131],"m":"ld","o":"hl,$830C"},{"a":64723,"t":"code","b":[185],"m":"cp","o":"c"},{"a":64724,"t":"code","b":[14,2],"m":"ld","o":"c,$02"},{"a":64726,"t":"code","b":[56,2],"m":"jr","oa":64730,"o":"c,$FCDA"},{"a":64728,"t":"code","b":[14,4],"m":"ld","o":"c,$04"},{"a":64730,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[64726]},{"a":64731,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":64733,"t":"code","b":[254,6],"m":"cp","o":"$06"},{"a":64735,"t":"code","b":[56,2],"m":"jr","oa":64739,"o":"c,$FCE3"},{"a":64737,"t":"code","b":[214,5],"m":"sub","o":"$05"},{"a":64739,"t":"code","b":[185],"m":"cp","o":"c","x":[64735]},{"a":64740,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":64741,"t":"code","b":[54,128],"m":"ld","o":"(hl),$80"},{"a":64743,"t":"code","b":[58,10,141],"m":"ld","oa":36106,"o":"a,($8D0A)"},{"a":64746,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":64747,"t":"code","b":[6,36],"m":"ld","o":"b,$24"},{"a":64749,"t":"code","b":[195,41,140],"m":"jp","oa":35881,"o":"queue_message"},{"a":64752,"l":"tribe_welcome","c":"Zone 0: 5% the first time ($8D0D). An object dropped here ends the meeting ($8D0D = $FF) with 10%; the compact (object $0B) adds 5% more and is answered with THATS GREAT TAKE THIS... (message 4), YUMMY ROAST HAM from the leader, and the ham handed over ($F7DC); the object is fetched by type 7 ($F7AF), whose route becomes 7, and the tribe is calm ($F012, $F013 = 0). With nothing dropped $FB5F counts down: WELCOME FOOLISH PEOPLE FROM THE SKY and HAVE SOME FOOD AND REST A WHILE at $C0, a tin (object 1) put in area 5 at $A0, IT IS A CUSTOM TO GIVE SOMETHING IN RETURN at $80 and $40, the tribe turns hostile at $20 ($EFED = 9) and the party may fire on it at $10 ($EFEE = 6); at 0 it is over.","t":"code","b":[33,13,141],"m":"ld","o":"hl,$8D0D"},{"a":64755,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":64756,"t":"code","b":[60],"m":"inc","o":"a"},{"a":64757,"t":"code","b":[200],"m":"ret","o":"z"},{"a":64758,"t":"code","b":[203,127],"m":"bit","o":"7,a"},{"a":64760,"t":"code","b":[203,254],"m":"set","o":"7,(hl)"},{"a":64762,"t":"code","b":[6,5],"m":"ld","o":"b,$05"},{"a":64764,"t":"code","b":[204,160,228],"m":"call","oa":58528,"o":"z,add_percent"},{"a":64767,"t":"code","b":[58,94,251],"m":"ld","oa":64350,"o":"a,($FB5E)"},{"a":64770,"t":"code","b":[254,255],"m":"cp","o":"$FF"},{"a":64772,"t":"code","b":[40,65],"m":"jr","oa":64839,"o":"z,$FD47"},{"a":64774,"t":"code","b":[54,255],"m":"ld","o":"(hl),$FF"},{"a":64776,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":64777,"t":"code","b":[6,10],"m":"ld","o":"b,$0A"},{"a":64779,"t":"code","b":[205,160,228],"m":"call","oa":58528,"o":"add_percent"},{"a":64782,"t":"code","b":[8],"m":"ex","o":"af,af'"},{"a":64783,"t":"code","b":[254,11],"m":"cp","o":"$0B"},{"a":64785,"t":"code","b":[32,30],"m":"jr","oa":64817,"o":"nz,$FD31"},{"a":64787,"t":"code","b":[6,5],"m":"ld","o":"b,$05"},{"a":64789,"t":"code","b":[205,160,228],"m":"call","oa":58528,"o":"add_percent"},{"a":64792,"t":"code","b":[1,4,4],"m":"ld","o":"bc,$0404"},{"a":64795,"t":"code","b":[205,149,253],"m":"call","oa":64917,"o":"tribe_says"},{"a":64798,"t":"code","b":[58,10,141],"m":"ld","oa":36106,"o":"a,($8D0A)"},{"a":64801,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":64802,"t":"code","b":[6,29],"m":"ld","o":"b,$1D"},{"a":64804,"t":"code","b":[205,41,140],"m":"call","oa":35881,"o":"queue_message"},{"a":64807,"t":"code","b":[33,24,237],"m":"ld","o":"hl,$ED18"},{"a":64810,"t":"code","b":[62,7],"m":"ld","o":"a,$07"},{"a":64812,"t":"code","b":[205,220,247],"m":"call","oa":63452,"o":"put_down"},{"a":64815,"t":"code","b":[62,11],"m":"ld","o":"a,$0B"},{"a":64817,"t":"code","b":[50,145,200],"m":"ld","oa":51345,"o":"(menu_vars),a","x":[64785]},{"a":64820,"t":"code","b":[62,7],"m":"ld","o":"a,$07"},{"a":64822,"t":"code","b":[205,175,247],"m":"call","oa":63407,"o":"$F7AF"},{"a":64825,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":64826,"t":"code","b":[214,4],"m":"sub","o":"$04"},{"a":64828,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":64829,"t":"code","b":[54,7],"m":"ld","o":"(hl),$07"},{"a":64831,"t":"code","b":[175],"m":"xor","o":"a"},{"a":64832,"t":"code","b":[50,18,240],"m":"ld","oa":61458,"o":"($F012),a"},{"a":64835,"t":"code","b":[50,19,240],"m":"ld","oa":61459,"o":"($F013),a"},{"a":64838,"t":"code","b":[201],"m":"ret"},{"a":64839,"t":"code","b":[33,95,251],"m":"ld","o":"hl,$FB5F","x":[64772]},{"a":64842,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":64843,"t":"code","b":[32,6],"m":"jr","oa":64851,"o":"nz,$FD53"},{"a":64845,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":64847,"t":"code","b":[50,13,141],"m":"ld","oa":36109,"o":"($8D0D),a"},{"a":64850,"t":"code","b":[201],"m":"ret"},{"a":64851,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[64843]},{"a":64852,"t":"code","b":[254,192],"m":"cp","o":"$C0"},{"a":64854,"t":"code","b":[32,12],"m":"jr","oa":64868,"o":"nz,$FD64"},{"a":64856,"t":"code","b":[1,4,18],"m":"ld","o":"bc,$1204"},{"a":64859,"t":"code","b":[205,149,253],"m":"call","oa":64917,"o":"tribe_says"},{"a":64862,"t":"code","b":[1,4,7],"m":"ld","o":"bc,$0704"},{"a":64865,"t":"code","b":[195,149,253],"m":"jp","oa":64917,"o":"tribe_says"},{"a":64868,"t":"code","b":[254,160],"m":"cp","o":"$A0","x":[64854]},{"a":64870,"t":"code","b":[32,6],"m":"jr","oa":64878,"o":"nz,$FD6E"},{"a":64872,"t":"code","b":[33,224,236],"m":"ld","o":"hl,$ECE0"},{"a":64875,"t":"code","b":[54,5],"m":"ld","o":"(hl),$05"},{"a":64877,"t":"code","b":[201],"m":"ret"},{"a":64878,"t":"code","b":[254,128],"m":"cp","o":"$80","x":[64870]},{"a":64880,"t":"code","b":[32,6],"m":"jr","oa":64888,"o":"nz,$FD78"},{"a":64882,"t":"code","b":[1,4,20],"m":"ld","o":"bc,$1404"},{"a":64885,"t":"code","b":[195,149,253],"m":"jp","oa":64917,"o":"tribe_says"},{"a":64888,"t":"code","b":[254,64],"m":"cp","o":"$40","x":[64880]},{"a":64890,"t":"code","b":[32,6],"m":"jr","oa":64898,"o":"nz,$FD82"},{"a":64892,"t":"code","b":[1,5,20],"m":"ld","o":"bc,$1405"},{"a":64895,"t":"code","b":[195,149,253],"m":"jp","oa":64917,"o":"tribe_says"},{"a":64898,"t":"code","b":[254,32],"m":"cp","o":"$20","x":[64890]},{"a":64900,"t":"code","b":[32,6],"m":"jr","oa":64908,"o":"nz,$FD8C"},{"a":64902,"t":"code","b":[62,9],"m":"ld","o":"a,$09"},{"a":64904,"t":"code","b":[50,237,239],"m":"ld","oa":61421,"o":"(hostility),a"},{"a":64907,"t":"code","b":[201],"m":"ret"},{"a":64908,"t":"code","b":[254,16],"m":"cp","o":"$10","x":[64900]},{"a":64910,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":64911,"t":"code","b":[62,6],"m":"ld","o":"a,$06"},{"a":64913,"t":"code","b":[50,238,239],"m":"ld","oa":61422,"o":"($EFEE),a"},{"a":64916,"t":"code","b":[201],"m":"ret"},{"a":64917,"l":"tribe_says","c":"Queues message B for speaker C (a tribesman, whose letters are mirrored, $D84C), and when Dirk (character 2) is within reach queues it for Dirk too: he translates, beginning HE SAID.","t":"code","b":[205,41,140],"m":"call","oa":35881,"o":"queue_message","x":[64795,64859,64865,64885,64895,65316,65331,65346]},{"a":64920,"t":"code","b":[197],"m":"push","o":"bc"},{"a":64921,"t":"code","b":[62,2],"m":"ld","o":"a,$02"},{"a":64923,"t":"code","b":[205,124,251],"m":"call","oa":64380,"o":"within_reach"},{"a":64926,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":64927,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":64928,"t":"code","b":[14,2],"m":"ld","o":"c,$02"},{"a":64930,"t":"code","b":[195,41,140],"m":"jp","oa":35881,"o":"queue_message"},{"a":64933,"l":"zone_2d_outer","c":"Zone 2, near actor $2D: its action 0, or 4 every 32nd pass. The ham (object 9) dropped here is put at $ED64's place, $8D0E = $7F and the actor's action 2; then $8D0E counts down, and at $7B $FE01 runs.","t":"code","b":[14,0],"m":"ld","o":"c,$00"},{"a":64935,"t":"code","b":[58,28,141],"m":"ld","oa":36124,"o":"a,($8D1C)"},{"a":64938,"t":"code","b":[230,31],"m":"and","o":"$1F"},{"a":64940,"t":"code","b":[32,2],"m":"jr","oa":64944,"o":"nz,$FDB0"},{"a":64942,"t":"code","b":[14,4],"m":"ld","o":"c,$04"},{"a":64944,"t":"code","b":[62,45],"m":"ld","o":"a,$2D","x":[64940]},{"a":64946,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":64949,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":64950,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":64951,"t":"code","b":[198,12],"m":"add","o":"a,$0C"},{"a":64953,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":64954,"t":"code","b":[113],"m":"ld","o":"(hl),c"},{"a":64955,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":64956,"t":"code","b":[33,14,141],"m":"ld","o":"hl,$8D0E"},{"a":64959,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":64960,"t":"code","b":[167],"m":"and","o":"a"},{"a":64961,"t":"code","b":[32,25],"m":"jr","oa":64988,"o":"nz,$FDDC"},{"a":64963,"t":"code","b":[58,94,251],"m":"ld","oa":64350,"o":"a,($FB5E)"},{"a":64966,"t":"code","b":[254,9],"m":"cp","o":"$09"},{"a":64968,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":64969,"t":"code","b":[54,127],"m":"ld","o":"(hl),$7F"},{"a":64971,"t":"code","b":[213],"m":"push","o":"de"},{"a":64972,"t":"code","b":[17,24,237],"m":"ld","o":"de,$ED18"},{"a":64975,"t":"code","b":[33,100,237],"m":"ld","o":"hl,$ED64"},{"a":64978,"t":"code","b":[1,6,0],"m":"ld","o":"bc,$0006"},{"a":64981,"t":"code","b":[237,176],"m":"ldir"},{"a":64983,"t":"code","b":[209],"m":"pop","o":"de"},{"a":64984,"t":"code","b":[62,2],"m":"ld","o":"a,$02"},{"a":64986,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":64987,"t":"code","b":[201],"m":"ret"},{"a":64988,"t":"code","b":[53],"m":"dec","o":"(hl)","x":[64961]},{"a":64989,"t":"code","b":[254,123],"m":"cp","o":"$7B"},{"a":64991,"t":"code","b":[202,1,254],"m":"jp","oa":65025,"o":"z,zone_2d_fed"},{"a":64994,"t":"code","b":[201],"m":"ret"},{"a":64995,"l":"zone_2d_inner","c":"Zone 1, close to actor $2D: its action 4. With $8D0E at $7B, $FE01; at $7F, action 2; otherwise $FE17.","t":"code","b":[62,45],"m":"ld","o":"a,$2D"},{"a":64997,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":65000,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":65001,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":65002,"t":"code","b":[198,12],"m":"add","o":"a,$0C"},{"a":65004,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":65005,"t":"code","b":[54,4],"m":"ld","o":"(hl),$04"},{"a":65007,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":65008,"t":"code","b":[33,14,141],"m":"ld","o":"hl,$8D0E"},{"a":65011,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":65012,"t":"code","b":[254,123],"m":"cp","o":"$7B"},{"a":65014,"t":"code","b":[40,9],"m":"jr","oa":65025,"o":"z,zone_2d_fed"},{"a":65016,"t":"code","b":[254,127],"m":"cp","o":"$7F"},{"a":65018,"t":"code","b":[32,27],"m":"jr","oa":65047,"o":"nz,zone_2d_grab"},{"a":65020,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":65021,"t":"code","b":[62,2],"m":"ld","o":"a,$02"},{"a":65023,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":65024,"t":"code","b":[201],"m":"ret"},{"a":65025,"l":"zone_2d_fed","c":"The object dropped ($FB5E, the ham) is gone (+1 = $1C), $FB5E = $FF, the actor's action 0 and 10% added. With nothing dropped ($FB5E = $FF) the record $F83E finds is at $EDD1, among the waypoints, and $EDD2 becomes $1C.","t":"code","b":[53],"m":"dec","o":"(hl)","x":[64991,65014]},{"a":65026,"t":"code","b":[175],"m":"xor","o":"a"},{"a":65027,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":65028,"t":"code","b":[58,94,251],"m":"ld","oa":64350,"o":"a,($FB5E)"},{"a":65031,"t":"code","b":[205,62,248],"m":"call","oa":63550,"o":"object_record"},{"a":65034,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":65035,"t":"code","b":[54,28],"m":"ld","o":"(hl),$1C"},{"a":65037,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":65039,"t":"code","b":[50,94,251],"m":"ld","oa":64350,"o":"($FB5E),a"},{"a":65042,"t":"code","b":[6,10],"m":"ld","o":"b,$0A"},{"a":65044,"t":"code","b":[195,160,228],"m":"jp","oa":58528,"o":"add_percent"},{"a":65047,"l":"zone_2d_grab","c":"With $8D0E at 0 it becomes $FD, and the actor's action 0; at $FF nothing happens. While it is $80 or more it counts down, and the leader is held (bit 6 of $8301, action $80) at the place across from $FFCE (by actor $2D's frame, +$1B) and down $020A, the actor's action 1 once below $F0; from 1 to $7E it counts down with the action 0, and at $7B $FE01 runs whether or not anything was dropped.","t":"code","b":[167],"m":"and","o":"a","x":[65018]},{"a":65048,"t":"code","b":[32,2],"m":"jr","oa":65052,"o":"nz,$FE1C"},{"a":65050,"t":"code","b":[54,254],"m":"ld","o":"(hl),$FE"},{"a":65052,"t":"code","b":[254,255],"m":"cp","o":"$FF","x":[65048]},{"a":65054,"t":"code","b":[200],"m":"ret","o":"z"},{"a":65055,"t":"code","b":[203,127],"m":"bit","o":"7,a"},{"a":65057,"t":"code","b":[32,4],"m":"jr","oa":65063,"o":"nz,$FE27"},{"a":65059,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":65060,"t":"code","b":[175],"m":"xor","o":"a"},{"a":65061,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":65062,"t":"code","b":[201],"m":"ret"},{"a":65063,"t":"code","b":[53],"m":"dec","o":"(hl)","x":[65057]},{"a":65064,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":65065,"t":"code","b":[254,240],"m":"cp","o":"$F0"},{"a":65067,"t":"code","b":[48,3],"m":"jr","oa":65072,"o":"nc,$FE30"},{"a":65069,"t":"code","b":[62,1],"m":"ld","o":"a,$01"},{"a":65071,"t":"code","b":[18],"m":"ld","o":"(de),a"},{"a":65072,"t":"code","b":[123],"m":"ld","o":"a,e","x":[65067]},{"a":65073,"t":"code","b":[198,15],"m":"add","o":"a,$0F"},{"a":65075,"t":"code","b":[95],"m":"ld","o":"e,a"},{"a":65076,"t":"code","b":[26],"m":"ld","o":"a,(de)"},{"a":65077,"t":"code","b":[33,206,255],"m":"ld","o":"hl,$FFCE"},{"a":65080,"t":"code","b":[135],"m":"add","o":"a,a"},{"a":65081,"t":"code","b":[133],"m":"add","o":"a,l"},{"a":65082,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":65083,"t":"code","b":[48,1],"m":"jr","oa":65086,"o":"nc,$FE3E"},{"a":65085,"t":"code","b":[36],"m":"inc","o":"h"},{"a":65086,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[65083]},{"a":65087,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":65088,"t":"code","b":[102],"m":"ld","o":"h,(hl)"},{"a":65089,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":65090,"t":"code","b":[34,14,131],"m":"ld","oa":33550,"o":"($830E),hl"},{"a":65093,"t":"code","b":[62,128],"m":"ld","o":"a,$80"},{"a":65095,"t":"code","b":[50,12,131],"m":"ld","oa":33548,"o":"($830C),a"},{"a":65098,"t":"code","b":[33,10,2],"m":"ld","o":"hl,$020A"},{"a":65101,"t":"code","b":[34,16,131],"m":"ld","oa":33552,"o":"($8310),hl"},{"a":65104,"t":"code","b":[33,1,131],"m":"ld","o":"hl,$8301"},{"a":65107,"t":"code","b":[203,246],"m":"set","o":"6,(hl)"},{"a":65109,"t":"code","b":[33,14,131],"m":"ld","o":"hl,$830E"},{"a":65112,"t":"code","b":[195,98,195],"m":"jp","oa":50018,"o":"project"},{"a":65115,"l":"capture","c":"Zone 3, until done ($8D0F): for each of the other three characters, the first within reach has +4 counted down and then action 7; the first away from the area (not in play, in a state below 7) is captured: $8D0C = that character, put in area 2 from $FFDE with records 5 to 7 (the tribe, $FFE5) beside, the tribe calm, the ceremony's count started ($8D15 = 0), 5%, and WHERE HAS <name> GONE from the leader.","t":"code","b":[58,15,141],"m":"ld","oa":36111,"o":"a,($8D0F)"},{"a":65118,"t":"code","b":[60],"m":"inc","o":"a"},{"a":65119,"t":"code","b":[200],"m":"ret","o":"z"},{"a":65120,"t":"code","b":[58,10,141],"m":"ld","oa":36106,"o":"a,($8D0A)"},{"a":65123,"t":"code","b":[60],"m":"inc","o":"a"},{"a":65124,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":65125,"t":"code","b":[6,3],"m":"ld","o":"b,$03"},{"a":65127,"t":"code","b":[121],"m":"ld","o":"a,c","x":[65140]},{"a":65128,"t":"code","b":[230,3],"m":"and","o":"$03"},{"a":65130,"t":"code","b":[197],"m":"push","o":"bc"},{"a":65131,"t":"code","b":[205,124,251],"m":"call","oa":64380,"o":"within_reach"},{"a":65134,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":65135,"t":"code","b":[40,14],"m":"jr","oa":65151,"o":"z,$FE7F"},{"a":65137,"t":"code","b":[56,30],"m":"jr","oa":65169,"o":"c,$FE91"},{"a":65139,"t":"code","b":[12],"m":"inc","o":"c"},{"a":65140,"t":"code","b":[16,241],"m":"djnz","oa":65127,"o":"$FE67"},{"a":65142,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":65144,"t":"code","b":[50,15,141],"m":"ld","oa":36111,"o":"($8D0F),a"},{"a":65147,"t":"code","b":[50,21,141],"m":"ld","oa":36117,"o":"($8D15),a"},{"a":65150,"t":"code","b":[201],"m":"ret"},{"a":65151,"t":"code","b":[125],"m":"ld","o":"a,l","x":[65135]},{"a":65152,"t":"code","b":[198,4],"m":"add","o":"a,$04"},{"a":65154,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":65155,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":65156,"t":"code","b":[230,15],"m":"and","o":"$0F"},{"a":65158,"t":"code","b":[40,2],"m":"jr","oa":65162,"o":"z,$FE8A"},{"a":65160,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":65161,"t":"code","b":[201],"m":"ret"},{"a":65162,"t":"code","b":[125],"m":"ld","o":"a,l","x":[65158]},{"a":65163,"t":"code","b":[198,8],"m":"add","o":"a,$08"},{"a":65165,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":65166,"t":"code","b":[54,7],"m":"ld","o":"(hl),$07"},{"a":65168,"t":"code","b":[201],"m":"ret"},{"a":65169,"t":"code","b":[126],"m":"ld","o":"a,(hl)","x":[65137]},{"a":65170,"t":"code","b":[50,12,141],"m":"ld","oa":36108,"o":"($8D0C),a"},{"a":65173,"t":"code","b":[62,255],"m":"ld","o":"a,$FF"},{"a":65175,"t":"code","b":[50,15,141],"m":"ld","oa":36111,"o":"($8D0F),a"},{"a":65178,"t":"code","b":[35],"m":"inc","o":"hl"},{"a":65179,"t":"code","b":[1,7,0],"m":"ld","o":"bc,$0007"},{"a":65182,"t":"code","b":[235],"m":"ex","o":"de,hl"},{"a":65183,"t":"code","b":[33,222,255],"m":"ld","o":"hl,$FFDE"},{"a":65186,"t":"code","b":[237,176],"m":"ldir"},{"a":65188,"t":"code","b":[17,45,235],"m":"ld","o":"de,$EB2D"},{"a":65191,"t":"code","b":[1,24,0],"m":"ld","o":"bc,$0018"},{"a":65194,"t":"code","b":[237,176],"m":"ldir"},{"a":65196,"t":"code","b":[175],"m":"xor","o":"a"},{"a":65197,"t":"code","b":[50,18,240],"m":"ld","oa":61458,"o":"($F012),a"},{"a":65200,"t":"code","b":[50,21,141],"m":"ld","oa":36117,"o":"($8D15),a"},{"a":65203,"t":"code","b":[50,238,239],"m":"ld","oa":61422,"o":"($EFEE),a"},{"a":65206,"t":"code","b":[60],"m":"inc","o":"a"},{"a":65207,"t":"code","b":[50,237,239],"m":"ld","oa":61421,"o":"(hostility),a"},{"a":65210,"t":"code","b":[6,5],"m":"ld","o":"b,$05"},{"a":65212,"t":"code","b":[205,160,228],"m":"call","oa":58528,"o":"add_percent"},{"a":65215,"t":"code","b":[58,10,141],"m":"ld","oa":36106,"o":"a,($8D0A)"},{"a":65218,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":65219,"t":"code","b":[6,10],"m":"ld","o":"b,$0A"},{"a":65221,"t":"code","b":[195,41,140],"m":"jp","oa":35881,"o":"queue_message"},{"a":65224,"l":"altar","c":"Zone 4: $8D15 counts up, unless it is $FF. The same byte is the calendar's month (main $F465), so a month's end with no ceremony running leaves it at 0 to 3 and the count runs. The jewel (object $0A) dropped here is fetched by type 7 (its route becomes 7), 10% is added and the ceremony ends ($FF7F). Otherwise the captive, when in play, ends it too if in state 2, or else takes state 0 and action 1 and cries HELP; and the tribe speaks at $40, $80 and $C0: MAY THIS SACRIFICE BRING US VICTORY, ALL PRAISE TO THE EVIL ONE and WE COMMIT <name>'S BODY TO THE BOTTOMLESS DEPTHS while the jewel lies in area 2, GIVE US THE SACRED JEWEL AND <name> WILL BE SPARED when it does not; at $C0 type 5 takes route $1A.","t":"code","b":[33,21,141],"m":"ld","o":"hl,$8D15"},{"a":65227,"t":"code","b":[126],"m":"ld","o":"a,(hl)"},{"a":65228,"t":"code","b":[60],"m":"inc","o":"a"},{"a":65229,"t":"code","b":[200],"m":"ret","o":"z"},{"a":65230,"t":"code","b":[119],"m":"ld","o":"(hl),a"},{"a":65231,"t":"code","b":[58,94,251],"m":"ld","oa":64350,"o":"a,($FB5E)"},{"a":65234,"t":"code","b":[254,10],"m":"cp","o":"$0A"},{"a":65236,"t":"code","b":[32,22],"m":"jr","oa":65260,"o":"nz,$FEEC"},{"a":65238,"t":"code","b":[50,145,200],"m":"ld","oa":51345,"o":"(menu_vars),a"},{"a":65241,"t":"code","b":[62,7],"m":"ld","o":"a,$07"},{"a":65243,"t":"code","b":[205,175,247],"m":"call","oa":63407,"o":"$F7AF"},{"a":65246,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":65247,"t":"code","b":[214,4],"m":"sub","o":"$04"},{"a":65249,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":65250,"t":"code","b":[54,7],"m":"ld","o":"(hl),$07"},{"a":65252,"t":"code","b":[6,10],"m":"ld","o":"b,$0A"},{"a":65254,"t":"code","b":[205,160,228],"m":"call","oa":58528,"o":"add_percent"},{"a":65257,"t":"code","b":[195,127,255],"m":"jp","oa":65407,"o":"ceremony_over"},{"a":65260,"t":"code","b":[58,12,141],"m":"ld","oa":36108,"o":"a,($8D0C)","x":[65236]},{"a":65263,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":65265,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":65268,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":65269,"t":"code","b":[78],"m":"ld","o":"c,(hl)"},{"a":65270,"t":"code","b":[44],"m":"inc","o":"l"},{"a":65271,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":65272,"t":"code","b":[53],"m":"dec","o":"(hl)"},{"a":65273,"t":"code","b":[202,127,255],"m":"jp","oa":65407,"o":"z,ceremony_over"},{"a":65276,"t":"code","b":[54,0],"m":"ld","o":"(hl),$00"},{"a":65278,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":65279,"t":"code","b":[198,11],"m":"add","o":"a,$0B"},{"a":65281,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":65282,"t":"code","b":[54,1],"m":"ld","o":"(hl),$01"},{"a":65284,"t":"code","b":[6,14],"m":"ld","o":"b,$0E"},{"a":65286,"t":"code","b":[205,41,140],"m":"call","oa":35881,"o":"queue_message"},{"a":65289,"t":"code","b":[30,0],"m":"ld","o":"e,$00"},{"a":65291,"t":"code","b":[58,31,237],"m":"ld","oa":60703,"o":"a,($ED1F)"},{"a":65294,"t":"code","b":[230,63],"m":"and","o":"$3F"},{"a":65296,"t":"code","b":[254,2],"m":"cp","o":"$02"},{"a":65298,"t":"code","b":[40,1],"m":"jr","oa":65301,"o":"z,$FF15"},{"a":65300,"t":"code","b":[29],"m":"dec","o":"e"},{"a":65301,"t":"code","b":[58,21,141],"m":"ld","oa":36117,"o":"a,($8D15)","x":[65298]},{"a":65304,"t":"code","b":[254,64],"m":"cp","o":"$40"},{"a":65306,"t":"code","b":[32,11],"m":"jr","oa":65319,"o":"nz,$FF27"},{"a":65308,"t":"code","b":[1,5,11],"m":"ld","o":"bc,$0B05"},{"a":65311,"t":"code","b":[163],"m":"and","o":"e"},{"a":65312,"t":"code","b":[40,2],"m":"jr","oa":65316,"o":"z,$FF24"},{"a":65314,"t":"code","b":[6,12],"m":"ld","o":"b,$0C"},{"a":65316,"t":"code","b":[195,149,253],"m":"jp","oa":64917,"o":"tribe_says","x":[65312]},{"a":65319,"t":"code","b":[254,128],"m":"cp","o":"$80","x":[65306]},{"a":65321,"t":"code","b":[32,11],"m":"jr","oa":65334,"o":"nz,$FF36"},{"a":65323,"t":"code","b":[1,5,8],"m":"ld","o":"bc,$0805"},{"a":65326,"t":"code","b":[163],"m":"and","o":"e"},{"a":65327,"t":"code","b":[40,2],"m":"jr","oa":65331,"o":"z,$FF33"},{"a":65329,"t":"code","b":[6,12],"m":"ld","o":"b,$0C"},{"a":65331,"t":"code","b":[195,149,253],"m":"jp","oa":64917,"o":"tribe_says","x":[65327]},{"a":65334,"t":"code","b":[254,192],"m":"cp","o":"$C0","x":[65321]},{"a":65336,"t":"code","b":[32,19],"m":"jr","oa":65357,"o":"nz,$FF4D"},{"a":65338,"t":"code","b":[1,5,9],"m":"ld","o":"bc,$0905"},{"a":65341,"t":"code","b":[163],"m":"and","o":"e"},{"a":65342,"t":"code","b":[40,2],"m":"jr","oa":65346,"o":"z,$FF42"},{"a":65344,"t":"code","b":[6,12],"m":"ld","o":"b,$0C"},{"a":65346,"t":"code","b":[205,149,253],"m":"call","oa":64917,"o":"tribe_says","x":[65342]},{"a":65349,"t":"code","b":[62,5],"m":"ld","o":"a,$05"},{"a":65351,"t":"code","b":[17,26,0],"m":"ld","o":"de,$001A"},{"a":65354,"t":"code","b":[195,193,255],"m":"jp","oa":65473,"o":"set_route"},{"a":65357,"t":"code","b":[254,232],"m":"cp","o":"$E8","x":[65336]},{"a":65359,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":65360,"l":"sacrifice","c":"At $E8 (or when a tribesman is shot in this zone, $C817): $8D0C gets bit 7 and the captive, in play, has its across set to $82; type 5, or else 6, has its across set to $7B; then $FF7F.","t":"code","b":[58,12,141],"m":"ld","oa":36108,"o":"a,($8D0C)","x":[51223]},{"a":65363,"t":"code","b":[246,128],"m":"or","o":"$80"},{"a":65365,"t":"code","b":[50,12,141],"m":"ld","oa":36108,"o":"($8D0C),a"},{"a":65368,"t":"code","b":[230,127],"m":"and","o":"$7F"},{"a":65370,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":65373,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":65374,"t":"code","b":[125],"m":"ld","o":"a,l"},{"a":65375,"t":"code","b":[198,14],"m":"add","o":"a,$0E"},{"a":65377,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":65378,"t":"code","b":[54,130],"m":"ld","o":"(hl),$82"},{"a":65380,"t":"code","b":[205,98,195],"m":"call","oa":50018,"o":"project"},{"a":65383,"t":"code","b":[62,5],"m":"ld","o":"a,$05"},{"a":65385,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":65388,"t":"code","b":[40,8],"m":"jr","oa":65398,"o":"z,$FF76"},{"a":65390,"t":"code","b":[62,6],"m":"ld","o":"a,$06"},{"a":65392,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":65395,"t":"code","b":[194,127,255],"m":"jp","oa":65407,"o":"nz,ceremony_over"},{"a":65398,"t":"code","b":[125],"m":"ld","o":"a,l","x":[65388]},{"a":65399,"t":"code","b":[198,14],"m":"add","o":"a,$0E"},{"a":65401,"t":"code","b":[111],"m":"ld","o":"l,a"},{"a":65402,"t":"code","b":[54,123],"m":"ld","o":"(hl),$7B"},{"a":65404,"t":"code","b":[205,98,195],"m":"call","oa":50018,"o":"project"},{"a":65407,"l":"ceremony_over","c":"$8D15 = $FF and types 5 to 7 take route 4 from point 6 ($FFC1). Being the calendar's month too, $FF makes the next month's end show MAY (main $F465).","t":"code","b":[62,255],"m":"ld","o":"a,$FF","x":[65257,65273,65395]},{"a":65409,"t":"code","b":[50,21,141],"m":"ld","oa":36117,"o":"($8D15),a"},{"a":65412,"t":"code","b":[17,4,6],"m":"ld","o":"de,$0604"},{"a":65415,"t":"code","b":[6,3],"m":"ld","o":"b,$03"},{"a":65417,"t":"code","b":[62,5],"m":"ld","o":"a,$05"},{"a":65419,"t":"code","b":[197],"m":"push","o":"bc","x":[65427]},{"a":65420,"t":"code","b":[245],"m":"push","o":"af"},{"a":65421,"t":"code","b":[205,193,255],"m":"call","oa":65473,"o":"set_route"},{"a":65424,"t":"code","b":[241],"m":"pop","o":"af"},{"a":65425,"t":"code","b":[60],"m":"inc","o":"a"},{"a":65426,"t":"code","b":[193],"m":"pop","o":"bc"},{"a":65427,"t":"code","b":[16,246],"m":"djnz","oa":65419,"o":"$FF8B"},{"a":65429,"t":"code","b":[201],"m":"ret"},{"a":65430,"l":"dynamite_zone","c":"Zone 5: the dynamite (object $10) dropped here is placed (bit 7 of $8D0B) and $ED66 and $ED69 are changed; otherwise, unless bit 5 of $ED65 is set, WE COULD HAVE DONE WITH SOME DYNAMITE (message 3) from the leader.","t":"code","b":[33,11,141],"m":"ld","o":"hl,$8D0B"},{"a":65433,"t":"code","b":[203,126],"m":"bit","o":"7,(hl)"},{"a":65435,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":65436,"t":"code","b":[58,94,251],"m":"ld","oa":64350,"o":"a,($FB5E)"},{"a":65439,"t":"code","b":[254,16],"m":"cp","o":"$10"},{"a":65441,"t":"code","b":[32,15],"m":"jr","oa":65458,"o":"nz,$FFB2"},{"a":65443,"t":"code","b":[203,254],"m":"set","o":"7,(hl)"},{"a":65445,"t":"code","b":[33,128,150],"m":"ld","o":"hl,$9680"},{"a":65448,"t":"code","b":[34,102,237],"m":"ld","oa":60774,"o":"($ED66),hl"},{"a":65451,"t":"code","b":[33,150,21],"m":"ld","o":"hl,$1596"},{"a":65454,"t":"code","b":[34,105,237],"m":"ld","oa":60777,"o":"($ED69),hl"},{"a":65457,"t":"code","b":[201],"m":"ret"},{"a":65458,"t":"code","b":[58,101,237],"m":"ld","oa":60773,"o":"a,($ED65)","x":[65441]},{"a":65461,"t":"code","b":[230,32],"m":"and","o":"$20"},{"a":65463,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":65464,"t":"code","b":[58,10,141],"m":"ld","oa":36106,"o":"a,($8D0A)"},{"a":65467,"t":"code","b":[79],"m":"ld","o":"c,a"},{"a":65468,"t":"code","b":[6,3],"m":"ld","o":"b,$03"},{"a":65470,"t":"code","b":[195,41,140],"m":"jp","oa":35881,"o":"queue_message"},{"a":65473,"l":"set_route","c":"The actor of type A, in play, gets route E from point D (+2, +3).","t":"code","b":[213],"m":"push","o":"de","x":[65354,65421]},{"a":65474,"t":"code","b":[205,96,251],"m":"call","oa":64352,"o":"find_actor"},{"a":65477,"t":"code","b":[209],"m":"pop","o":"de"},{"a":65478,"t":"code","b":[192],"m":"ret","o":"nz"},{"a":65479,"t":"code","b":[44],"m":"inc","o":"l"},{"a":65480,"t":"code","b":[44],"m":"inc","o":"l"},{"a":65481,"t":"code","b":[115],"m":"ld","o":"(hl),e"},{"a":65482,"t":"code","b":[44],"m":"inc","o":"l"},{"a":65483,"t":"code","b":[114],"m":"ld","o":"(hl),d"},{"a":65484,"t":"code","b":[175],"m":"xor","o":"a"},{"a":65485,"t":"code","b":[201],"m":"ret"},{"a":65486,"l":"held_places","c":"Eight places across for the leader held by actor $2D, by its frame ($FE17).","t":"word","b":[236,2,236,2,238,2,236,2],"d":[748,748,750,748]},{"a":65494,"t":"word","b":[246,2,234,2,212,2,212,2],"d":[758,746,724,724]},{"a":65502,"l":"capture_places","c":"The captive's record from +1 (state 0, area 2, across $5E, down $90), then records 5 to 7 whole, around it in area 2 with routes $18, $19 and none.","t":"byte","b":[0,2,94,144,0,0,0,5]},{"a":65510,"t":"byte","b":[0,2,92,143,0,24,0,6]},{"a":65518,"t":"byte","b":[0,2,90,145,0,25,0,7]},{"a":65526,"t":"byte","b":[0,2,88,144,0,0,0,2]},{"a":65534,"t":"byte","b":[88,144]}]}