From 66ebd640428aead9dabf33228a503e3065be5726 Mon Sep 17 00:00:00 2001 From: RD42 <42702181+dashr9230@users.noreply.github.com> Date: Mon, 5 Feb 2024 21:43:05 +0800 Subject: [PATCH] Add main.scm, main.txt, SASCM.INI, script.img to scm --- scm/SASCM.INI | 2084 ++++ scm/main.scm | Bin 0 -> 103876 bytes scm/main.txt | 30117 +++++++++++++++++++++++++++++++++++++++++++++++ scm/script.img | Bin 0 -> 194560 bytes 4 files changed, 32201 insertions(+) create mode 100644 scm/SASCM.INI create mode 100644 scm/main.scm create mode 100644 scm/main.txt create mode 100644 scm/script.img diff --git a/scm/SASCM.INI b/scm/SASCM.INI new file mode 100644 index 0000000..7edeb90 --- /dev/null +++ b/scm/SASCM.INI @@ -0,0 +1,2084 @@ +; Generated automatically from the opcode database. +; For more info, visit www.gtag.gtagaming.com/opcode-database +; d% = anything +; p% = label pointer +; o% = object models all types +; g% = gxt reference +; x% = external script + +PUBLISHER=GTAG (http://gtag.gtagaming.com/opcode-database) +DATE=14.6.2013 + +[OPCODES] +0000=0,NOP +0001=1,wait %1d% ms +0002=1,jump %1p% +0003=1,shake_camera %1d% +0004=2,%1d% = %2d% +0005=2,%1d% = %2d% +0006=2,%1d% = %2d% +0007=2,%1d% = %2d% +0008=2,%1d% += %2d% +0009=2,%1d% += %2d% +000A=2,%1d% += %2d% +000B=2,%1d% += %2d% +000C=2,%1d% -= %2d% +000D=2,%1d% -= %2d% +000E=2,%1d% -= %2d% +000F=2,%1d% -= %2d% +0010=2,%1d% *= %2d% +0011=2,%1d% *= %2d% +0012=2,%1d% *= %2d% +0013=2,%1d% *= %2d% +0014=2,%1d% /= %2d% +0015=2,%1d% /= %2d% +0016=2,%1d% /= %2d% +0017=2,%1d% /= %2d% +0018=2, %1d% > %2d% +0019=2, %1d% > %2d% +001A=2, %1d% > %2d% +001b=2, %1d% > %2d% +001c=2, %1d% > %2d% ; (int) +001d=2, %1d% > %2d% ; (int) +001E=2, %1d% > %2d% ; (int) +001f=2, %1d% > %2d% ; (int) +0020=2, %1d% > %2d% +0021=2, %1d% > %2d% +0022=2, %1d% > %2d% +0023=2, %1d% > %2d% +0024=2, %1d% > %2d% ; (float) +0025=2, %1d% > %2d% ; (float) +0026=2, %1d% > %2d% ; (float) +0027=2, %1d% > %2d% ; (float) +0028=2, %1d% >= %2d% +0029=2, %1d% >= %2d% +002a=2, %1d% >= %2d% +002b=2, %1d% >= %2d% +002c=2, %1d% >= %2d% ; (int) +002d=2, %1d% >= %2d% ; (int) +002e=2, %1d% >= %2d% ; (int) +002F=2, %1d% >= %2d% ; (int) +0030=2, %1d% >= %2d% +0031=2, %1d% >= %2d% +0032=2, %1d% >= %2d% +0033=2, %1d% >= %2d% +0034=2, %1d% >= %2d% ; (float) +0035=2, %1d% >= %2d% ; (float) +0036=2, %1d% >= %2d% ; (float) +0037=2, %1d% >= %2d% ; (float) +0038=2, %1d% == %2d% +0039=2, %1d% == %2d% +003a=2, %1d% == %2d% ; (int) +003b=2, %1d% == %2d% ; (int) +003c=2, %1d% == %2d% ; (int) +0042=2, %1d% == %2d% +0043=2, %1d% == %2d% +0044=2, %1d% == %2d% ; (float) +0045=2, %1d% == %2d% ; (float) +0046=2, %1d% == %2d% ; (float) +004D=1,jump_if_false %1p% +004E=0,end_thread +004F=-1,create_thread %1p% +0050=1,gosub %1p% +0051=0,return +0052=6,NOP %1d% %2d% %3d% %4d% %5d% %6d% +0053=5,%5d% = create_player %1d% at %2d% %3d% %4d% +0058=2,%1d% += %2d% ; (int) +0059=2,%1d% += %2d% ; (float) +005a=2,%1d% += %2d% ; (int) +005b=2,%1d% += %2d% ; (float) +005c=2,%1d% += %2d% ; (int) +005d=2,%1d% += %2d% ; (float) +005e=2,%1d% += %2d% ; (int) +005f=2,%1d% += %2d% ; (float) +0060=2,%1d% -= %2d% ; (int) +0061=2,%1d% -= %2d% ; (float) +0062=2,%1d% -= %2d% ; (int) +0063=2,%1d% -= %2d% ; (float) +0064=2,%1d% -= %2d% ; (int) +0065=2,%1d% -= %2d% ; (float) +0066=2,%1d% -= %2d% ; (int) +0067=2,%1d% -= %2d% ; (float) +0068=2,%1d% *= %2d% ; (int) +0069=2,%1d% *= %2d% ; (float) +006a=2,%1d% *= %2d% ; (int) +006b=2,%1d% *= %2d% ; (float) +006C=2,%1d% *= %2d% ; $ *= @ (int) +006d=2,%1d% *= %2d% ; (float) +006e=2,%1d% *= %2d% ; (int) +006f=2,%1d% *= %2d% ; (float) +0070=2,%1d% /= %2d% ; (int) +0071=2,%1d% /= %2d% ; (float) +0072=2,%1d% /= %2d% ; (int) +0073=2,%1d% /= %2d% ; (float) +0074=2,%1d% /= %2d% ; (int) +0075=2,%1d% /= %2d% ; (float) +0076=2,%1d% /= %2d% ; (int) +0077=2,%1d% /= %2d% ; (float) +0078=2,%1d% += frame_delta_time * %2d% ; (float) +0079=2,%1d% += frame_delta_time * %2d% ; (float) +007a=2,%1d% += frame_delta_time * %2d% ; (float) +007b=2,%1d% += frame_delta_time * %2d% ; (float) +007c=2,%1d% += frame_delta_time * %2d% ; (float) +007d=2,%1d% += frame_delta_time * %2d% ; (float) +007E=2,%1d% -= frame_delta_time * %2d% ; (float) +007F=2,%1d% -= frame_delta_time * %2d% ; (float) +0080=2,%1d% -= frame_delta_time * %2d% ; (float) +0081=2,%1d% -= frame_delta_time * %2d% ; (float) +0082=2,%1d% -= frame_delta_time * %2d% ; (float) +0083=2,%1d% -= frame_delta_time * %2d% ; (float) +0084=2,%1d% = %2d% ; (int) +0085=2,%1d% = %2d% ; (int) +0086=2,%1d% = %2d% ; (float) +0087=2,%1d% = %2d% ; (float) +0088=2,%1d% = %2d% ; (float) +0089=2,%1d% = %2d% ; (float) +008A=2,%1d% = %2d% ; (int) +008B=2,%1d% = %2d% ; (int) +008c=2,%1d% = float %2d% to_integer +008d=2,%1d% = integer %2d% to_float +008E=2,%1d% = float %2d% to_integer +008f=2,%1d% = integer %2d% to_float +0090=2,%1d% = float %2d% to_integer +0091=2,%1d% = integer %2d% to_float +0092=2,%1d% = float %2d% to_integer +0093=2,%1d% = integer %2d% to_float +0094=1,make %1d% absolute_integer +0095=1,make %1d% absolute_integer +0096=1,make %1d% absolute_float +0097=1,make %1d% absolute_float +0098=1,%1d% = random_float_in_ranges_0.0_to_1.0 +0099=1,%1d% = random_int_in_ranges_0_to_32767 +009A=6,%6d% = create_actor_pedtype %1d% model %2o% at %3d% %4d% %5d% +009b=1,destroy_actor %1d% +00a0=4,store_actor %1d% position_to %2d% %3d% %4d% +00a1=4,put_actor %1d% at %2d% %3d% %4d% +00a3=6, actor %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% +00a4=8, actor %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% +00a5=5,%5d% = create_car %1o% at %2d% %3d% %4d% +00a6=1,destroy_car %1d% +00a7=4,car %1d% drive_to %2d% %3d% %4d% +00a8=1,set_car %1d% to_psycho_driver +00a9=1,set_car %1d% to_normal_driver +00aa=4,store_car %1d% position_to %2d% %3d% %4d% +00ab=4,put_car %1d% at %2d% %3d% %4d% +00ad=2,set_car %1d% max_speed_to %2d% +00ae=2,set_car %1d% traffic_behaviour_to %2d% +00Af=2,set_car %1d% driver_behaviour_to %2d% +00b0=6, car %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% +00b1=8, car %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% +00ba=3,show_text_styled GXT %1g% time %2d% style %3d% +00bb=3,show_text_lowpriority GXT %1g% time %2d% flag %3d% +00bc=3,show_text_highpriority GXT %1g% time %2d% flag %3d% +00be=0,text_clear_all +00bf=2,%1d% = current_time_hours, %2d% = current_time_minutes +00c0=2,set_current_time_hours_to %1d% minutes_to %2d% +00c1=3,%3d% = get_minutes_left_to_time_hours %1d% time_minutes %2d% +00c2=4, sphere_onscreen %1d% %2d% %3d% radius %4d% +00D6=1,if %1d% +00d7=1,create_thread %1p% ; without extra params +00d8=0,mission_cleanup +00D9=2,%2d% = actor %1d% car ; add to mission cleanup +00DB=2, actor %1d% in_car %2d% +00DD=2, actor %1d% driving_car_with_model %2o% +00DF=1, actor %1d% driving +00E1=2, player %1d% pressed_key %2d% +00e2=3,get_player %1d% key %2d% state_to %3d% +00ec=6, actor %1d% sphere %6d% near_point %2d% %3d% radius %4d% %5d% +00ed=6, actor %1d% sphere %6d% near_point %2d% %3d% radius %4d% %5d% on_foot +00EE=6, actor %1d% sphere %6d% near_point %2d% %3d% radius %4d% %5d% in_car +00ef=6, actor %1d% sphere %6d% near_point %2d% %3d% radius %4d% %5d% stopped +00f0=6, actor %1d% %6d% near_point %2d% %3d% radius %4d% %5d% stopped_on_foot +00f1=6, actor %1d% sphere %6d% near_point %2d% %3d% radius %4d% %5d% stopped_in_car +00F2=5, actor %1d% near_actor %2d% radius %3d% %4d% %5h% +00F3=5, actor %1d% near_actor %2d% radius %3d% %4d% sphere %5h% on_foot +00F4=5, actor %1d% near_actor %2d% radius %3d% %4d% %5h% in_car +00fe=8, actor %1d% sphere %8d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% +00ff=8, actor %1d% sphere %8d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% on_foot +0100=8, actor %1d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8h% in_car +0101=8, actor %1d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8h% stopped +0102=8, actor %1d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8h% stopped_on_foot +0103=8, actor %1d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% sphere %8d% stopped_in_car +0104=6, actor %1d% near_actor %2d% radius %3d% %4d% %5d% sphere %6h% +0105=6, actor %1d% near_actor %2d% radius %3d% %4d% %5d% sphere %6h% on_foot +0106=6, actor %1d% near_actor %2d% radius %3d% %4d% %5d% %6h% in_car +0107=5,%5d% = create_object %1o% at %2d% %3d% %4d% +0108=1,destroy_object %1d% +0109=2,player %1d% money = %2d% +010a=2, player %1d% money > %2d% +010B=2,%2d% = player %1d% money +010C=0,NOP +010d=2,set_player %1d% wanted_level_to %2d% +010e=2,set_player %1d% minimum_wanted_level_to %2d% +010F=2, player %1d% wanted_level > %2d% +0110=1,clear_player %1d% wanted_level +0111=1,set_wasted_busted_check %1d% +0112=0, wasted_or_busted ; mission only +0114=3,set_actor %1d% weapon %2h% add_ammo %3d% +0117=1, player %1d% wasted +0118=1, actor %1d% dead +0119=1, car %1d% wrecked +0122=1, player %1d% pressing_horn +0129=4,%4d% = create_actor_pedtype %2d% model %3o% in_car %1d% driverseat +0137=2, car %1d% model == %2o% +014B=13,%13d% = init_car_generator %5o% color %6d% %7d% force_spawn %8d% alarm %9d% door_lock %10d% min_delay %11d% max_delay %12d% at %1d% %2d% %3d% angle %4d% +014C=2,set_parked_car_generator %1d% cars_to_generate_to %2d% +014E=2,start_timer_at %1d% count_in_direction %2h% ; global_variable +014f=1,stop_timer %1d% +0151=1,remove_status_text %1d% +0154=2, actor %1d% in_zone %2g% +0158=3,camera_on_car %1d% mode %2d% switchstyle %3d% +0159=3,camera_on_ped %1d% mode %2d% switchstyle %3d% +015a=0,restore_camera +015b=3,shake_player_controller %1h% time %2d% intensity %3d% +015D=1,set_gamespeed %1d% +015f=6,set_camera_position %1d% %2d% %3d% rotation %4d% %5d% %6d% +0160=4,set_camera_point_at %1d% %2d% %3d% switchstyle %4d% +0161=4,%4d% = create_marker_above_car %1d% unused %2d% visibility %3d% +0162=0,NOP +0164=1,disable_marker %1d% +0165=2,set_marker %1d% color_to %2d% +0167=6,%6d% = create_marker_at %1d% %2d% %3d% color %4d% flag %5d% +0168=2,set_marker %1d% size %2d% +0169=3,set_fade_color_RGB %1d% %2d% %3d% +016a=2,fade %2d% time %1d% +016b=0, fading +016C=5,restart_if_wasted_at %1d% %2d% %3d% angle %4d% town_number %5h% +016D=5,restart_if_busted_at %1d% %2d% %3d% angle %4d% town_number %5h% +016E=4,override_next_restart at %1d% %2d% %3d% angle %4d% +016f=10,create_particle %1d% rotation_factor %5d% size %6d% intensity %7d% flags %8d% %9d% %10d% at %2d% %3d% %4d% +0172=2,%2d% = actor %1d% Z_angle +0173=2,set_actor %1d% Z_angle_to %2d% +0174=2,%2d% = car %1d% Z_angle +0175=2,set_car %1d% Z_angle_to %2d% +0176=2,%2d% = object %1d% Z_angle +0177=2,set_object %1d% Z_angle_to %2d% +0179=2, actor %1d% colliding_with_object %2d% +017b=3,set_actor %1d% weapon %2d% ammo_to %3d% +0180=1,set_on_mission_flag_to %1d% ; Note: your missions have to use the variable defined here +0184=2, actor %1d% health >= %2d% +0185=2, car %1d% health >= %2d% +0186=2,%2d% = create_marker_above_car %1d% +0187=2,%2d% = create_marker_above_actor %1d% +0188=2,%2d% = create_marker_above_object %1d% +018a=4,%4d% = create_checkpoint_at %1d% %2d% %3d% +018b=2,set_marker %1d% radar_mode %2d% +018c=4,play_sound %4d% at %1d% %2d% %3d% +018d=5,NOP %5d% %4d% %1d% %2d% %3d% +018e=1,stop_sound %1d% +018F=1, car %1d% flipped_for_2_seconds +0190=1,add_car %1d% to_flipped_check ; 6 max +0191=1,remove_car %1d% from_flipped_check +01A1=6, actor %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% on_foot +01a2=6, actor %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% in_car +01a3=6, actor %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% stopped +01A4=6, actor %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% stopped_on_foot +01A5=6, actor %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% stopped_in_car +01a6=8, actor %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% on_foot +01a7=8, actor %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% in_car +01a8=8, actor %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% stopped +01a9=8, actor %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% stopped_on_foot +01AA=8, actor %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% stopped_in_car +01AB=6, car %1d% sphere %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% stopped +01AC=8, car %1d% sphere %8d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% stopped +01AD=6, car %1d% sphere %6d% near_point %2d% %3d% radius %4d% %5d% +01AE=6, car %1d% sphere %6d% near_point %2d% %3d% radius %4d% %5d% stopped +01AF=8, car %1d% sphere %8d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% +01B0=8, car %1d% sphere %8d% in_sphere %2d% %3d% %4d% radius %5d% %6d% %7d% stopped +01B2=3,give_actor %1d% weapon %2d% ammo %3d% ; Load the weapon model before using this +01B4=2,set_player %1d% can_move %2d% +01B5=1,force_weather %1d% +01B6=1,set_weather %1d% +01B7=0,release_weather +01B9=2,set_actor %1d% armed_weapon_to %2d% +01bb=4,store_object %1d% position_to %2d% %3d% %4d% +01bc=4,put_object %1d% at %2d% %3d% %4d% +01bd=1,%1d% = current_time_in_ms +01c0=2,%2d% = player %1d% wanted_level +01c1=1, car %1d% stopped +01C2=1,remove_references_to_actor %1d% ; Like turning an actor into a random pedestrian +01C3=1,remove_references_to_car %1d% +01c4=1,remove_references_to_object %1d% ; This object will now disappear when the player looks away +01C5=1,remove_actor_from_mission_cleanup_list %1d% +01c7=1,remove_object_from_mission_cleanup_list %1d% +01c8=5,%5d% = create_actor_pedtype %2d% model %3o% in_car %1d% passenger_seat %4d% +01E3=4,show_text_1number_styled GXT %1g% number %2d% time %3d% style %4d% +01e4=4,show_text_1number_lowpriority GXT %1g% number %2d% time %3d% flag %4d% +01e5=4,show_text_1number_highpriority GXT %1g% number %2d% time %3d% flag %4d% +01e7=6,remove_forbidden_for_cars_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% +01e8=6,create_forbidden_for_cars_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% +01E9=2,%2d% = car %1d% num_passengers +01ea=2,%2d% = car %1d% max_passengers +01eb=1,set_traffic_density_multiplier_to %1d% +01EC=2,make_car %1d% very_heavy %2h% +01f0=1,set_max_wanted_level_to %1d% +01F3=1, car %1d% in_air +01F4=1, car %1d% flipped +01F5=2,%2d% = get_player_actor %1d% +01f6=0,cancel_override_restart +01f7=2,set_player %1d% ignored_by_cops %2d% +01f9=9,init_rampage_gxt %1g% weapon %2d% time_limit %3d% targets %4d% target_models %5d% %6d% %7d% %8d% completed_text %9d% +01FA=1,%1d% = rampage_status +01fb=2,%2d% = square_root %1d% +0202=5, actor %1d% near_car %2d% radius %3d% %4d% sphere %5d% +0203=5, actor %1d% near_car %2d% radius %3d% %4d% flag %5d% on_foot +0204=5, actor %1d% near_car %2d% radius %3d% %4d% sphere %5d% in_car +0205=6, actor %1d% near_car %2d% radius %3d% %4d% %5d% flag %6h% +0206=6, actor %1d% near_car %2d% radius %3d% %4d% %5d% flag %6h% on_foot +0207=6, actor %1d% near_car %2d% radius %3d% %4d% %5d% flag %6h% in_car +0208=3,%3d% = random_float_in_ranges %1d% %2d% +0209=3,%3d% = random_int_in_ranges %1d% %2d% +020a=2,set_car %1d% door_status_to %2d% +020b=1,explode_car %1d% +020c=4,create_explosion_with_radius %4d% at %1d% %2d% %3d% +020d=1, car %1d% flipped +0213=6,%6d% = create_pickup %1o% type %2d% at %3d% %4d% %5d% +0214=1, pickup %1d% picked_up +0215=1,destroy_pickup %1d% +0216=2,enable_taxi %1d% light %2d% +0217=3,show_text_styled GXT %1g% time %2d% style %3d% ; versionB +021b=2,set_garage %1d% to_accept_only_car %2d% +0221=2,set_player %1d% apply_brakes_to_car %2d% +0223=2,set_actor %1d% health_to %2d% +0224=2,set_car %1d% health_to %2d% +0226=2,%2d% = actor %1d% health +0227=2,%2d% = car %1d% health +0229=3,set_car %1d% primary_color_to %2d% secondary_color_to %3d% +022a=6,remove_forbidden_for_peds_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% +022b=6,create_forbidden_for_peds_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% +0235=3,NOP %1d% %2o% %3o% +0236=2,NOP %1d% %2o% +0237=4,set_gang %1h% weapons_to %2h% %3h% %4h% +023b=2, actor %1d% colliding_with_object %2d% +023c=2,load_special_actor %2d% as %1d% ; models 290-299 +023D=1, special_actor %1d% loaded +0241=1, player %1d% in_remote_mode +0244=3,set_cutscene_pos %1d% %2d% %3d% +0245=2,set_actor %1d% walk_style_to %2d% +0247=1,load_model %1o% +0248=1, model %1o% available +0249=1,release_model %1o% +024F=9,create_corona_with_radius %4d% type %5d% lensflares %6d% with_color %7d% %8d% %9d% at %1d% %2d% %3d% +0253=0,save_current_time +0254=0,restore_current_time +0256=1, player %1d% defined +0293=1,%1d% = get_controller_mode +0294=2,set_car %1d% sprayable %2d% +0296=1,unload_special_actor %1d% +0297=1,reset_player %1d% destroyed_model_counters +0298=3,get_player %1d% destroyed_model %2o% quantity_to %3d% +0299=1,activate_garage %1d% +029b=5,%5d% = init_object %1o% at %2d% %3d% %4d% +02A0=1, actor %1d% stopped +02a3=1,enable_widescreen %1d% +02A4=0,NOP +02A5=0,NOP +02a7=5,%5d% = create_icon_marker_and_sphere %4d% at %1d% %2d% %3d% +02a8=5,%5d% = create_marker %4d% at %1d% %2d% %3d% +02a9=2,set_actor %1d% immune_to_nonplayer %2d% +02aa=2,set_car %1d% immune_to_nonplayer %2d% +02ab=6,set_actor %1d% immunities BP %2d% FP %3d% EP %4d% CP %5d% MP %6d% +02ac=6,set_car %1d% immunities BP %2d% FP %3d% EP %4d% CP %5d% MP %6d% +02B9=1,deactivate_garage %1d% +02bf=1, car %1d% sunk +02c0=6,store_to %4d% %5d% %6d% ped_path_coords_closest_to %1d% %2d% %3d% +02c1=6,store_to %4d% %5d% %6d% car_path_coords_closest_to %1d% %2d% %3d% +02c2=4,car %1d% drive_to %2d% %3d% %4d% +02ca=1, car %1d% bounding_sphere_visible +02cb=1, actor %1d% bounding_sphere_visible +02CC=1, object %1d% bounding_sphere_visible +02ce=4,%4d% = ground_z_at %1d% %2d% %3d% +02CF=6,%6d% = create_fire_at %1d% %2d% %3d% propagation %4h% size %5h% +02d0=1, fire %1d% extinguished +02D1=1,remove_fire %1d% +02d3=4,boat %1d% sail_to %2d% %3d% %4d% +02d4=1,car %1d% turn_off_engine +02D6=6, actor %1d% fires_weapon %6d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% +02d8=2, actor %1d% current_weapon == %2d% +02DB=2,set_boat %1d% speed_to %2d% +02DD=5,%5d% = get_random_ped_in_zone %1s% with_pedtype_civilian %2h% gang %3h% criminal/prostitute %4h% +02E0=1, actor %1d% firing_weapon +02E1=6,%6d% = create_cash_pickup %4d% at %1d% %2d% %3d% permanence_flag %5d% +02e2=2,set_actor %1d% weapon_accuracy_to %2d% +02e3=2,%2d% = car %1d% speed +02e4=1,load_cutscene_data %1s% +02E5=0,NOP +02E6=0,NOP +02e7=0,start_cutscene +02e8=1,%1d% = cutscenetime +02e9=0, cutscene_reached_end +02ea=0,end_cutscene +02eb=0,restore_camera_with_jumpcut +02ec=3,NOP %1d% %2d% %3d% +02ed=1,set_total_hidden_packages_to %1d% +02ee=6, projectile_in_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% +02F2=2, actor %1d% model == %2o% +02F3=0,NOP +02F6=2,%2d% = sine %1d% ; (float) +02F7=2,%2d% = cosine %1d% ; (float) +02f8=2,get_car %1d% Z_angle_sine_to %2d% +02f9=2,get_car %1d% Z_angle_cosine_to %2d% +02fa=2,set_garage %1d% type %2d% +02fd=5,show_text_2numbers_lowpriority GXT %1g% numbers %2d% %3d% time %4d% flag %5d% +02FF=6,show_text_3numbers GXT %1g% numbers %2d% %3d% %4d% time %5d% flag %6h% +0302=7,show_text_4numbers GXT %1g% numbers %2d% %3d% %4d% %5d% time %6d% flag %7d% +0303=7,show_text_4numbers_highpriority GXT %1g% numbers %2d% %3d% %4d% %5d% time %6d% flag %7d% +0308=9,show_text_6numbers GXT %1g% numbers %2d% %3d% %4d% %5d% %6d% %7d% time %8d% flag %9d% +030c=1,progress_made = %1d% +030d=1,set_max_progress %1d% +0317=0,increment_mission_attempts +0318=1,set_latest_mission_passed %1g% +0319=0,NOP +031a=0,remove_all_fires +031d=2, actor %1d% hit_by_weapon %2d% +031E=2, car %1d% hit_by_weapon %2h% +0321=1,AS_actor %1d% die_headshotted +0323=2,enable_boat %1d% anchor %2d% +0325=2,%2d% = create_car %1d% fire +0326=2,%2d% = create_actor %1d% fire +0327=6,%6d% = get_random_car_with_model %5d% in_rectangle_cornerA %1d% %2d% cornerB %3d% %4d% +0329=0,NOP +032A=1,set_behind_camera_mode_to %1h% +032b=7,%7d% = create_weapon_pickup %1o% type %2d% ammo %3d% at %4d% %5d% %6d% +032c=0,NOP +0330=2,set_player %1d% infinite_run %2d% +0331=2,set_player %1d% fast_reload %2d% +0332=2,set_actor %1d% bleeding %2d% +0335=1,enable_free_respray %1d% +0337=2,set_actor %1d% visibility %2h% +0338=2,set_car %1d% visibility %2h% +0339=11, anything_in_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% solid %7d% car %8d% actor %9d% object %10d% particle %11d% +033e=3,set_draw_text_position %1d% %2d% GXT %3g% +033f=2,set_text_draw_letter_size %1d% %2d% +0340=4,set_text_draw_RGBA %1d% %2d% %3d% %4d% +0341=1,set_text_draw_align_justify %1d% +0342=1,set_text_draw_centered %1d% +0343=1,set_text_draw_linewidth %1d% +0344=1,set_text_draw_linewidth %1d% for_centered_text +0345=1,enable_text_draw_background %1d% +0348=1,enable_text_draw_proportional %1d% +0349=1,set_text_draw_font %1d% +034d=4,rotate_object %1d% from_angle %2d% to_angle %3d% flag %4d% +034e=8,move_object %1d% to %2d% %3d% %4d% speed %5d% %6d% %7d% collision_check %8d% +034f=1,destroy_actor_with_fade %1d% +0350=2,set_actor %1d% maintain_position_when_attacked %2d% +0356=7, explosion_type %1d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% +035c=5,place_object %1d% relative_to_car %2d% with_offset %3d% %4d% %5d% +035D=2,set_object %1d% targetable %2h% +035f=2,actor %1d% armour += %2d% +0360=1,open_garage %1d% +0361=1,close_garage %1d% +0362=4,remove_actor %1d% from_car_and_place_at %2d% %3d% %4d% +0363=6,create_static_object_at %1d% %2d% %3d% radius %4d% model %5o% visibility %6d% +0364=2, actor %1d% spotted_actor %2d% +0366=1, object %1d% damaged +036a=2,put_actor %1d% in_car %2d% +036D=5,show_text_2numbers_styled GXT %1g% numbers %2d% %3d% time %4d% style %5d% +0373=0,set_camera_directly_behind_player +0376=4,%4d% = create_random_actor_at %1d% %2d% %3d% +037E=0,NOP +0381=4,throw_object %1d% velocity_in_direction %2d% %3d% %4d% +0382=2,set_object %1d% collision_detection %2d% +0383=0,NOP +0384=4,show_text_1string GXT %1g% string %2g% time %3d% %4d% +038a=6, any_car_in_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% +038B=0,load_requested_models +038c=4,object %1d% scatter %2d% %3d% %4d% +038D=9,draw_texture %1h% position %2d% %3d% size %4d% %5d% RGBA %6d% %7d% %8d% %9d% +038E=8,draw_box_position %1d% %2d% size %3d% %4d% RGBA %5h% %6h% %7h% %8d% +038F=2,load_texture %2h% as %1d% ; Load dictionary with 0390 first +0390=1,load_txd_dictionary %1h% +0391=0,release_textures +0392=2,make_object %1d% moveable %2d% +0393=3,actor %1d% perform_animation %2h% at %3d% times_normal_rate +0394=1,play_music %1d% +0395=5,clear_area %5d% at %1d% %2d% %3d% radius %4d% +0396=1,pause_timer %1d% +0397=2,enable_car %1d% siren %2d% +039c=2,set_car %1d% watertight %2h% +039e=2,set_actor %1d% locked %2d% while_in_car +039f=3,set_car %1d% race_to %2d% %3d% +03A1=4,show_sphere_at %1d% %2d% %3d% radius %4d% +03a2=2,set_car %1d% action %2h% +03a3=1, actor %1d% male +03A4=1,name_thread %1s% +03A7=1,save_int_to_debug_file %1d% +03A8=1,save_float_to_debug_file %1d% +03A9=0,save_newline_to_debug_file +03AA=3,NOP %1d% %2d% %3d% ; play_suspect_last_seen_at +03AB=2,set_car %1d% strong %2d% +03Ad=1,NOP %1d% ; set_rubbish +03af=1,enable_streaming %1d% +03b0=1, garage %1d% door_open +03b1=1, garage %1d% door_closed +03b6=6,replace_model_at %1d% %2d% %3d% radius %4d% from %5o% to %6o% +03b7=1,process_cutscene_only %1d% +03ba=6,clear_cars_from_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% +03bc=5,%5d% = create_sphere_at %1d% %2d% %3d% radius %4d% +03bd=1,destroy_sphere %1d% +03bf=2,set_player %1d% ignored_by_everyone %2d% +03C0=2,%2d% = actor %1d% car +03C3=3,set_timer_to %1d% type %2h% GXT %3g% ; global_variable +03c4=3,set_status_text %1d% type %2d% GXT %3g% ; global_variable +03c5=4,create_random_car_for_carpark %1d% %2d% %3d% z_angle %4d% +03C7=1,set_sensitivity_to_crime %1d% +03C8=0,set_camera_directly_before_player +03c9=1, car %1d% damaged +03ca=1, object %1d% exists +03cb=3,set_rendering_origin_at %1d% %2d% %3d% +03cc=3,enable_car %1d% stuck_check_distance_to %2d% time_to %3d% +03cd=1,disable_car %1d% stuck_check +03ce=1, car %1d% stuck +03CF=2,load_wav %2s% as %1d% +03D0=1, wav %1d% loaded +03D1=1,play_wav %1d% +03D2=1, wav %1d% ended +03d3=7,get_route_nearest_for %1d% %2d% %3d% store_to %4d% %5d% %6d% Z_angle_to %7d% +03d4=0,NOP +03D5=1,remove_text %1g% +03d6=1,remove_styled_text %1g% +03D7=4,set_wav %1h% location %2d% %3d% %4d% +03d8=0,show_save_screen +03d9=0, save_done +03DA=0,NOP +03dc=2,%2d% = create_marker_above_pickup %1d% +03de=1,set_pedestrians_density_multiplier_to %1d% +03E0=1,draw_text_behind_textures %1h% +03E1=0,NOP +03E3=1,set_texture_to_be_drawn_antialiased %1h% +03E4=1,set_text_draw_align_right %1h% +03E5=1,show_text_box %1g% +03e6=0,remove_text_box +03E7=1,flash_hud_component %1d% +03e8=0,NOP +03ea=0,NOP +03eb=0,clear_small_messages_only +03ed=2,set_car %1d% disable_flipped_explosion_when_empty %2h% +03ee=1, player %1d% controllable +03ef=1,player %1d% make_safe +03f0=1,enable_text_draw %1d% +03f3=3,get_car %1d% primary_color_to %2d% secondary_color_to %3d% +03f4=1,set_all_cars_apply_damage_rules %1d% +03F5=2,set_car %1d% apply_damage_rules %2h% +03FD=2,set_player %1d% handling_responsiveness %2d% +03FE=2,set_actor %1d% money %2d% +0400=7,store_coords_to %5d% %6d% %7d% from_object %1d% with_offset %2d% %3d% %4d% +0407=7,store_coords_to %5d% %6d% %7d% from_car %1d% with_offset %2d% %3d% %4d% +0409=0,NOP +040b=0,NOP +040c=0, is_german_game +040D=1,unload_wav %1d% +0414=2,set_player %1d% free_treatment_once %2d% +0416=0,NOP +0417=1,start_mission %1d% +0418=2,set_object %1d% draw_last %2h% +041A=3,%3d% = actor %1d% weapon %2h% ammo +041d=1,set_camera_near_clip %1d% +041E=1,set_radio_station %1h% +0423=2,set_car %1d% improved_handling_to %2d% ; (float) +0424=0, is_system_metric +0425=2,%2d% = meters %1d% to_feet +0428=2,set_car %1d% avoid_level_transitions %2d% +042b=6,clear_peds_from_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% +042c=1,set_total_missions_to %1d% +042d=2,%2d% = metric %1d% to_imperial +042E=2,downdate_integer_stat %1h% to %2d% ; same as 0582 +042f=0,NOP +0430=3,put_actor %1d% into_car %2d% passenger_seat %3h% +0431=2, car %1d% passenger_seat_free %2d% +0432=3,%3d% = get_actor_handle_from_car %1d% passenger_seat %2h% +0433=2,set_actor %1d% criminal_flag %2h% +0434=0,show_credits +0435=0,end_credits +0436=0, credits_ended +043c=1,disable_sounds_after_fadeout %1d% +043e=0,NOP +043f=0,NOP +0440=0,NOP +0441=2,%2d% = car %1d% model +0445=0, are_car_cheats_used +0446=2,set_actor %1d% dismemberment_possible %2d% +0448=2, actor %1d% in_car %2d% +0449=1, actor %1d% in_a_car +044b=1, actor %1d% on_foot +044d=0,NOP +0450=0,NOP +0451=0,NOP +0453=4,set_object %1d% XYZ_rotation %2d% %3d% %4d% +0454=3,store_debug_camera_position_to %1d% %2d% %3d% +0457=2, player %1d% aiming_at_actor %2d% +0458=2, player %1d% aiming_at_object %2d% +0459=1,end_thread_named %1s% +045A=4,draw_text_1number %1d% %2d% GXT %3g% number %4d% +045B=5,draw_text_2numbers %1d% %2d% GXT %3g% numbers %4d% %5d% +045C=0,abort_mission +045D=0,NOP +0460=2,set_camera_transverse_delay %1d% time %2d% +0463=3,store_debug_camera_target_point_to %1d% %2d% %3d% +0464=8,put_actor %1d% into_turret_on_car %2d% at_car_offset %3d% %4d% %5d% position %6h% shooting_angle_limit %7d% with_weapon %8h% +0465=1,remove_actor %1d% from_turret_mode +0466=2,unknown_car %1d% flag %2h% +0467=1,clear_actor %1d% last_weapon_damage +0468=1,clear_car %1d% last_weapon_damage +0469=0,NOP +046C=2,%2d% = car %1d% driver +046D=2,%2d% = actor %1d% members_in_group +046E=6,put_player %1d% in_RC_mode_at %2d% %3d% %4d% angle %5d% RC_model %6o% +0470=2,%2d% = actor %1d% current_weapon +0471=5, actor %1d% near_object_in_rectangle %2d% radius %3d% %4d% sphere %5h% +0472=5, actor %1d% near_object_in_rectangle %2d% radius %3d% %4d% sphere %5h% on_foot +0473=5, actor %1d% near_object_in_rectangle %2d% radius %3d% %4d% sphere %5h% in_car +0474=6, actor %1d% near_object_in_cube %2d% radius %3d% %4d% %5d% sphere %6h% +0475=6, actor %1d% near_object_in_cube %2d% radius %3d% %4d% %5d% sphere %6h% on_foot +0476=6, actor %1d% near_object_in_cube %2d% radius %3d% %4d% %5d% sphere %6h% in_car +0477=3,set_car %1d% action %2h% time %3d% +047A=1, actor %1d% driving_bike +0480=2, actor %1d% looking_at_death_of_actor_pedtype %2h% +0481=0,NOP +0482=0,NOP +0484=2,%2d% = player %1d% RC_car +0485=0, return_true +0488=1, model %1o% exists ; versionA +0489=2,set_actor %1d% muted %2h% +048A=1,set_RC_car_detonation %1h% ; or opcode 04D6 +048B=2,set_car %1d% route_seed %2d% +048C=3, pickup_at %1d% %2d% %3d% available_to_be_picked_up +048F=1,actor %1d% remove_weapons +0491=2, actor %1d% has_weapon %2d% +0493=0,NOP +0494=5,get_joystick %1h% direction_offset_to %2d% %3d% %4d% %5d% +0495=1, car %1d% burning +0496=2, tire %2h% on_car %1d% deflated +049C=0,NOP +049E=0,NOP +049F=0,NOP +04A1=0,NOP +04A2=6,set_heli %1d% fly_to %2d% %3d% %4d% altitude_between %5h% and %6h% +04A3=2, %1d% == %2h% ; == constant +04A4=2, %1d% == %2h% ; == constant +04A5=4,get_dead_actor_pickup_coords %1d% store_to %2d% %3d% %4d% +04A6=6,%6d% = create_asset_money_pickup_at %1d% %2d% %3d% money %4d% %5d% +04A7=1, actor %1d% driving_boat +04A9=1, actor %1d% driving_heli +04AB=1, actor %1d% driving_plane +04AD=1, actor %1d% in_water +04AE=2,%1d% = %2d% ; = constant +04AF=2,%1d% = %2d% ; = constant +04B0=2, %1d% > %2d% ; $ > constant +04B1=2, %1d% > %2d% ; @ > constant +04B2=2, %1d% > %2d% ; constant > $ +04B3=2, %1d% > %2d% ; constant > @ +04B4=2, %1d% >= %2d% ; $ >= constant +04B5=2, %1d% >= %2d% ; @ >= constant +04B6=2, %1d% >= %2d% ; constant >= $ +04B7=2, %1d% >= %2d% ; constant >= @ +04B8=5,get_weapon_data_from_actor %1d% slot %2h% weapon %3d% ammo %4d% model %5d% +04B9=12,unknown_get_at %1d% %2d% %3d% height %4d% radius %5d% store_to %6d% %7d% %8d% %9d% %10d% %11d% %12d% +04BA=2,set_car %1d% speed_to %2d% +04BB=1,select_interior %1h% +04BC=0,NOP +04BD=2,set_car %1d% is_part_of_convoy %2h% +04BE=0,NOP +04BF=0,NOP +04C0=7,create_roadblock_in_area_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% type %7h% +04C1=0,remove_references_to_roadblocks +04C4=7,store_coords_to %5d% %6d% %7d% from_actor %1d% with_offset %2d% %3d% %4d% +04C5=1, actor %1d% photographed +04C7=0,NOP +04C8=1, actor %1d% driving_flying_vehicle +04CE=5,%5d% = create_icon_marker %4d% at %1d% %2d% %3d% +04D0=2,force_heli %1d% looking_angle_to %2d% +04D1=1,reset_heli %1d% looking_angle +04D2=6,set_plane %1d% fly_autopilot_around_point %2d% %3d% %4d% altitude_between %5h% and %6h% +04D3=7,get_nearest_car_path_coords_from %1d% %2d% %3d% type %4h% store_to %5d% %6d% %7d% +04D5=9,create_corona_at %1d% %2d% %3d% radius %4d% type %5h% flare %6h% RGB %7d% %8h% %9h% +04D6=1,enable_RC_car_detonation %1h% +04D7=2,set_actor %1d% locked %2h% +04D8=2,set_actor %1d% drowns_in_water %2h% +04D9=2,object %1d% set_scripted_collision_check %2h% +04DA=1, has_object %1d% collided +04DB=0,exit_RC_mode ; on foot version +04DD=2,%2d% = actor %1d% armour +04DF=2,set_heli %1d% lean_and_thrust_limiter %2h% +04E0=2,car %1d% abandon_path_radius %2h% +04E1=1,open_and_freeze_car_trunk %1d% +04E2=2,NOP %1d% %2h% +04E3=3,unknown_set_player %1d% flag %2h% time %3d% +04E4=2,refresh_game_renderer_at %1d% %2d% +04E5=6, object %1d% near_point %2d% %3d% radius %4d% %5d% sphere %6h% +04E6=8, object %1d% near_point %2d% %3d% %4d% radius %5d% %6d% %7d% flag %8h% +04E7=1, object %1d% in_water +04E9=6, object %1d% in_rectangle_cornerA %2d% %3d% cornerB %4d% %5d% sphere %6d% +04EA=8, object %1d% in_cube_cornerA %2d% %3d% %4d% cornerB %5d% %6d% %7d% flag %8h% +04EB=2,AS_actor %1d% crouch %2h% +04ED=1,load_animation %1s% +04EE=1, animation %1s% loaded +04EF=1,release_animation %1s% +04F0=1, is_actor_waiting_for_world_collision %1d% +04F1=1, is_car_waiting_for_world_collision %1d% +04F4=8,put_actor %1d% into_turret_on_object %2d% offset_from_object_origin %3d% %4d% %5d% orientation %6h% both_side_angle_limit %7d% lock_weapon %8h% +04F5=0,NOP +04F7=4,status_text %1d% type %2h% line %3h% GXT %4g% ; global_variable +04F8=13,define_police_trigger_type %1h% if_player_with_wanted_level_in_rectangle %2d% %3d% %4d% %5d% spawn_policeA_at %6d% %7d% headed_towards %8d% %9d%spawn_policeB_at %10d% %11d% headed_towards %12d% %13d% +04F9=2,set_sky_color %1h% fade %2h% +04FA=1,reset_sky_colors_with_fade %1h% +04FC=7,store_player_stunt_data %1d% two_wheels: %2d% %3d% wheelie: %4d% %5d% stoppie: %6d% %7d% +04FE=2,deflate_tire %2h% on_car %1d% +0500=3, player %1d% skin == %3s% on_bodypart %2h% +0501=2,set_player %1d% driveby_mode %2h% +0503=6,create_actor_on_rope_with_pedtype %1h% model %2o% at %3d% %4d% %5d% handle_as %6d% +0506=3,set_car_model %1o% next_variation %2h% %3h% ; first param is useless +0507=0,NOP +0508=1,car %1d% close_all_doors +0509=5,%5d% = distance_between_XY %1d% %2d% and_XY %3d% %4d% +050A=7,%7d% = distance_between_XYZ %1d% %2d% %3d% and_XYZ %4d% %5d% %6d% +050B=0,NOP +050E=2,set_object %1d% no_collision_with_car %2d% +050F=1,get_max_wanted_level_to %1d% +0512=1,show_permanent_text_box %1g% +0513=2,show_text_box_1number %1g% number %2d% +0515=0,NOP +0517=5,%5d% = create_unavailable_asset_pickup %4g% at %1d% %2d% %3d% +0518=6,%6d% = create_available_asset_pickup %5g% at %1d% %2d% %3d% price %4d% +0519=2,set_car %1d% locked %2h% +051A=2, actor %1d% damaged_by_actor %2d% +051B=2, actor %1d% damaged_by_car %2d% +051C=2, car %1d% damaged_by_actor %2d% +051D=2, car %1d% damaged_by_car %2d% +051E=1,%1d% = get_current_radio_station +0521=0,NOP +0522=0,NOP +0523=0,NOP +0524=0,NOP +0525=0,NOP +0526=2,set_actor %1d% stay_in_car_when_jacked %2d% +052C=2,set_player %1d% drunk_visuals %2d% +053E=6,%6d% = get_random_car_with_model %5d% in_rectangle_cornerA %1d% %2d% cornerB %3d% %4d% +053F=2,set_car %1d% tires_vulnerability %2h% +0540=0,NOP +0541=1,car %1d% enable_guns_sound +0545=0,NOP +0547=2, actor %1d% colliding_with_car %2d% +0548=0,NOP +054A=2,set_actor %1d% can_be_shot_in_a_car %2h% +054B=0,NOP +054C=1,use_GXT_table %1s% +054D=0,NOP +054E=1,clear_actor %1d% damage +054F=1,clear_car %1d% damage +0550=2,keep_object %1d% in_memory %2h% +0551=0,NOP +0552=0,NOP +0555=2,remove_weapon %2h% from_actor %1d% +0557=0,NOP +055B=0,NOP +055D=2,make_player %1d% fireproof %2h% +055E=2,set_player %1d% max_health += %2h% +055F=2,set_player %1d% max_armour += %2h% +0560=2,create_random_actor_in_car %1d% handle_as %2d% +0561=3,%3d% = create_passenger_in_car %1d% seat %2h% +0563=2,give_player %1d% ammo %2d% +0564=1,heli %1d% simulate_crash_landing +0565=4,create_soundless_explosion_at %1d% %2d% %3d% type %4h% +0566=2,link_object %1d% to_interior %2d% +0568=2,set_actor %1d% untargetable %2h% +0569=0,NOP +056A=0, cutscene_skipped +056C=1, actor %1d% driving_police_car +056D=1, actor %1d% defined +056E=1, car %1d% defined +0570=5,%5d% = create_asset_radar_marker_with_icon %4h% at %1d% %2d% %3d% +0572=1,toggle_taxi_nitros %1h% +0574=2,set_car %1d% keep_position %2h% +0575=2,set_actor %1d% keep_position %2d% +057B=0,NOP +057D=0,NOP +057E=1,set_radar_grey %1h% +057F=0,NOP +0581=1,enable_radar %1d% +0582=2,downdate_integer_stat %1h% to %2d% ; same as 042E +0583=2, player %1d% in_zone %2s% +0585=0,NOP +0587=2,enable_car %1d% validate_position %2h% +0588=2,disable_actor %1d% validate_position %2h% +058A=6,create_gun_flash_from %1d% %2d% %3d% to %4d% %5d% %6d% +058C=1,%1d% = percentage_completed +058D=0,NOP +058E=0,NOP +0591=0,NOP +0592=0,NOP +0594=2,unknown_car %1d% flag %2h% +0595=0,mission_complete +0596=1, NOP_false %1d% +0597=1, actor %1d% crouching +059A=0, return_false +059B=0,NOP +059C=2,enable_status_text %1d% flashing %2h% ; global_variable +059D=1,shuffle_card_decks %1d% +059E=1,get_card_to %1d% +059F=4,get_object %1d% velocity_in_direction %2d% %3d% %4d% +05A0=0, is_unused_camera_world_viewer_being_used +05A1=4,set_object %1d% rotation_velocity_about_an_axis %2d% %3d% %4d% through_center_of_body +05A2=4,set_object %1d% rotation_velocity_about_an_axis %2d% %3d% %4d% through_center_of_mass +05A3=1, object %1d% stopped +05A4=5,get_angle_between_vectors_origin_to %1d% %2d% and_origin_to %3d% %4d% store_to %5d% +05A5=8, is_area_center %1d% %2d% scale %3d% %4d% overlaping_area_center %5d% %6d% scale %7d% %8d% +05A6=4,get_object %1d% rotation_velocity_about_an_axis_X %2d% axis_Y %3d% axis_Z %4d% through_center_of_body +05A7=4,set_object %1d% velocity_in_direction_X %2d% direction_Y %3d% direction_Z %4d% +05A8=2,get_object %1d% speed_to %2d% +05A9=2,%1d% = %2g% ; s$ +05AA=2,%1d% = %2g% ; @s = 'short' +05AD=2, %1d% == %2g% ; s$ == short +05AE=2, %1d% == %2g% ; @s == 'short' +05B0=10, unknown_calculate %1d% %2d% %3d% and %4d% %5d% %6d% %7d% %8d% store_to %9d% %10d% // IF and SET +05B1=0,NOP +05B2=0,NOP +05B3=0,NOP +05B5=0,NOP +05B6=0,skip_next_128_bytes +05B7=0,NOP +05B8=0,NOP +05B9=2,AS_actor %1h% stay_idle %2h% ms +05BA=2,AS_actor %1d% move_mouth %2h% ms +05BB=3,AS_actor %1h% fall_down %2h% time_on_ground %3d% +05BC=2,AS_actor %1h% jump %2h% +05BD=2,AS_actor %1d% tired %2d% ms +05BE=1,AS_actor %1d% die +05BF=3,AS_actor %1d% look_at_actor %2d% %3d% ms +05C0=3,AS_actor %1d% look_at_car %2d% %3d% ms +05C1=2,AS_actor %1h% speak_from_audio_table %2d% +05C2=1,AS_actor %1d% show_the_finger +05C3=1,AS_actor %1d% hands_cower +05C4=2,AS_actor %1d% hands_up %2d% ms +05C5=2,AS_actor %1d% cower %2h% ms +05C6=0,NOP +05C7=1,AS_actor %1h% use_atm +05C8=1,AS_actor %1h% look_around +05C9=2,AS_actor %1h% on_guard %2d% ms +05CA=4,AS_actor %1d% enter_car %2d% passenger_seat %4h% time %3d% +05CB=3,AS_actor %1d% enter_car %2d% as_driver %3d% ms +05CC=0,NOP +05CD=2,AS_actor %1d% exit_car %2d% +05CE=0,NOP +05CF=5,AS_actor %1d% exit_car %2d% in_direction %3d% %4d% %5d% +05D0=0,NOP +05D1=9,AS_actor %1d% drive_car %2d% to %3d% %4d% %5d% speed %6d% %7h% model %8o% %9h% +05D2=4,AS_actor %1d% run_to_and_hijack_car %2d% max_search_radius %3d% traffic_behavior %4h% +05D3=6,AS_actor %1h% goto_point %2d% %3d% %4d% mode %5h% time %6d% ms ; versionA +05D4=2,AS_actor %1h% rotate_angle %2d% +05D5=0,NOP +05D6=0,clear_scmpath +05D7=3,add_point_to_scmpath %1d% %2d% %3d% +05D8=3,AS_assign_scmpath to_actor %1d% flags %2h% %3h% +05D9=4,AS_actor %1d% run_to_actor %2d% timelimit %3d% stop_within_radius %4d% +05DA=6,AS_actor %1d% run_away_in_panic_from %2d% %3d% %4d% away_radius %5d% timelimit %6d% +05DB=4,AS_actor %1h% flee_from_actor %2d% from_origin_radius %3d% timelimit %4h% +05DC=6,AS_actor %1d% run_away_from_point %2d% %3d% %4d% stop_at_radius %5d% timelimit %6d% +05DD=4,AS_actor %1d% flee_from_actor %2d% from_origin_radius %3d% timelimit %4d% +05DE=1,AS_actor %1d% walk_around_ped_path +05E2=2,AS_actor %1d% kill_actor %2d% +05E5=0,NOP +05E6=0,NOP +05E7=0,NOP +05E8=0,NOP +05E9=2,NOP %1d% %2d% +05EA=0,NOP +05EB=2,assign_car %1d% to_path %2d% +05EC=1,release_car %1d% from_path +05ED=1,freeze_car %1d% while_on_path +05EE=1,unfreeze_car %1d% while_on_path +05EF=0,NOP +05F0=0,NOP +05F1=2,set_car %1d% follow_car %2d% keep_9o_clock +05F2=2,set_car %1d% follow_car %2d% keep_3o_clock +05F3=2,set_car %1d% follow_car %2d% keep_6o_clock +05F4=2,set_car %1d% follow_car %2d% keep_12o_clock +05F5=6,AS_actor %1d% goto_point_using_paths %2d% %3d% %4d% mode %5h% time %6d% +05F6=7, actor %1d% in_rectangle_ll_corner_at %2d% %3d% lr_corner_at %4d% %5d% angle %6d% sphere %7h% +05F7=7, actor %1d% in_rectangle_ll_corner_at %2d% %3d% lr_corner_at %4d% %5d% angle %6d% sphere %7h% on_foot +05F8=7, actor %1d% in_rectangle_ll_corner_at %2d% %3d% lr_corner_at %4d% %5d% angle %6d% sphere %7h% in_car +05F9=7, actor %1d% in_rectangle_ll_corner_at %2d% %3d% lr_corner_at %4d% %5d% height %6d% flag %7h% stopped +05FA=7, actor %1d% in_rectangle_ll_corner_at %2d% %3d% lr_corner_at %4d% %5d% angle %6d% sphere %7h% stopped_on_foot +05FB=7, actor %1d% in_rectangle_ll_corner_at %2d% %3d% lr_corner_at %4d% %5d% height %6d% flag %7h% stopped_in_car +05FC=9, actor %1d% in_cube_fll_corner_at %2d% %3d% %4d% fur_corner_at %5d% %6d% %7d% angle %8d% sphere %9h% +05FD=9, actor %1d% in_cube_fll_corner_at %2d% %3d% %4d% fur_corner_at %5d% %6d% %7d% angle %8d% sphere %9h% on_foot +05FE=9, actor %1d% in_cube_fll_corner_at %2d% %3d% %4d% fur_corner_at %5d% %6d% %7d% depth %8d% flag %9h% in_car +05FF=9, actor %1d% in_cube_fll_corner_at %2d% %3d% %4d% fur_corner_at %5d% %6d% %7d% depth %8d% flag %9h% stopped +0600=9, actor %1d% in_cube_fll_corner_at %2d% %3d% %4d% fur_corner_at %5d% %6d% %7d% depth %8d% flag %9h% stopped_on_foot +0601=9, actor %1d% in_cube_fll_corner_at %2d% %3d% %4d% fur_corner_at %5d% %6d% %7d% depth %8d% flag %9h% stopped_in_car +0602=1, actor %1d% driving_taxi +0603=6,AS_actor %1d% goto_point_any_means %2d% %3d% %4d% mode %5h% use_car %6d% +0604=3,get_Z_angle_for_point %1d% %2d% store_to %3d% +0605=9,actor %1h% perform_animation %2h% IFP %3h% framedelta %4d% loop %5h% lockX %6h% lockY %7h% lockF %8h% time %9h% +0606=4,create_forbidden_for_scripted_cars_cornerA %1d% %2d% cornerB %3d% %4d% +0607=0,remove_forbidden_for_scripted_cars +0608=0,NOP +0609=0,NOP +060A=2,create_decision_maker_type %1h% store_to %2d% ; decision\allowed\m_.ped files +060B=2,set_actor %1d% decision_maker_to %2d% +060C=0,NOP +060D=5,draw_text_shadow %1h% rgba %2h% %3h% %4h% %5d% +060E=1, car %1d% assigned_to_path +060F=2,set_actor %1d% melee_accuracy_to %2d% +0610=0,NOP +0611=2, actor %1d% performing_animation %2h% +0612=3,set_actor %1d% animation %2h% paused %3h% +0613=3,%3d% = actor %1d% animation %2h% time +0614=3,set_actor %1d% animation %2h% progress_to %3d% // 0.0 to 1.0 +0615=1,define_AS_pack_begin %1d% +0616=1,define_AS_pack_end %1d% +0617=0,NOP +0618=2,assign_actor %1d% to_AS_pack %2d% +0619=2,enable_actor %1d% collision_detection %2h% +061A=3,get_actor %1d% animation %2h% total_time_to %3d% +061B=1,remove_references_to_AS_pack %1d% +061C=0,NOP +061D=7,create_AS_origin_at %1d% %2d% %3d% Z_angle %4d% unknown_angle %5d% AS_pack %6d% handle_as %7d% +061E=1,remove_references_to_AS_origin %1d% +061F=0,NOP +0620=0,NOP +0621=5,create_actor_pedtype %1h% model %2o% at_AS_origin %3d% task %4d% handle_as %5d% +0622=2,AS_actor %1d% bail_car %2d% +0623=2,add %2d% to_integer_stat %1d% +0624=2,add %2d% to_float_stat %1d% +0625=2,decrease_integer_stat %1d% by %2d% +0626=2,decrease_float_stat %1d% by %2d% +0627=2,update_integer_stat %1d% to %2d% +0628=2,update_float_stat_to %2d% stat_id %1h% +0629=2,change_integer_stat %1d% to %2h% +062A=2,change_float_stat %1d% to %2d% +062B=0,NOP +062C=0,NOP +062D=0,NOP +062E=3,get_actor %1d% task %2d% status_store_to %3d% ; ret 7 if not found +062F=2,%2d% = create_group_type %1h% +0630=2,put_actor %2d% in_group %1d% as_leader +0631=2,put_actor %2d% in_group %1d% +0632=1,release_group %1d% +0633=1,AS_actor %1d% exit_car +0634=5,AS_actor %1d% attack_using_weapon_actor %2d% flags %3h% perform_actions_after_time %4d% chance_of_action %5h% +0635=3,AS_actor %1h% aim_at_actor %2d% %3d% ms +0636=9,NOP %1d% %2d% %3d% %4d% %5d% %6d% %7d% %8d% %9d% +0637=8,AS_actor %1h% goto %2d% %3d% %4d% mode %5h% turn_radius %6d% stop_radius %7d% look_at_actor %8d% +0638=2,AS_actor %1d% stay_put %2h% +0639=2,AS_actor %1d% rotate_to_actor %2d% +0642=2, actor %1d% at_AS_origin %2d% +0643=2,set_AS_pack %1d% loop %2h% +0646=2,unknown_get_actor %1d% task_1560_status_store_to %2d% ; similar to 062E +0647=1,AS_actor %1d% clear_look_task +0648=2,unknown_actor %1d% task_set %2d% ; float +064A=0,NOP +064B=6,%6d% = create_particle %1h% at %2d% %3d% %4d% type %5h% +064C=1,make_particle %1d% visible +064D=0,NOP +064E=1,stop_particle %1d% +064F=1,remove_references_to_particle %1d% +0650=1,destroy_particle %1d% +0651=0,NOP +0652=2,%2d% = integer_stat %1d% +0653=2,%2d% = float_stat %1d% +0654=2,make_object %1d% fireproof %2h% +0655=3,AS_actor %1d% look_at_object %2d% %3d% ms +0656=2,get_angle %1d% absolute_degrees_to %2d% +0657=2,car %1d% open_door %2h% +0659=0,NOP +065A=0,NOP +065B=4,store_pickup %1d% position_to %2d% %3d% %4d% +065C=1,release_decision_maker %1d% +065D=2,NOP %1d% %2h% +065E=2,NOP %1d% %2h% +065F=2,NOP %1d% %2h% +0660=2,NOP %1d% %2h% +0661=1,NOP %1h% +0662=1,printstring %1h% +0663=2,printint %1h% %2d% +0664=2,printfloat %1h% %2d% +0665=2,get_actor %1d% model_to %2d% +0666=0,NOP +0667=5,AS_actor %1h% aim_at %2d% %3d% %4d% %5d% ms +0668=5,AS_actor %1d% rotate_and_shoot_at %2d% %3d% %4d% %5d% ms +0669=7,%7d% = attach_particle %1h% to_actor %2d% with_offset %3d% %4d% %5d% type %6h% +066A=10,%10d% = attach_particle %1h% to_actor %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% type %9h% +066B=7,%7d% = attach_particle %1h% to_car %2d% with_offset %3d% %4d% %5d% type %6h% +066C=10,%10d% = attach_particle %1h% to_car %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% type %9h% +066D=7,%7d% = attach_particle %1h% to_object %2d% with_offset %3d% %4d% %5d% type %6h% +066E=10,create_particle %1h% attached_to_object %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% flag %9h% store_to %10d% +066F=0,NOP +0670=0,NOP +0671=0,NOP +0672=2,AS_actor %1h% attack_car %2d% +0673=4,AS_actor %1d% dive_to_offset %2d% %3d% time_on_ground %4d% ms +0674=2,set_car_model %1o% numberplate %2h% +0675=0,NOP +0676=2,AS_actor %1h% in_car %2d% move_from_passengerseat_to_driverseat +0677=4,AS_actor %1h% chat_with_actor %2d% lead_speaker_flag %3h% unknown_flag %4h% +0678=0,NOP +0679=9,put_camera_on_car %1d% with_offset %2d% %3d% %4d% rotation %5d% %6d% %7d% tilt %8d% switchstyle %9h% +067A=7,put_camera_on_car %1d% with_offset %2d% %3d% %4d% point_to_car %5d% tilt %6d% switchstyle %7h% +067B=7,put_camera_on_car %1d% with_offset %2d% %3d% %4d% point_to_actor %5d% tilt %6d% %7h% +067C=9,put_camera_on_actor %1d% offset %2d% %3d% %4d% rotation %5d% %6d% %7d% tilt %8d% switchstyle %9d% +067E=7,put_camera_on_actor %1d% offset %2d% %3d% %4d% target_actor %5d% tilt %6d% switchstyle %7h% +067F=2,set_car %1d% lights %2h% +0680=2,unknown_assign_AS_origin %1d% to_actors_pedtype %2h% +0681=8,attach_object %1d% to_car %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% +0682=5,detach_object %1d% %2d% %3d% %4d% collision_detection %5h% +0683=8,attach_car %1d% to_car %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% +0684=5,detach_car %1d% %2d% %3d% %4d% collision_detection %5h% +0685=1, object %1d% attached +0686=1, car %1d% attached +0687=1,clear_actor %1d% task +0688=4,AS_actor %1h% unknown_toggle_ped_threat_scanner %2h% %3h% %4h% +0689=3,set_car %1d% remove_door %2h% removed_door_visible %3d% +068A=2,set_car %1d% repair_door %2h% +068B=1,set_car %1d% all_disembark +068C=1, is_player_autoaiming %1d% +068D=3,get_camera_position_to %1d% %2d% %3d% +068E=3,get_camera_target_point_to %1d% %2d% %3d% +068F=0,NOP +0697=3,set_car %1d% remove_component %2h% visible_effect_flag %3d% +0698=2,set_car %1d% repair_componentB %2h% +0699=2,set_car %1d% repair_tire %2h% +069A=8,attach_object %1d% to_object %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% +069B=8,attach_object %1d% to_actor %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% +069C=0,NOP +069D=0,NOP +069E=0,NOP +069F=0,NOP +06A0=0,NOP +06A1=0,NOP +06A2=4,get_car %1d% velocity_in_direction_XYZ %2d% %3d% %4d% +06A3=2,get_car %1d% mass_to %2d% +06A4=0,NOP +06A5=2,AS_actor %1d% jump_forward stay_on_ground %2d% ms and_stands_back +06A6=0,NOP +06A7=9,put_actor %1d% into_turret_on_car %2d% at_car_offset %3d% %4d% %5d% position %6h% shooting_angle %7d% %8d% with_weapon %9h% +06A8=5,AS_actor %1d% run_to_and_look_at_actor %2d% timelimit %3h% approach_distance %4d% approach_angle %5d% +06A9=5,AS_actor %1h% look_at_point %2d% %3d% %4d% %5d% ms +06AA=1, NOP_false %1d% +06AB=2,set_actor %1d% all_weapons_hidden %2h% +06AC=2,%2d% = actor %1d% movement_speed +06AD=2,set_group %1d% group_decision_maker_to %2d% +06AE=2,create_group_decision_maker_type %1h% store_to %2d% ; decision\allowed\mission.grp +06AF=2,set_player %1d% sprint_mode %2h% +06B0=2,AS_actor %1d% sit_down %2d% ms +06B1=9,%9d% = create_searchlight_at %1d% %2d% %3d% radius %8d% target %4d% %5d% %6d% radius %7d% +06B2=1,destroy_searchlight %1d% +06B3=1, searchlight %1d% active +06B4=8,set_searchlight %1d% path_between %2d% %3d% %4d% and %5d% %6d% %7d% speed %8d% +06B5=5,set_searchlight %1d% travel_to %2d% %3d% %4d% speed %5d% +06B6=3,set_searchlight %1d% follow_actor %2d% speed %3d% +06B7=2, searchlight %1d% spotted_actor %2d% +06B9=0, cutscene_data_loaded +06BA=4,AS_actor %1d% turn_to_and_look_at %2d% %3d% %4d% +06BB=3,set_actor %1h% drive_car %2d% speed %3d% along_SCM_path +06BC=7,create_M4_shoot_from %1d% %2d% %3d% target %4d% %5d% %6d% energy %7h% +06BD=11, no_obstacles_between %1d% %2d% %3d% and %4d% %5d% %6d% solid %7h% car %8h% actor %9h% object %10h% particle %11h% +06BE=2,%2d% = car %1d% y_angle +06BF=3,set_searchlight %1d% follow_car %2d% speed %3d% +06C0=2, searchlight %1d% spotted_car %2d% +06C1=10,create_searchlight %10d% on_car %1d% with_offset %2d% %3d% %4d% radius %9d% target %5d% %6d% %7d% radius %8d% +06C2=11,AS_actor %1h% goto %2d% %3d% %4d% mode %5h% turn_radius %6d% stop_radius %7d% actor %8d% with_offset %9d% %10d% %11d% +06C3=5,get_number_of_fires_within_sphere_at %1d% %2d% %3d% radius %4d% store_to %5d% +06C4=2,create_marker_above_searchlight %1d% handle_as %2d% +06C5=1,release_car %1d% from_path +06C6=0,NOP +06C7=4,AS_actor %1d% driver_of_car %2d% perform_action %3h% timelimit %4d% +06C8=1,enable_riot %1h% +06C9=1,remove_actor %1d% from_group +06CA=7,attach_searchlight %1d% to_tower %2d% to_housing %3d% to_bulb %4d% with_offset %5d% %6d% %7d% +06CB=0,NOP +06CE=0,NOP +06CF=1,NOP %1h% +06D0=1,enable_emergency_traffic %1h% +06D1=2,%1d% = %2h% ; v$ = string +06D2=2,%1d% = %2h% ; @v = string +06D5=9,%9d% = create_racing_checkpoint_at %2d% %3d% %4d% point_to %5d% %6d% %7d% type %1d% radius %8d% +06D6=1,disable_racing_checkpoint %1d% +06D7=1,enable_train_traffic %1h% +06D8=6,%6d% = create_train_at %2d% %3d% %4d% type %1h% direction %5h% +06D9=0,destroy_defined_trains +06DA=0,reset_train_directions +06DB=0,destroy_all_trains +06DC=2,set_train %1d% acc %2d% +06DD=2,set_train %1d% speed %2d% +06DE=2,%2d% = get_train %1d% last_carriage_handle +06DF=1,destroy_player %1d% +06E0=1,set_2_player_camera_mode_to %1h% +06E1=6,AS_actor %1d% using_car %2d% target_car %3d% with_order %4h% max_speed %5d% traffic_flag %6h% +06E2=4,AS_actor %1d% run_to_object %2d% timelimit %3h% stop_within_radius %4d% +06E3=2,AS_actor %1h% roll_sideways %2h% +06E4=2,AS_actor %1d% attempt_to_bust_actor %2d% +06E5=3,get_car %1d% possible_to_built_in_component_pool_index %2d% itemID_to %3d% +06E6=2,get_itemID %1d% destinated_component_slot_to %2d% +06E7=3,%3d% = add_car_component %2o% to_car %1d% +06E8=2,car %1d% destroy_component %2d% +06E9=1,load_car_component %1o% +06EA=1, car_component %1o% available +06EB=1,release_car_component %1o% +06EC=2,get_car %1d% number_of_possible_paintjobs_to %2d% +06ED=2,set_car %1d% paintjob %2h% +06EE=2, actor %1d% in_group %2d% +06EF=2, actor %1d% leading_group %2d% +06F0=2,set_group %1d% distance_limit_to %2d% +06F1=1,set_2_player_distance_limit_to %1d% +06F2=0,release_2_players_distance_limit +06F3=1,set_players_can_target_eachother %1h% +06F4=0,NOP +06F5=4,create_coordinate %2d% %3d% %4d% from_fire %1d% +06F6=0,NOP +06F7=0,NOP +06F8=8,get_nearest_route_for %1d% %2d% %3d% in_direction %4h% store_to %5d% %6d% %7d% Z_angle_to %8d% +06F9=0,NOP +06FA=1,allow_players_to_use_separate_vehicles %1h% +06FB=0,NOP +06FC=1, car %1d% stuck_check_enabled +06FD=2,set_car %1d% speed_on_path_to %2d% +06FE=0,NOP +06FF=2, any_ped_near_actor %1d% in_range %2d% +0700=0,NOP +0701=0,end_scene_skip +0702=5,%5d% = get_tags_painted_percentage_at %2d% %3d% %4d% %1d% +0703=5,set_tags_painted_percentage_at %1d% %2d% %3d% %4d% value %5h% +0704=4,car %1d% drive_to %2d% %3d% %4d% +0705=2,car %1d% assign_to_path %2d% and_drive_normal +0706=2,advance_car %1d% further_along_path %2d% +0707=1,start_scene_skip_to %1p% +0708=2,reset_decision_maker %1d% event %2h% +0709=9,set_decision_maker %1d% on_event %2h% taskID %3d% respect %4d% hate %5d% like %6d% dislike %7d% in_car %8h% on_foot %9h% ; see *.ped files +070A=10,AS_actor %1d% attach_to_object %2d% offset %3d% %4d% %5d% on_bone %6h% %7h% perform_animation %8h% IFP_file %9h% time %10h% +070B=2,set_actor %1d% onbone_attached_object_operation %2d% +070C=1,explode_car_without_radius_damage %1d% +070D=1,rebuild_player %1d% +070E=3,hydra %1d% attack_player_car %2d% radius %3d% +070F=4,plane %1d% fly_direction %2d% altitude_between %3d% and %4d% +0710=4,plane %1d% follow_actor %2d% follow_car %3h% radius %4d% +0711=0,NOP +0712=0,NOP +0713=10,actor %1d% driveby_actor %2h% car %3h% point %4d% %5d% %6d% radius %7d% %8h% %9h% firing_rate %10h% +0714=2,unknown_car %1d% flag %2h% +0715=2,put_player %1d% in_RC_mode_in_car %2d% ; on foot version +0716=7, object_model %5o% in_object_group_at %1d% %2d% %3d% radius %4d% destroyed %6h% %7h% +0717=1,assign_actor %1d% to_dialogue_mode +0718=0,NOP +0719=0,enable_dialogue_mode +071A=2, actor %1d% current_dialogue_text == %2g% +071B=0,NOP +071C=0,NOP +071D=0,NOP +071E=2,get_object %1d% health_to %2d% +071F=2,set_object %1d% health_to %2h% +0720=0,NOP +0721=0,NOP +0722=0,NOP +0723=2,break_object %1d% intensity %2h% +0724=3,heli %1d% follow_and_attack_player %2d% radius %3d% +0725=0,NOP +0726=4,heli %1d% follow_actor %2d% follow_car %3h% radius %4d% +0727=4,set_heli %1d% behavior_to_police_heli_and_follow_actor %2d% follow_car %3h% radius %4d% +0728=0,NOP +0729=2,AS_actor %1d% hold_cellphone %2h% +072A=2,put_actor %1d% into_car %2d% driverseat +072B=3,put_actor %1d% into_car %2d% passengerseat %3d% +072C=1,generate_police_bikes %1h% +072D=6, is_flamethrower_fired_in_angled_area_2d %1d% %2d% to %3d% %4d% angle %5d% sphere %6h% +072E=8, is_flamethrower_fired_in_angled_area_3d %1d% %2d% %3d% to %4d% %5d% %6h% angle %7d% sphere %8d% +072F=7,enable_car %1d% stuck_check_distance %2d% time %3d% and_restore_if stuck %4h% flipped %5h% unk_place_on_road_properly %6h% to_path %7h% ; extended 03CC +0730=2,car %1d% damage_door %2h% +0731=2,set_car %1d% y_angle_to %2d% +0732=1,random_car_generator_disable_model %1o% +0733=1,random_car_generator_enable_model %1o% +0734=0,reset_random_car_generator_models +0735=1, is_keyboard_key_pressed %1h% +0736=1, is_keyboard_key_just_pressed %1h% +0737=2, actor %1d% lifting_object %2d% +0738=0,NOP +0739=0,NOP +073A=0,NOP +073B=2,unknown_car %1d% flag %2h% +073C=2,car %1d% damage_componentB %2h% +073D=0,NOP +073E=6,get_car_in_sphere %1d% %2d% %3d% radius %4d% model %5o% handle_as %6d% +073F=8,get_actor_in_sphere %1d% %2d% %3d% radius %4d% with_pedtype_civilian %5h% gang %6h% criminal/prostitute %7h% handle_as %8d% +0740=0,NOP +0741=1, actor %1d% busted +0742=2,set_plane %1d% unknown_trajectory %2d% +0743=6,heli %1d% fly_to %2d% %3d% %4d% altitude %5d% %6d% +0744=0,NOP +0745=1,set_hydra %1d% thrust_to_horizontal +0746=3,set_acquaintance %1h% of_actors_pedtype %2h% to_actors_pedtype %3h% +0747=3,clear_acquaintance %1h% of_actors_pedtype %2h% to_actors_pedtype %3h% ; see ped.dat +0748=0,NOP +0749=2,reset_group_decision_maker %1d% event %2h% +074A=9,set_group_decision_maker %1d% on_event %2h% taskID %3d% respect %4d% hate %5d% like %6d% dislike %7d% in_car %8h% on_foot %9h% ; see *.ped files +074B=10,draw_texture %1h% position %2d% %3d% scale %4d% %5d% angle %6d% color_RGBA %7d% %8d% %9d% %10d% +074C=2,AS_actor %1h% goto_AS_origin %2d% +074D=3,AS_actor %1h% turns_to_and_look_at_actor %2d% timelimit %3h% +074E=3,unknown_set_actor_threat_scanner_flags %1d% radius %2d% peds_to_scan %3h% +074F=2, actor %1d% ped_event == %2h% +0750=2,set_object %1d% visibility %2h% +0751=8,AS_actor %1d% flee_from_actor %2d% run_distance %3d% time %4d% change_course %5h% unknown %6d% %7d% away_radius %8d% +0752=1,NOP %1d% +0754=0,define_new_animation_path +0755=5,add_animation_path_3D_coord %1d% %2d% %3d% animation %4h% IFP_file %5h% +0758=0,NOP +0759=0,NOP +075A=6,set_object %1d% animation %2h% IFP_file %3h% %4d% lockF %5h% loop %6h% ; IF AND SET +075B=1,zoom_radar %1h% +075C=1, marker %1d% enabled +075D=1,load_shopping_data_SHOPS_subsection %1d% ; "string" +075E=1,load_shopping_data_PRICES_subsection %1d% ; "string" +075F=1,store_shopping_data_entries_number_to %1d% +0760=2,store_shopping_data_index %1d% textureCRC_to %2d% +0761=2,get_shopping_item_with_textureCRC %1d% price_to %2d% +0762=1,AS_actor %1d% dies +0763=1,add_car_reference %1d% ; mission only +0764=0,NOP +0765=0,NOP +0766=0,NOP +0767=2,set_zone %1g% popcycle_group_for_peds_and_cars_to %2h% +076A=2,set_zone %1g% dealer_density_to %2h% +076B=2,get_zone %1d% dealer_density_to %2d% +076C=3,set_zone %1g% gang %2h% density_to %3h% +076D=3,get_zone %1g% gang %2d% density_to %3d% +076E=0,NOP +076F=0, text_priority_displayed +0770=2,set_actor %1d% target_priority %2h% +0771=2,set_model_numplate %1o% town_texture %2h% +0772=4,AS_actor %1h% run_to_car %2d% %3d% ms stop_at_distance %4d% +0773=0,NOP +0774=0,NOP +0775=0,NOP +0776=1,create_objects_in_object_group %1h% +0777=1,delete_objects_in_object_group %1h% +0778=1,recreate_objects_in_object_group %1h% +0779=0,NOP +077A=3,set_actor %1d% acquaintance %2h% to_actors_pedtype %3h% ; see ped.dat +077B=3,clear_actor %1d% acquaintance %2h% to_actors_pedtype %3h% ; see ped.dat +077C=2,clear_actor %1d% acquaintance %2h% to_all_pedtypes ; see ped.dat +077D=2,%2d% = car %1d% x_angle +077E=1,get_active_interior_to %1d% +077F=0,NOP +0780=5,heli %1d% hover_above actor %2d% car %3h% altitude %4d% %5d% +0781=2,get_weapon_with_ID %1d% model_to %2d% +0782=2,get_weapon_with_ID %1d% weapon_group_to %2d% +0783=3,get_shopping_item_with_textureCRC %1d% flag %2d% store_to %3d% +0784=4,set_player %1d% textureCRC %2h% modelCRC %3d% bodypart %4h% +0785=0,NOP +0786=7,get_number_of_fires_within_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% store_to %7d% +0787=0,NOP +0788=2,enable_heli %1d% magnet %2h% +0789=1,set_heli %1d% release_stuff_from_magnet +078A=3,%3d% = get_train %1d% carriage %2h% handle +078B=4,%2d% = get_heli %1d% attached_car_handle actor_handle_to %3d% object_handle_to %4d% +078C=2,get_shopping_item_with_textureCRC %1d% nametag_to %2d% ; 8-byte string +078D=0,NOP +078E=0,NOP +078F=2,AS_actor %1h% climb %2h% +0790=1,charge_money_for_shopping_item_with_textureCRC %1d% +0791=0,NOP +0792=1,disembark_instantly_actor %1d% +0793=0,save_player_clothes +0794=0,restore_player_clothes +0795=0,NOP +0796=2,get_crane_magnet %1d% magnet_lane_length_to %2d% ; float +0797=2,set_crane_magnet %1d% magnet_lane_length_to %2d% ; float +0798=4,get_crane_magnet %1d% attached_car_handle_to %2d% attached_actor_handle_to %3d% attached_object_handle_to %4d% +0799=1,set_crane_magnet %1d% release_stuff_from_magnet +079A=0,NOP +079B=0,NOP +079C=0,NOP +079D=0,unknown_set_game_controller_to_steer_object_MagnoCrane_03 ; originally SF docks magnocrane +079E=0,unknown_set_game_controller_to_steer_object_TWRCRANE_M_02 ; originally SF site ballcrane +079F=0,unknown_set_game_controller_to_steer_no_crane_objects +07A0=4,unknown_actor %1d% unknown_assigned_to_AS %2d% unknown_set %3h% unknown_set %4h% +07A1=1,set_walk_speed %1h% +07A2=0,NOP +07A3=4,AS_actor %1d% run_to_and_follow_actor %2d% wait_radius_between %3d% and %4d% +07A4=3,get_actor %1d% task_1560_flags_store_to %2d% %3d% +07A5=3,AS_actor %1h% attack_actor %2d% time %3d% +07A6=6,get_nearest_tag_location_near_point %1d% %2d% %3d% store_to %4d% %5d% %6d% +07A7=1,put_jetpack_on_actor %1d% +07A8=1,enable_area69_sam %1h% +07A9=2,get_searchlight_on_actor %1d% store_to %2d% // IF and SET +07AA=0,NOP +07AB=2, car %1d% has_attached_trailer %2d% +07AC=2,detach_trailer %1d% from_cab %2d% +07AD=0,NOP +07AE=0,NOP +07AF=2,%2d% = player %1d% group +07B0=1,get_active_shop_name_to %1d% ; s$ +07B1=4,unknown_get_dance_track %1h% store_to %2d% %3d% %4d% +07B2=0,NOP +07B3=2,set_group %1d% give_command %2h% +07B4=2,set_player %1d% gang_recruitment_enabled %2d% +07B5=0,NOP +07B6=0,NOP +07B7=0,NOP +07B8=0,NOP +07BA=0,NOP +07BB=2,set_heli %1d% horizontal_thrust_power %2h% +07BC=2,set_actor %1h% decision_maker_to %2d% ; AS_pack_version +07BD=1,destroy_train %1d% +07BE=1,remove_references_to_train %1d% +07BF=2,set_marker %1d% tracking_blip %2h% +07C0=1,load_path %1d% +07C1=1, path %1d% available +07C2=0,NOP +07C3=5,get_object %1d% axis_angle_relation_to %2d% %3d% %4d% %5d% +07C4=5,set_object %1d% axis_angle_relation_to %2d% %3d% %4d% %5d% +07C5=5,get_car %1d% axis_angle_relation_to %2d% %3d% %4d% %5d% +07C6=5,set_car %1d% axis_angle_relation_to %2d% %3d% %4d% %5d% +07C7=4,put_train %1d% at %2d% %3d% %4d% +07C8=0,NOP +07C9=2,AS_actor %1h% walk_to_object %2d% then_lift_and_hold_in_hands +07CA=0,NOP +07CB=2,set_actor %1d% supporting_fire %2h% +07CC=2,set_player %1d% can_enter_exit_vehicles %2h% +07CD=6,AS_actor %1d% walk_to %2d% %3d% %4d% stop_with_angle %5d% within_radius %6d% +07CE=0,NOP +07CF=0,NOP +07D0=1,%1d% = weekday +07D1=0,NOP +07D2=0,NOP +07D3=2,%2g% = init_external_script_named_handle %1x% +07D4=0,NOP +07D5=7,set_car %1d% velocity_in_direction_XYZ %2d% %3d% %4d% rotation_velocitiesXY %5d% %6d% unk %7d% +07D6=2, %1d% == %2d% ; @ == $ (int) +07D7=2, %1d% == %2d% ; @ == $ (float) +07DA=4,set_car %1d% rotation_velocity_XYZ %2d% %3d% %4d% through_center_of_body +07DB=4,set_car %1d% rotation_velocity_XYZ %2d% %3d% %4d% through_center_of_mass +07DC=0,NOP +07DD=2,set_actor %1d% attack_rate %2h% ; previously known as temper_to +07DE=1, model %1o% exists ; versionB +07DF=4,unknown_rectangle_cornerA %1d% %2d% cornerB %3d% %4d% +07E0=2,set_marker %1d% type_to %2h% +07E1=4,AS_actor %1d% swim_to %2d% %3d% %4d% +07E2=0,NOP +07E3=0,NOP +07E4=7,get_model %1o% dimensions_cornerA_to %2d% %3d% %4d% dimensions_cornerB_to %5d% %6d% %7d% +07E5=2,copy_decision_maker %1d% to %2d% +07E6=2,copy_group_decision_maker %1h% to %2d% +07E7=6,AS_assign_scmpath_to_actor %1h% in_car %2d% speed %3d% flags %4h% %5h% %6h% +07E8=3, acquaintance %1h% of_actors_type %2h% to_actors_type %3h% set +07E9=0,NOP +07EA=0,NOP +07EB=0,NOP +07EC=0,NOP +07ED=0,NOP +07EE=2,car %1d% enable_tire_marks %2h% +07EF=4,get_town_number_from_point %1d% %2d% %3d% store_to %4d% +07F0=5, in_sphere %1d% %2d% %3d% radius %4d% damaged_object_with_model %5o% +07F1=1, player %1d% performing_wheelie +07F2=1, player %1d% performing_stoppie +07F3=4,move_racing_checkpoint %1d% to %2d% %3d% %4d% +07F4=0,NOP +07F5=5,car %1d% control_hydraulics %2d% %3d% %4d% %5d% +07F6=3,get_group %1d% number_of_leaders_to %2d% number_of_members_to %3d% +07F7=2,set_object %1d% destructible %2h% +07F8=3,car %1d% follow_car %2d% radius %3d% +07F9=0,set_game_controller_to_steer_object_QUARRY_CRANEARM ; originally DS quarry magnocrane +07FA=0,set_game_controller_to_steer_object_TWRCRANE_M_02 ; originally LV site magnocrane +07FB=2,set_interior %1g% access %2h% +07FC=5,text_draw_box_position_XY %1d% %2d% GXT_reference %3g% value %4d% flag %5h% +07FD=1, group %1d% alive +07FE=3,set_actor %1d% fighting_style_to %2h% moves %3h% +07FF=2,set_car %1d% hydraulics %2h% +0800=0, in_two_players_mode +0801=1,get_camera_zoom_factor_to %1d% ; float +0803=1, car %1d% have_hydraulics +0804=14,AS_actor %1d% walk_to %2d% %3d% %4d% angle %5d% radius %6d% animation %7h% IFP_file %8h% %9d% LA %10h% LX %11h% LY %12h% LF %13h% LT %14h% +0805=0,NOP +0806=2,get_player %1d% kills_from_last_checkpoint %2d% +0807=0,NOP +0808=0,NOP +0809=0,NOP +080A=5,get_object %1d% spoot %2h% store_to %3d% %4d% %5d% +080B=1,NOP %1d% +080C=0,NOP +080D=0,NOP +080E=2,get_actor %1d% ped_event_to %2d% +080F=0,NOP +0810=9,store_random_parkplace_in_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% position_to %7d% %8d% %9d% +0811=2,%2d% = actor %1d% used_car +0812=9,AS_actor %1d% perform_animation %2h% IFP %3h% framedelta %4d% loopA %5h% lockX %6h% lockY %7h% lockF %8h% time %9h% ; versionB +0813=0,NOP +0814=16,define_unique_jump_start %1d% %2d% %3d% radius %4d% %5d% %6d% in_air_goal %7d% %8d% %9d% radius %10d% %11d% %12d% camera %13d% %14d% %15d% reward %16d% +0815=4,put_object %1d% at %2d% %3d% %4d% and_keep_rotation +0816=2,set_actor %1d% dont_chase_victim %2h% +0817=3,assign_actor %1d% to_animation_path_with_walk_mode %2d% route_mode %3d% +0818=1, actor %1d% in_air +0819=2,%2d% = actor %1d% distance_from_ground +081A=2,set_actor %1d% weapon_skill_to %2h% +081B=0,NOP +081C=5,draw_text_outline %1h% RGBA %2h% %3h% %4h% %5d% +081D=2,set_car %1d% engine_broken %2h% +081E=1, model %1o% boat +081F=1, model %1o% plane +0820=1, model %1o% heli +0821=0,NOP +0822=1,enable_camera_bumper_view %1h% +0823=4,AS_actor %1d% greet_actor %2d% %3d% %4h% +0824=0,NOP +0825=1,set_helicopter %1d% instant_rotor_start +0826=1,enable_hud %1h% +0827=2,assign_object %1d% to_lod_object %2d% +0828=1,set_max_fire_generations %1h% +0829=5,actor %1d% perform_animation %2h% IFP_file %3h% %4d% time %5h% and_dies +082A=2,set_player %1d% able_to_use_crouch_button %2h% +0830=6,create_pool_table_collision_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% +0831=0, NOP_false +0832=0,NOP +0833=1, object %1d% photographed +0834=2,set_player_head_temporary_turn_rotation_Z %1d% rotation_Y %2d% +0835=2,get_month_day_to %1d% get_month_to %2d% +0836=3,set_object %1d% animation %2h% at %3d% times_normal_rate +0837=2, object %1d% animation == %2h% +0838=0,NOP +0839=3,get_object %1d% animation %2h% progress_to %3d% +083A=3,set_object %1d% animation %2h% progress_to %3d% +083B=0,NOP +083C=4,set_actor %1d% velocity_in_direction_XYZ %2d% %3d% %4d% +083D=4,get_actor %1d% velocity_in_direction_XYZ %2d% %3d% %4d% +083E=4,set_actor %1d% rotation %2d% %3d% %4d% while_in_air +083F=2,get_car %1d% vertical_deviation_to %2d% +0840=2,link_car %1d% to_interior %2d% +0841=2,flying_vehicle %1d% use_secondary_gun %2h% +0842=2,%2d% = player %1d% town_number +0843=4,get_zone_at %1d% %2d% %3d% nameA_to %4d% ; 8-byte string +0844=1, string %1d% empty ; s$ +0845=1, string %1d% empty ; same as 0847 +0846=1, string %1d% empty ; v$ +0847=1, string %1d% empty ; @v +0848=0,NOP +0849=0,NOP +084A=0,NOP +084B=0,NOP +084C=0,NOP +084D=1,unknown_enable_burglary_house_occupants %1h% +084E=2,flying_vehicle %1d% use_primary_gun %2h% +084F=0,NOP +0850=2,AS_actor %1d% follow_actor %2d% +0851=3,set_actor %1d% decrease_health_by %2h% affect_armour %3h% +0852=2,set_car %1d% damages_visible %2h% +0853=2,unknown_heli %1d% flag %2h% +0855=5,get_actor %1d% noise_level_at %2d% %3d% %4d% store_to %5d% +0856=2,set_actor %1d% enable_crouch %2h% +0857=0,NOP +0858=3,set_player %1d% scan_horizon_to_angle %2d% rotation_speed %3d% +0859=2,AS_actor %1d% walk_alongisde_actor %2d% +085A=4,spawn_emergency_vehicle_model %1o% on_street_nearest_to %2d% %3d% %4d% +085B=2,AS_actor %1h% set_kinda_stay_in_same_place %2h% +085C=0,NOP +085D=0,NOP +085E=2,assign_car %1d% to_looped_path %2d% +085F=0,NOP +0860=2,link_actor %1d% to_interior %2h% +0861=1, unknown_player %1d% scanning_horizon ; param is useless +0862=0,NOP +0863=0,NOP +0864=4,set_interior_at %1d% %2d% radius %3d% access %4h% +0866=5,get_object_in_sphere %1d% %2d% %3d% radius %4d% handle_as %5d% +0867=1, unknown_in_burglary_interior %1h% +0868=1,NOP %1d% +0869=1,NOP %1d% +086A=0,NOP +086B=1,NOP %1d% +086C=1,NOP %1d% +086D=0,NOP +086E=0,NOP +086F=0,NOP +0870=0,NOP +0871=18,init_jump_table %1d% total_jumps %2h% default_jump %3h% %4p% jumps %5h% %6p% %7h% %8p% %9h% %10p% %11h% %12p% %13h% %14p% %15h% %16p% %17h% %18p% +0872=18,jump_table_jumps %1d% %2p% %3h% %4p% %5h% %6p% %7h% %8p% %9h% %10p% %11h% %12p% %13h% %14p% %15h% %16p% %17h% %18p% +0873=1,release_path %1d% +0874=2,set_zone %1g% popcycle_group_for_peds_to %2h% +0875=2,set_object %1d% immune_to_nonplayer %2h% +0876=8,unknown_cube_cornera %1d% %2d% %3d% cornerB %4d% %5d% %6d% flag %7h% flag %8h% +0877=0,NOP +0878=2,set_car %1d% dirt_level %2d% +0879=1,enable_gang_wars %1h% +087A=0, gang_war_in_progress +087B=4,set_player %1d% clothes_texture %2h% model %3h% body_part %4h% +087C=0,release_shopping_data +087D=2,assign_group %1d% to_AS_pack %2d% +087E=2,set_actor %1d% weapon_droppable %2h% +087F=2,set_actor %1d% never_leave_group %2h% +0880=0,NOP +0881=2,set_player %1d% able_to_shoot_weapons %2h% +0882=0,NOP +0883=3,attach_particle %1d% to_actor %2d% mode %3h% +0884=2,%2g% = init_external_script_named_handle %1x% +0885=0,NOP +0886=0,NOP +0887=3,set_actor %1d% turret_mode_orientation %2h% both_side_angle_limit %3d% +0888=2,create_marker_above_actor %1d% handle_as %2d% ; versionB +0889=4,store_actor %1d% center_of_body_position_to %2d% %3d% %4d% +088A=11,actor %1d% perform_animation %2h% IFP %3h% %4d% loopA %5h% lockX %6h% lockY %7h% lockF %8h% time %9h% disable_force %10h% disable_lockZ %11h% +088B=2,set_car %1d% form_drag_multiplier_to %2d% +088C=4,put_car %1d% at %2d% %3d% %4d% ; versionB +088D=6,set_objects_in_sphere %1d% %2d% %3d% radius %4d% with_model %5o% collision_detection %6h% +088E=0,set_next_day +088F=0,NOP +0890=2,enable_sound_when_timer %1d% reach %2h% seconds ; global_variable +0891=0,NOP +0892=0,NOP +0893=2,put_trailer %1d% on_cab %2d% +0894=0,NOP +0895=0,NOP +0896=0,NOP +0897=2, car %1d% collided_with_object %2d% +0898=3,set_cranes_controls_enable_UP %1d% enable_DOWN %2d% enable_RELEASE %3d% +0899=0,NOP +089A=0,NOP +089B=1, unknown_is_actor_in_dialogue_mode %1d% +089C=2,unknown_actor %1d% unknown_check %2h% +089D=0,NOP +089E=5,get_actor_that_buys_drugs_in_sphere %1d% %2d% %3d% radius %4d% handle_as %5d% +089F=2,get_actor %1d% pedtype_to %2d% +08A0=7,actor %1d% in_radius %2d% near_model %3o% with_offset %4d% %5d% %6d% end_script_named %7h% ; IF and SET +08A1=0,NOP +08A2=3,set_hydra %1d% attack_with_rockets_car_of_player %2d% radius %3d% +08A3=1,update_respect_while_on_mission %1h% +08A4=2,set_car %1d% extra_parts_angle_to %2d% +08A5=2,set_car %1d% attractive_to_magnet %2h% +08A6=3,set_car %1d% door %2h% rotation_to %3d% +08A7=2, car %1d% componentB %2h% opened_or_not_present +08A8=1,set_markers_to_long_distance %1h% +08A9=1,load_external_script %1x% +08AA=0,NOP +08AB=1, external_script %1x% loaded +08AC=1,hide_gang_zones_on_map %1h% +08AD=4,link_actor %1d% to_enex_marker_at %2d% %3d% radius %4d% +08AE=0,NOP +08AF=2,set_actor %1d% max_health_to %2d% +08B0=0,NOP +08B1=1,enable_night_vision %1h% +08B2=1,enable_thermal_vision %1h% +08B3=1,set_gang_zone %1g% as_only_one_available_for_gangwars +08B4=2, test %1d% bit %2h% +08B5=2, test %1d% bit %2d% +08B6=2, test %1d% bit %2d% +08B7=2, test %1d% bit %2h% +08B8=2, test %1d% bit %2d% +08B9=2, test %1d% bit %2d% +08BA=2,set %1d% bit %2h% +08BB=2,set %1d% bit %2d% +08BC=2,set %1d% bit %2d% +08BD=2,set %1d% bit %2h% +08BE=2,set %1d% bit %2d% +08BF=2,set %1d% bit %2d% +08C0=2,clear %1d% bit %2h% +08C1=2,clear %1d% bit %2d% +08C2=2,clear %1d% bit %2d% +08C3=2,clear %1d% bit %2h% +08C4=2,clear %1d% bit %2d% +08C5=2,clear %1d% bit %2d% +08C6=2,set_actor %1d% stay_on_bike %2h% +08C7=4,put_actor %1d% at %2d% %3d% %4d% dont_warp_gang +08C8=2,set_shopping_item_with_textureCRC %1d% price_to %2d% +08C9=1,reset_shopping_item %1d% price +08CA=0,reset_zones_info +08CB=4,explode_car %1d% shake %2h% effect %3h% sound %4h% +08CC=0,NOP +08CD=0,NOP +08CE=0,NOP +08CF=0,NOP +08D0=0, should_skip_cutscene +08D1=3,store_cutscene_pos_to %1d% %2d% %3d% +08D2=2,object %1d% scale_model %2d% +08D3=1,get_present_zone_popcycle_group_for_peds_and_cars_to %1d% +08D4=9,%9d% = create_panel_with_title %1g% position %2d% %3d% width %4d% columns %5h% interactive %6h% background %7h% alignment %8h% +08D5=0,NOP +08D6=3,set_panel %1d% column %2h% alignment %3h% +08D7=2,%2d% = panel %1d% active_row +08D8=2,%2d% = panel %1d% selected_row +08D9=3,set_panel %1d% row %2d% enable %3h% +08DA=1,remove_panel %1d% +08DB=15,set_panel %1d% column %2h% header %3g% data %4g% %5g% %6g% %7g% %8g% %9g% %10g% %11g% %12g% %13g% %14g% %15g% +08DC=4,create_interior_marker %1d% at %2d% %3d% radius %4d% +08DD=1,lose_stuff_after_wasted %1h% +08DE=1,lose_stuff_after_busted %1h% +08DF=5,override_restart_if_wasted_at %1d% %2d% %3d% within_radius %4d% angle %5d% +08E0=5,override_restart_if_busted_at %1d% %2d% %3d% within_radius %4d% angle %5d% +08E1=1,%1d% = total_tags_sprayed +08E2=1,%1d% = territories_controlled_percentage +08E3=7, object %1d% sphere %7h% in_rectangle_ll_corner_at %2d% %3d% lr_corner_at %4d% %5d% radius %6d% +08E4=9, object %1d% in_cube_fll_corner_at %2d% %3d% %4d% fur_corner_at %5d% %6d% %7d% depth %8d% flag %9h% +08E5=5,get_actor_in_sphere %1d% %2d% %3d% radius %4d% handle_as %5d% +08E6=2,set_plane %1d% landing_gear %2h% +08E7=1,disable_entrance_markers %1h% +08E8=2,assign_external_script_handle %2g% to_model %1o% +08E9=2,set_object %1d% liftable %2h% +08EA=1,enable_gangs_spawn %1h% +08EB=7,create_sparks_at %1d% %2d% %3d% velocity_direction %4d% %5d% %6d% density %7h% +08EC=2,%2d% = car %1d% class +08ED=1,remove_actor %1d% from_dialogue_mode +08EE=5,set_panel %1d% column %2h% row %3d% text_1number GXT %4g% number %5d% +08EF=6,set_panel %1d% column %2h% row %3d% text_2numbers GXT %4g% numbers %5d% %6d% +08F0=2,set_cutscene_model %1g% texture %2g% ; 8-byte strings +08F1=4,get_zone_at %1d% %2d% %3d% nameB_to %4d% ; 8-byte string +08F2=2,set_car %1d% targettable_by_heatseeker %2h% +08F3=2,set_car %1d% contains_goodies %2h% +08F4=1,set_max_group_members %1h% +08F5=0,save_player_group +08F6=0,restore_player_group +08F7=4,get_player %1d% bodypart %2h% textureCRC_to %3d% modelCRC_to %4d% +08F8=1,display_stat_update_box %1h% +08F9=2, %1d% == %2d% +08FA=2, %1d% == %2d% +08FB=2,set_checkpoint %1d% type_to %2h% +08FC=0,NOP +08FD=1,enable_heat_visuals %1h% +08FE=0, text_box_displayed +08FF=2, object %1d% received_damage_type %2h% +0900=1,clear_object %1d% last_weapon_damage +0901=2,enable_player %1d% jump_key %2h% +0902=0,NOP +0903=0,NOP +0904=5,get_interface %1h% color_RGBA_to %2d% %3d% %4d% %5d% +0905=2,set_door %1d% lock %2h% +0906=2,set_object %1d% mass_to %2d% ; float +0907=2,get_object %1d% mass_to %2d% ; float +0908=2,set_object %1d% turn_mass_to %2d% ; float +0909=2,get_object %1d% turn_mass_to %2d% ; float +090A=0,NOP +090B=0,NOP +090C=1,highlight_inactive_gang_zone %1g% as_available_for_gangwars +090D=0,highlight_all_inactive_gang_zones_as_available_for_gangwars +090E=2,set_panel %1d% active_row %2d% +090F=1,end_external_script %1x% +0910=1,release_external_script %1x% +0911=0,NOP +0912=3,set_text_priority %1h% leftmargin %2d% maxwidth %3d% +0913=-1,run_external_script %1x% +0914=1,NOP %1d% +0915=0,sync_weather_with_time_and_location_instantly +0916=2,set_object %1d% attractive_to_magnet %2h% +0917=2,audio_zone %1g% enable_sound %2h% +0918=2,set_car %1d% engine_operation %2h% +0919=2,enable_car %1d% parking_lights %2h% +091A=1,NOP %1d% +091B=0,NOP +091C=7,get_actor_in_sphere %1d% %2d% %3d% radius %4d% model %5o% external_script_named %6h% handle_as %7d% +091D=6,remove_forbidden_for_boats_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% +091E=6,create_forbidden_for_boats_cube_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% +091F=2,get_plane %1d% landing_gear_status_to %2d% +0920=8,point_camera %1d% %2d% %3d% transverse_to %4d% %5d% %6d% time %7d% smooth_transition %8h% +0921=0,NOP +0922=4,set_camera_zoom_from %1d% to %2d% timelimit %3d% smooth_transition %4h% +0923=1,enable_air_traffic %1h% +0924=2,enable_screen_darkness %1h% with_value %2h% +0925=0,restore_camera_to_user_defined +0926=2,%2d% = external_script_status %1x% +0927=0,NOP +0928=3,init_external_script_trigger %1x% with_actor_model %2o% priority %3h% +0929=5,init_external_script_trigger %1x% with_object_model %2o% priority %3h% radius %4d% type %5h% +092A=0,NOP +092B=3,%3d% = group %1d% member %2d% +092C=0,NOP +092D=0,NOP +092E=4,get_water_height_at %1d% %2d% ignore_waves %3h% store_to %4d% +092F=1,lock_camera_target_point %1h% +0930=1,lock_camera_position %1h% +0931=1,lock_camera_zoom %1h% +0932=0,NOP +0933=0, camera_position_manipulated +0934=0, camera_target_point_manipulated +0935=0,NOP +0936=8,set_camera %1d% %2d% %3d% position_to %4d% %5d% %6d% time %7d% smooth_transition %8h% +0937=6,text_draw_box_cornerA %1d% %2d% cornerB %3d% %4d% GXT_reference %5g% style %6h% +0938=0,NOP +0939=8,attach_car %1d% to_object %2d% with_offset %3d% %4d% %5d% rotation %6d% %7d% %8d% +093A=2,set_paynspray %1g% type_to_girlfriend %2h% +093B=2,set_actor %1d% upper_body_damage_anims_only %2h% +093C=0,NOP +093D=1,lock_camera_on_cinematic_view %1h% +093E=2,NOP %1d% %2d% +093F=0,NOP +0940=2,set_group %1d% enters_leaders_vehicle %2h% +0941=2,unknown_searchlight %1d% flag %2h% +0942=1, item_with_textureCRC %1d% is_clothing +0943=0,NOP +0944=1,manipulate_weapon_camera %1d% +0945=2,get_player %1d% max_armour_to %2d% +0946=2,set_actor %1d% actions_uninterupted_by_weapon_fire %2d% +0947=3,actor %1d% speak_from_audio_table %2d% store_spoken_phrase_id_to %3d% +0948=5,create_explosion_at %1d% %2d% %3d% type %4h% camera_shake %5d% +0949=2,link_wav %1d% to_actor %2d% +094A=2,set_money_pickup %1d% cash_to %2d% +094B=2,%2d% = get_active_interior_name_from_actor %1d% ; 16-byte string +094C=5,get_actor %1d% currently_used_EnEx_3D_coord_to %2d% %3d% %4d% number_to %5d% +094D=1, actor %1d% mutally_active +094E=2,set_actor %1d% mute_pain_audio %2h% +094F=1,enable_actor %1d% pain_audio +0950=4,set_trip_skip %1d% %2d% %3d% angle %4d% +0951=0,disable_trip_skip +0952=1,load_soundtrack %1h% +0953=1,get_soundtrack_status_to %1d% +0954=0,start_playing_loaded_soundtrack +0955=0,end_playing_loaded_soundtrack +0956=1,get_respect_to %1d% +0957=2,set_car %1d% provides_cover_from_gunfire %2h% +0958=4,%4d% = create_photo_at %1d% %2d% %3d% +0959=4,%4d% = create_horseshoe_at %1d% %2d% %3d% +095A=4,%4d% = create_oyster_at %1d% %2d% %3d% +095B=1, is_object_moveable %1d% +095C=12,create_smoke_at %1d% %2d% %3d% velocity %4d% %5d% %6d% RGBA %7d% %8d% %9d% %10d% size %11d% last_factor %12d% +095D=1, actor %1d% stuck_under_car +095E=4,set_car %1d% door %2h% unlatch %3h% angle %4d% +095F=3,get_car %1d% door %2h% angle_to %3d% +0960=2,enable_player %1d% stats_box %2h% +0961=2,set_actor %1d% keep_tasks_after_cleanup %2h% +0962=0,NOP +0963=0,NOP +0964=9,create_square_color_panel %1g% position %2d% %3d% width %4d% columns %5h% interactive %6h% background %7h% alignment %8h% panelID %9d% +0965=1, actor %1d% swimming +0966=2,get_actor %1d% swimming_status_to %2d% +0967=2,actor %1d% move_mouth %2d% ms +0968=1,actor %1d% stop_mouth +0969=1, car %1d% is_big +096A=1,enable_flying_helis %1h% +096B=0,save_current_modparts +096C=0,restore_current_modparts +096D=3,get_car %1d% component_on_slot %2h% model_to %3d% +096E=1, car %1d% lowrider +096F=1, car %1d% street_racing_car +0970=0,teleport_in_override_restart ; 016Eh +0971=0,sync_water +0972=4,put_actor %1d% at %2d% %3d% %4d% no_offset +0973=1, fire %1d% exists +0974=0,emulate_wasted_busted ; 12 hours and clear weapons +0975=1, car %1d% emergency_vehicle +0976=1,destroy_particle %1d% +0977=1, player_in_radius_of_object %1d% external_script_trigger +0978=2,copy_decision_maker %1d% to %2d% +0979=0,NOP +097A=4,play_audio_at %1d% %2d% %3d% event %4d% +097B=2,play_audio_at_object %1d% event %2d% +097C=2,attach_wav %1h% to_object %2d% +097D=2,get_car %1d% number_of_color_indices_to %2h% +097E=0,NOP +097F=0,NOP +0980=4,extinguish_all_fires_at %1d% %2d% %3d% radius %4d% +0981=1, train %1d% wrecked +0982=2,set_actor %1d% stay_in_car_when_dead %2h% +0983=1,unknown_disable_gang_wars %1h% +0984=2,%2d% = object %1d% model +0985=7,set_objects_in_sphere %1d% %2d% %3d% radius %4d% with_model %5d% solid %6h% for_actor %7d% +0986=0,remove_references_to_all_fires +0987=2,get_car_blocking_car %1d% store_to %2d% +0988=2,get_car %1d% paintjob %2d% +0989=1,set_text_boxes_width %1d% +098A=1,set_gunshot_sense_range_for_riot2 %1d% +098B=3,%3d% = %1d% + %2d% ; all string variables +098C=3,%3d% = %1d% + %2d% ; all string variables +098D=2,get_car %1d% extra_parts_angle %2d% +098E=3,set_interior %1g% bitmask %2d% flag %3h% +098F=0,NOP +0990=0,NOP +0991=1,set_soundtrack_paused %1h% +0992=2,set_player %1d% weapons_scrollable %2h% +0993=0,NOP +0994=3,unknown_create_escape_at %1d% %2d% %3d% +0995=0,unknown_remove_escapes +0996=2,set_racing_checkpoint %1d% Z_angle_to %2d% +0997=1,set_total_respect_points_to %1d% +0998=1,add_respect %1h% +0999=0,NOP +099A=2,set_car %1d% collision_detection %2h% +099B=1,unknown_enable_car %1d% collision_on_path +099C=3,jiggle_camera type %1h% timelimit %2d% intensity %3d% +099D=0, night_vision_enabled +099E=1,enable_police_patrols %1h% +099F=2,AS_actor %1h% ignore_weapon_range %2h% +09A0=10,actor %1d% attach_object %2d% with_offset %3d% %4d% %5d% on_bone %6h% %7h% perform_animation %8h% IFP_file %9h% time %10h% +09A1=2,set_actor %1d% onbone_attached_objectB_operation %2b% +09A2=1,destroy_object_with_fade %1d% +09A3=1,show_siterocket_on_bumper_camera %1h% +09A4=6,set_dialogue_classB_question_GXT %1g% answer_Y_GXT %2g% answer_N_GXT %3g% question_WAV %4d% answer_Y_WAV %5d% answer_N_WAV %6d% +09A5=0,NOP +09A6=1,enable_interior_radar_blips %1h% +09A7=2,set_actor %1d% drugged_up %2h% +09A8=1, actor %1d% headshoted +09A9=2,get_string %1h% CRC32_to %2d% ; 16-byte strings +09AA=2,set_dialogue_classB_end_GXT %1g% WAV %2d% +09AB=2,set_passengers_in_car %1d% speak_from_audio_table %2h% ; similar to 0947 +09AC=1,disable_map_icons %1h% +09AD=1,set_vehicle_camera_mode %1h% +09AE=1, actor %1d% driving_train +09AF=4,set_trip_skip_after_mission %1d% %2d% %3d% angle %4d% +09B0=2,set_car %1d% accessible_for_player_using_controller %2h% +09B1=0,NOP +09B2=3,get_random_available_car_unk %1h% model_to %2d% class_to %3d% +09B3=2,get_car %1d% door_status %2d% +09B4=5,set_object_property_at %1d% %2d% radius %3d% bitmask %4d% flag %5h% +09B5=2,set_actor %1d% signal_after_kill %2h% +09B6=2,set_actor %1d% wanted_by_police %2h% +09B7=2,set_zone %1g% disable_footcops %2h% +09B8=8,create_blood_gush_at %1d% %2d% %3d% with_offset %4d% %5d% %6d% density %7h% on_actor %8d% +09B9=1,show_entered_car_name %1h% +09BA=1,show_entered_zone_name %1h% +09BB=2, car %1d% has_visible_damage_on_component %2h% +09BC=4,put_actor %1d% at %2d% %3d% %4d% no_offset_and_dont_warp_gang +09BD=1,allow_other_threads_to_display_text_boxes %1h% +09BE=0, are_text_boxes_locked_to_any_thread +09BF=1,set_random_traffic_spawn_to_model %1o% ; Load the vehicle model before using this +09C0=7,%7d% = get_random_car_in_area %1d% %2d% %3d% %4d% %5d% with_actors %6h% +09C1=1,add_next_text_to_brief_history %1h% +09C2=0,cancel_rampage +09C3=6, police_car_in_rectangle_cornerA %1d% %2d% %3d% cornerB %4d% %5d% %6d% +09C4=2,set_car %1d% gas_tank_explosion_enabled %2h% +09C5=1, unknown_actor %1d% +09C6=4,%1d% %2d% %3d% %4d% +09C7=2,change_player %1d% model_to %2o% +09C8=0, menu_subtitles_switched_on +09C9=2,disembark_actor %1d% from_car %2d% and_freeze_actor_position +09CA=6,set_object %1d% immunities BP %2h% FP %3h% EP %4h% CP %5h% MP %6h% +09CB=2, vehicle %1d% colliding_with_vehicle %2d% +09CC=2, object %1d% model_is %2o% +09CF=2,set_train %1d% stop_at_stations %2h% +09D0=1, car %1d% on_wheels +09D1=1, pickup %1d% created +09D2=1,set_cops_chase_criminals %1d% +09D3=0,NOP +09D4=0,suspend_wanted_level +09D5=6,play_sound_of_actor %1d% soundslot %2d% unknown_flags %3h% %4h% %5h% as %6d% ; extended 0947 +09D6=5,unknown_set_actor %1d% sound %2d% flags %3h% %4h% %5h% +09D7=2,set_player %1d% force_interior_lighting %2h% +09D8=1,NOP %1h% +09D9=0,detonate_all_satchel_charges +09DA=3, cash_pickup_at %1d% %2d% %3d% +09DB=3,set_panel %1d% column %2h% width %3d% +09DC=0,NOP +09DD=1,unknown_player_group %1h% +09DE=1, actor %1d% entering_car +09E0=5,trip_skip %1d% %2d% %3d% angle %4d% when_in_car %5d% +09E1=2,get_car_model %1o% price_to %2d% +09E2=14,%14d% = parked_car_generator_w_numberplate %5o% colors %6d% %7d% force_spawn %8d% alarm %9d% door_lock %10d% min_delay %11d% max_delay %12d% plate %13h% at %1d% %2d% %3d% angle %4d% +09E3=1, train %1d% traveling_clockwise +09E4=1,enable_aircraftcarrier_sam %1h% +09E5=7,create_flash_light_at %1d% %2d% %3d% RGB_mask %4d% %5d% %6d% radius %7d% +09E6=1,set_burglary_houses_accessible %1h% +09E7=1, player %1d% not_frozen +09E8=2,%2d% = actor %1d% active_interior +09E9=1,car %1d% set_single_nitro +09EA=0,NOP +09EB=2,remove_player_goggles %1d% use_anim %2h% +09EC=1,set_garages_leave_camera_alone %1d% +09ED=2, actor %1d% is_within_field_of_view_actor %2d% +09EE=1,set_status_text_stay_on_screen %1h% +09EF=4,set_behind_camera_autoposition_mode_for_car_model %1o% distance %2d% altitude_multiplier %3d% angle_X %4d% +09F0=0,restore_behind_camera_autoposition_mode_for_all_car_models +09F1=2,play_audio_at_actor %1d% event %2d% +09F2=1, decision_maker %1d% exists +09F3=0,NOP +09F4=2,set_actor %1d% ignore_height_difference_following_nodes %2h% +09F5=1,disable_player_mutal_activities %1d% +09F6=2,set_actor %1d% unjackable_through_driver_seat %2h% +09F7=2,play_audio_at_car %1d% event %2d% +09F8=0,give_player2_weapons_of_player1 +09F9=0,NOP +09FA=0, is_menu_closed +09FB=1,%1d% = current_language +09FC=1, anything_entered_objects_position %1d% +09FD=2,get_gxt_string %1g% width_to %2d% +09FE=1,reset_hydraulics_on_car %1d% +09FF=3,set_restart_closest_to %1d% %2d% %3d% +0A00=0,NOP +0A01=1, model %1o% car +0A02=2,set_searchlight %1d% lights_through_obstacles %2h% +0A03=0, unknown_gang_war_in_progress +0A04=0,NOP +0A05=0,NOP +0A06=1, train %1d% next_station_unlocked +0A07=1,put_train %1d% at_next_station +0A08=3,get_gxt_string_1number %1g% number %2d% width_to %3d% +0A09=2,set_actor %1d% muted %2h% ; versionB +0A0A=2,unknown_object %1d% flag %2h% +0A0B=4,set_rendering_origin_at_3D_coord %1d% %2d% %3d% angle %4d% +0A0C=1, player %1d% on_jetpack +0A0D=0,NOP +0A0E=1,disable_text_with_style %1h% +0A0F=0, new_language_set +0A10=2,increase_integer_stat %1d% by %2h% +0A11=3,set_car %1d% tertiary_color_to %2d% quaternary_color_to %3d% +0A12=3,get_car %1d% tertiary_color_to %2d% quaternary_color_to %3d% +0A13=0,unknown_sync_player_camera +0A14=1,disable_respray_garages %1h% +0A15=1, is_car_affected_by_cheats %1d% +0A16=2,link_wav %1h% to_car %2d% +0A17=2,set_parked_car_generator %1d% to_player_owned %2h% +0A18=6,set_dialogue_classA_question_GXT %1g% answer_yes_GXT %2g% answer_no_GXT %3g% question_WAV %4d% answer_yes_WAV %5d% answer_no_WAV %6d% +0A19=1,display_zone_text %1g% +0A1A=9,actor %1d% perform_walk_animation %2h% IFP %3h% framedelta %4d% loopA %5h% lockX %6h% lockY %7h% lockF %8h% %9h% ms ; versionC +0A1B=2, actor %1d% colliding_with_actor %2d% +0A1C=2,set_helicopter %1d% play_engine_sounds %2h% +0A1D=2,AS_actor %1d% rotate_to_and_look_at_actor %2d% +0A1E=1,dump_screen %1h% +0A1F=2,increase_float_stat %1h% by %2d% +0A20=2,disable_player %1d% group_control_back %2h% +0A21=2,set_car %1d% not_affected_by_cheats %2h% +0A22=4,set_car_color_to_panel_color_panelID %1d% car %2d% colorslot %3h% active_row %4d% +0A23=3,set_panel %1d% row %2d% shopping_item_bought %3h% +0A24=1,enable_military_zones_wanted_level %1h% +0A25=2,set_camera_on_players_X_angle %1d% Z_angle %2d% +0A26=0,set_radio_to_favorite_station +0A27=2,set_actor %1d% death_pickups_persist %2h% +0A28=2,set_actor %1d% swimming_speed_to %2d% +0A29=1, player %1d% climbing +0A2A=1, text_box %1g% displayed +0A2B=0, widescreen_option_enabled +0A2C=1,hide_priority_text_while_fading %1h% +0A2D=1,hide_styled_text_while_fading %1h% ; works with 00BA +0A2E=7,AS_actor %1d% go_to %2d% %3d% %4d% mode %5h% time %6h% stop_radius %7d% following_paths +0A2F=1,show_first_person_view %1h% +0A30=1,repair_car %1d% +0A31=2,set_player %1d% group_to_follow_never %2h% +0A32=1, actor %1d% on_turret_of_car +0A33=2,get_car_ped_is_attached_to %1d% store_to %2d% +0A34=0,NOP +0A35=5,trip_skip %1d% %2d% %3d% angle %4d% when_in_car %5d% finished_by_script +0A36=0, trip_skip_finished_by_script_is_ready_to_fade_in +0A37=1,disable_vehicle_lights %1d% +0A38=0,NOP +0A39=1,get_vehicle_camera_mode_to %1d% +0A3A=2, player %1d% last_model_shot %2o% +0A3B=1,clear_player %1d% last_model_shot +0A3C=2,set_dialogue_classA_end_GXT %1g% WAV %2d% +0A3D=1,enable_prostitutes_pay_you %1h% and_scm_inject +0A3E=7,unknown_get_actor_in_sphere %1d% %2d% %3d% radius %4d% %5d% %6d% handle_as %7d% +0A3F=1,set_unused_flag %1h% +0A40=5,%5d% = create_entrance_marker_at %1d% %2d% %3d% color %4h% +0A41=1,destroy_entrance_marker %1d% +0A42=0,NOP +0A43=0,get_rid_of_player_prostitute +0A44=1,override_text_block %1h% +0A45=1,set_rail_tracks_friction_to %1d% +0A46=2,set_external_scripts_triggers_type %1h% enabled %2h% +0A47=0,set_dialogue_mode_enabled_without_GXT +0A48=1,enable_menu_access_in_widescreen_mode %1h% +0A49=0, NOP_false +0A4A=2,store_joystick_X_offset_to %1h% Y_offset_to %2h% +0A4B=0, controls_set_to_joystick +0A4C=0, mouse_not_inverted_vertically +0A4D=0, NOP_false +0A4E=0,increment_useless_flag +0A8C=4,write_memory %1d% size %2d% value %3d% virtual_protect %4d% +0A8D=4,%4d% = read_memory %1d% size %2d% virtual_protect %3d% +0A8E=3,%3d% = %1d% + %2d% ; int +0A8F=3,%3d% = %1d% - %2d% ; int +0A90=3,%3d% = %1d% * %2d% ; int +0A91=3,%3d% = %1d% / %2d% ; int +0A92=-1,create_custom_thread %1s% +0A93=0,end_custom_thread +0A94=-1,start_custom_mission %1s% +0A95=0,enable_thread_saving +0A96=2,%2d% = actor %1d% struct +0A97=2,%2d% = car %1d% struct +0A98=2,%2d% = object %1d% struct +0A99=1,chdir %1buserdir/rootdir% +0A9A=3,%3d% = openfile %1s% mode %2d% ; IF and SET +0A9B=1,closefile %1d% +0A9C=2,%2d% = file %1d% size +0A9D=3,readfile %1d% size %2d% to %3d% +0A9E=3,writefile %1d% size %2d% from %3d% +0A9F=1,%1d% = current_thread_pointer +0AA0=1,gosub_if_false %1p% +0AA1=0,return_if_false +0AA2=2,%2h% = load_library %1s% ; IF and SET +0AA3=1,free_library %1h% +0AA4=3,%3d% = get_proc_address %1s% library %2d% ; IF and SET +0AA5=-1,call %1d% num_params %2h% pop %3h% +0AA6=-1,call_method %1d% struct %2d% num_params %3h% pop %4h% +0AA7=-1,call_function %1d% num_params %2h% pop %3h% +0AA8=-1,call_function_method %1d% struct %2d% num_params %3h% pop %4h% +0AA9=0, is_game_version_original +0AAA=2,%2d% = thread %1s% pointer +0AAB=1, file_exists %1s% +0AAC=2,%2d% = load_audiostream %1d% +0AAD=2,set_mp3 %1d% perform_action %2d% +0AAE=1,release_mp3 %1d% +0AAF=2,%2d% = get_mp3_length %1d% +0AB0=1, key_pressed %1d% +0AB1=-1,call_scm_func %1p% +0AB2=-1,ret +0AB3=2,var %1d% = %2d% +0AB4=2,%2d% = var %1d% +0AB5=3,store_actor %1d% closest_vehicle_to %2d% closest_ped_to %3d% +0AB6=3,store_target_marker_coords_to %1d% %2d% %3d% // IF and SET +0AB7=2,get_vehicle %1d% number_of_gears_to %2d% +0AB8=2,get_vehicle %1d% current_gear_to %2d% +0AB9=2,get_mp3 %1d% state_to %2d% +0ABA=1,end_custom_thread_named %1s% +0ABB=2,%2d% = audiostream %1d% volume +0ABC=2,set_audiostream %1d% volume %2d% +0ABD=1, vehicle %1d% siren_on +0ABE=1, vehicle %1d% engine_on +0ABF=2,set_vehicle %1d% engine_state_to %2d% +0AC0=2,audiostream %1d% loop %2d% +0AC1=2,%2d% = load_audiostream_with_3d_support %1d% ; IF and SET +0AC2=4,set_audiostream %1d% 3d_position %2d% %3d% %4d% +0AC3=2,link_3d_audiostream %1d% to_object %2d% +0AC4=2,link_3d_audiostream %1d% to_actor %2d% +0AC5=2,link_3d_audiostream %1d% to_vehicle %2d% +0AC6=2,%2d% = label %1p% offset +0AC7=2,%2d% = var %1d% offset +0AC8=2,%2d% = allocate_memory_size %1d% +0AC9=1,free_allocated_memory %1d% +0ACA=1,show_text_box %1s% +0ACB=3,show_styled_text %1s% time %2d% style %3d% +0ACC=2,show_text_lowpriority %1s% time %2d% +0ACD=2,show_text_highpriority %1s% time %2d% +0ACE=-1,show_formatted_text_box %1s% +0ACF=-1,show_formatted_styled_text %1s% time %2d% style %3d% +0AD0=-1,show_formatted_text_lowpriority %1s% time %2s% +0AD1=-1,show_formatted_text_highpriority %1s% time %2s% +0AD2=2,%2d% = player %1d% targeted_actor //IF and SET +0AD3=-1,%1d% = format %2s% +0AD4=-1,%3d% = scan_string %1d% format %2s% +0AD5=3,file %1d% seek %2d% from_origin %3d% //IF and SET +0AD6=1, end_of_file %1d% reached +0AD7=3,read_string_from_file %1d% to %2d% size %3d% // IF and SET +0AD8=2,write_string_to_file %1d% from %2d% //IF and SET +0AD9=-1,write_formatted_text %2d% in_file %1d% +0ADA=-1,%3d% = scan_file %1d% format %2d% //IF and SET +0ADB=2,%2d% = car_model %1o% name +0ADC=1, test_cheat %1d% +0ADD=1,spawn_car_with_model %1o% like_a_cheat +0ADE=2,%2d% = text_by_GXT_entry %1d% +0ADF=2,add_dynamic_GXT_entry %1d% text %2d% +0AE0=1,remove_dynamic_GXT_entry %1d% +0AE1=7,%7d% = random_actor_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% pass_deads %6h% //IF and SET +0AE2=7,%7d% = random_vehicle_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% pass_wrecked %6h% //IF and SET +0AE3=6,%6d% = random_object_near_point %1d% %2d% %3d% in_radius %4d% find_next %5h% //IF and SET +0AE4=1, directory_exists %1d% +0AE5=1,create_directory %1d% ; IF and SET +0AE6=3,%2d% = find_first_file %1d% get_filename_to %3d% ; IF and SET +0AE7=2,%2d% = find_next_file %1d% ; IF and SET +0AE8=1,find_close %1d% +0AE9=1,pop_float %1d% +0AEA=2,%2d% = actor_struct %1d% handle +0AEB=2,%2d% = car_struct %1d% handle +0AEC=2,%2d% = object_struct %1d% handle +0AED=3,%3d% = float %1d% to_string_format %2d% +0AEE=3,%3d% = exp %1d% base %2d% //all floats +0AEF=3,%3d% = log %1d% base %2d% //all floats +0AF0=4,%4d% = get_int_from_ini_file %1s% section %2s% key %3s% +0AF1=4,write_int %1d% to_ini_file %2s% section %3s% key %4s% +0AF2=4,%4d% = get_float_from_ini_file %1s% section %2s% key %3s% +0AF3=4,write_float %1d% to_ini_file %2s% section %3s% key %4s% +0AF4=4,%4d% = read_string_from_ini_file %1s% section %2s% key %3s% +0AF5=4,write_string %1s% to_ini_file %2s% section %3s% key %4s% +0B00=1,delete_file %1d% ;; IF and SET +0B01=2,delete_directory %1d% with_all_files_and_subdirectories %2d% ;; IF and SET +0B02=2,move_file %1d% to %2d% ;; IF and SET +0B03=2,move_directory %1d% to %2d% ;; IF and SET +0B04=2,copy_file %1d% to %2d% ;; IF and SET +0B05=2,copy_directory %1d% to %2d% ;; IF and SET +0B10=3,%3d% = %1d% AND %2d% +0B11=3,%3d% = %1d% OR %2d% +0B12=3,%3d% = %1d% XOR %2d% +0B13=2,%2d% = NOT %1d% +0B14=3,%3d% = %1d% MOD %2d% +0B15=3,%3d% = %1d% SHR %2d% +0B16=3,%3d% = %1d% SHL %2d% diff --git a/scm/main.scm b/scm/main.scm new file mode 100644 index 0000000000000000000000000000000000000000..3239c8a6d94bd882c2d348f855567a4eb1680b74 GIT binary patch literal 103876 zcmeEve?VNt)%M-x?qMOApxG!IVu*qv38^F@h_ZzJ3A?bs3M4_L32jkPu|-8i#TJz) zDppLW(nu{TRa9!JMMaBB5{#%sv66}{8lqTHF`}ZPqWR7UUUUUUUUUU zUi`< zY<1XkUEad28|Ucr^EUe2g@x{|g%00rVv{@9m1B2$GF-E@nl_`KtCf0h?z$hUHD}h= z0)PI--0U@TDb_o=J!c`_?548bT~sK!*&exWuWxICFRyU6l4ZnaEjpJyn{xP^*;}*h z&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4+^egNmB3FolAeTMFjX{84E-Rr80WSW@$v)XJ&(r~(Bwzf)=sQS(iO zxuoV_P_V4#Z%{Z>^Z$`n3u^vA9uhTQuSibKmrFZC)cky5Evxxq%3f0QWxPISQS|H{Z(gBK;)O@a@B{lyKgO=6&MdRr PdCA|1;yA1}qJaJnbxzZM literal 0 HcmV?d00001 diff --git a/scm/main.txt b/scm/main.txt new file mode 100644 index 0000000..e65a226 --- /dev/null +++ b/scm/main.txt @@ -0,0 +1,30117 @@ +// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013 +DEFINE OBJECTS 78 +DEFINE OBJECT SANNY BUILDER 3.04 +DEFINE OBJECT AD_FLATDOOR // Object number -1 +DEFINE OBJECT KB_BANDIT_U // Object number -2 +DEFINE OBJECT ROULETTE_TBL // Object number -3 +DEFINE OBJECT VENDMACHFD // Object number -4 +DEFINE OBJECT VENDMACH // Object number -5 +DEFINE OBJECT VENDIN3 // Object number -6 +DEFINE OBJECT CJ_SPRUNK1 // Object number -7 +DEFINE OBJECT CJ_CANDYVENDOR // Object number -8 +DEFINE OBJECT CJ_EXT_CANDY // Object number -9 +DEFINE OBJECT NEIL_SLOT // Object number -10 +DEFINE OBJECT CJ_SLOT_BANK // Object number -11 +DEFINE OBJECT BLCK_JACK // Object number -12 +DEFINE OBJECT WHEEL_O_FORTUNE // Object number -13 +DEFINE OBJECT CRACKFACT_SFS // Object number -14 +DEFINE OBJECT CF_EXT_DEM_SFS // Object number -15 +DEFINE OBJECT LODCRACKFACT_SFS // Object number -16 +DEFINE OBJECT LODEXT_DEM_SFS // Object number -17 +DEFINE OBJECT WOODENBOX // Object number -18 +DEFINE OBJECT TRDCSGRGDOOR_LVS // Object number -19 +DEFINE OBJECT MD_POSTER // Object number -20 +DEFINE OBJECT CR_DOOR_01 // Object number -21 +DEFINE OBJECT CR_DOOR_03 // Object number -22 +DEFINE OBJECT SHUTTER_VEGAS // Object number -23 +DEFINE OBJECT CR1_DOOR // Object number -24 +DEFINE OBJECT CT_GATEXR // Object number -25 +DEFINE OBJECT A51_JETDOOR // Object number -26 +DEFINE OBJECT PORTAKABIN // Object number -27 +DEFINE OBJECT AB_CASDORLOK // Object number -28 +DEFINE OBJECT IMY_SHASH_WALL // Object number -29 +DEFINE OBJECT TWRCRANE_M_04 // Object number -30 +DEFINE OBJECT TWRCRANE_M_01 // Object number -31 +DEFINE OBJECT TWRCRANE_M_02 // Object number -32 +DEFINE OBJECT LODCRANE_M_04 // Object number -33 +DEFINE OBJECT LODCRANE_M_01 // Object number -34 +DEFINE OBJECT MAGNOCRANE_01 // Object number -35 +DEFINE OBJECT MAGNOCRANE_02 // Object number -36 +DEFINE OBJECT MAGNOCRANE_03 // Object number -37 +DEFINE OBJECT LODNOCRANE_01 // Object number -38 +DEFINE OBJECT LODNOCRANE_02 // Object number -39 +DEFINE OBJECT LODNOCRANE_03 // Object number -40 +DEFINE OBJECT QUARRY_CRANEBASE // Object number -41 +DEFINE OBJECT QUARRY_CRANE // Object number -42 +DEFINE OBJECT QUARRY_CRANEARM // Object number -43 +DEFINE OBJECT A51_VENTCOVERB // Object number -44 +DEFINE OBJECT CARRIER_LIFT2_SFSE // Object number -45 +DEFINE OBJECT CARRIER_LIFT1_SFSE // Object number -46 +DEFINE OBJECT KB_BEER // Object number -47 +DEFINE OBJECT CJ_JUICE_CAN // Object number -48 +DEFINE OBJECT A51_SPOTBASE // Object number -49 +DEFINE OBJECT A51_SPOTHOUSING // Object number -50 +DEFINE OBJECT A51_SPOTBULB // Object number -51 +DEFINE OBJECT PARACHUTE // Object number -52 +DEFINE OBJECT PARA_COLLISION // Object number -53 +DEFINE OBJECT CJ_WHEEL_1 // Object number -54 +DEFINE OBJECT CJ_WHEEL_02 // Object number -55 +DEFINE OBJECT CJ_WHEEL_03 // Object number -56 +DEFINE OBJECT CHIP_STACK07 // Object number -57 +DEFINE OBJECT CHIP_STACK08 // Object number -58 +DEFINE OBJECT CHIP_STACK12 // Object number -59 +DEFINE OBJECT CHIP_STACK09 // Object number -60 +DEFINE OBJECT CHIP_STACK11 // Object number -61 +DEFINE OBJECT ROULETTE_MARKER // Object number -62 +DEFINE OBJECT KMB_ROCK // Object number -63 +DEFINE OBJECT CHIP_STACK10 // Object number -64 +DEFINE OBJECT CHIP_STACK13 // Object number -65 +DEFINE OBJECT CHIP_STACK14 // Object number -66 +DEFINE OBJECT WHEEL_SUPPORT // Object number -67 +DEFINE OBJECT WHEEL_TABLE // Object number -68 +DEFINE OBJECT CLICKER // Object number -69 +DEFINE OBJECT CJ_EXT_SPRUNK // Object number -70 +DEFINE OBJECT PIZZAHIGH // Object number -71 +DEFINE OBJECT CJ_PIZZA_1 // Object number -72 +DEFINE OBJECT CJ_PIZZA_2 // Object number -73 +DEFINE OBJECT BURGERHIGH // Object number -74 +DEFINE OBJECT CJ_BURG_1 // Object number -75 +DEFINE OBJECT CJ_BURG_2 // Object number -76 +DEFINE OBJECT WHEEL_WEE // Object number -77 + +DEFINE MISSIONS 2 +DEFINE MISSION 0 AT @INITIAL // Initial 1 +DEFINE MISSION 1 AT @INITIL2 // Initial 2 + +DEFINE EXTERNAL_SCRIPTS 17 // Use -1 in order not to compile AAA script +DEFINE SCRIPT AMMU AT @AMUNAT // 0 +DEFINE SCRIPT BLACKJ AT @BLACKJ // 1 +DEFINE SCRIPT CARMOD1 AT @CARMOD // 2 +DEFINE SCRIPT JUNKFUD AT @JFUD // 3 +DEFINE SCRIPT OTBSLP AT @OTBSLP // 4 +DEFINE SCRIPT OTBTILL AT @OTBTILL // 5 +DEFINE SCRIPT OTBWTCH AT @OTBWTCH // 6 +DEFINE SCRIPT PEDCARD AT @PEDCARD // 7 +DEFINE SCRIPT PEDROUL AT @PEDROUL // 8 +DEFINE SCRIPT PEDSLOT AT @PEDSLOT // 9 +DEFINE SCRIPT PLAYER_PARACHUTE AT @PLCHUTE // 10 +DEFINE SCRIPT ROULETTE AT @ROULETE // 11 +DEFINE SCRIPT SLOT_MACHINE AT @BANDIT // 12 +DEFINE SCRIPT TICKET AT @TICKET // 13 +DEFINE SCRIPT VENDING_MACHINE AT @VENDING // 14 +DEFINE SCRIPT VIDPOK AT @VIDPOK // 15 +DEFINE SCRIPT WHEELO AT @WOF // 16 + +DEFINE UNKNOWN_EMPTY_SEGMENT 0 + +DEFINE UNKNOWN_THREADS_MEMORY 574 + +//-------------MAIN--------------- +thread 'MAIN' +fade 0 0 +042C: set_total_missions_to 147 +030D: set_max_progress 187 +0997: set_total_respect_points_to 1339 +01F0: set_max_wanted_level_to 0 +set_wb_check_to 0 +00C0: set_current_time_hours_to 1 minutes_to 0 +01EB: set_traffic_density_multiplier_to 0.0 +03DE: set_pedestrians_density_multiplier_to 0.0 +04E4: refresh_game_renderer_at 1093.0 -2036.0 +062A: change_float_stat 23 to 0.0 +062A: change_float_stat 22 to 999.0 +062A: change_float_stat 225 to 999.0 +062A: change_float_stat 21 to 0.0 +062A: change_float_stat 160 to 0.0 +0629: change_integer_stat 181 to 4 +0629: change_integer_stat 68 to 0 +062A: change_float_stat 81 to 10.0 +$PLAYER_CHAR = Player.Create(0, 1505.067, -892.1097, 58.73013) +0960: enable_player $PLAYER_CHAR stats_box 0 +0703: set_tags_painted_percentage_at -3000.0 -3000.0 3000.0 3000.0 value 255 +03E6: remove_text_box +07FB: set_interior 'CARLS' access 1 +07FB: set_interior 'AMMUN1' access 1 +07FB: set_interior 'AMMUN2' access 1 +07FB: set_interior 'AMMUN3' access 1 +07FB: set_interior 'AMMUN4' access 1 +07FB: set_interior 'AMMUN5' access 1 +07FB: set_interior 'BARBERS' access 1 +07FB: set_interior 'BARBER2' access 1 +07FB: set_interior 'BARBER3' access 1 +07FB: set_interior 'FDPIZA' access 1 +07FB: set_interior 'FDCHICK' access 1 +07FB: set_interior 'FDBURG' access 1 +07FB: set_interior 'TATTOO' access 1 +07FB: set_interior 'CSCHP' access 1 +07FB: set_interior 'CSSPRT' access 1 +07FB: set_interior 'LACS1' access 1 +07FB: set_interior 'CLOTHGP' access 1 +07FB: set_interior 'CSDESGN' access 1 +07FB: set_interior 'CSEXL' access 1 +07FB: set_interior 'GYM1' access 1 +07FB: set_interior 'GYM2' access 1 +07FB: set_interior 'GYM3' access 1 +07FB: set_interior 'PDOMES' access 1 +07FB: set_interior 'PDOMES2' access 1 +07FB: set_interior 'MADDOGS' access 1 +07FB: set_interior 'MDDOGS' access 1 +07FB: set_interior 'GANG' access 1 +07FB: set_interior 'RCPLAY' access 1 +07FB: set_interior 'PAPER' access 1 +07FB: set_interior 'ABATOIR' access 1 +07FB: set_interior 'LACRAK' access 1 +$PLAYER_ACTOR = Actor.EmulateFromPlayer($PLAYER_CHAR) +Actor.Angle($PLAYER_ACTOR) = 262.0 +start_mission 0 // Initial 1 +wait 0 +start_mission 1 // Initial 2 +$CUSTOM_TOURNAMENT_FLAG = 0 +$166 = 292.33 +$167 = -35.39 +$168 = 1000.5 +$164 = 0 +$193 = 1 +$193 = 2 +$LOWR_CONT_SCRIPT_LAUNCHED = 0 +$MISSION_CESAR_VIALPANDO_PASSED = 0 +$RACE_INDEX = 0 +$TORENO_TOTAL_PASSED_MISSIONS = 10 +$SYNDICATE_TOTAL_PASSED_MISSIONS = 10 +$TRUTH_TOTAL_PASSED_MISSIONS = 10 +$OG_LOC_TOTAL_PASSED_MISSIONS = 10 +$WUZIMU_TOTAL_PASSED_MISSIONS = 10 +$SMOKE_TOTAL_PASSED_MISSIONS = 10 +$RYDER_TOTAL_PASSED_MISSIONS = 10 +0A24: enable_military_zones_wanted_level 1 +09E4: enable_aircraftcarrier_sam 0 +07A8: enable_area69_sam 0 +03C7: set_sensitivity_to_crime 0.0 +0180: set_on_mission_flag_to $ONMISSION // Note: your missions have to use the variable defined here +04AE: $ICON_CJ = 15 // = constant +04AE: $ICON_SWEET = 38 // = constant +04AE: $ICON_RYDER = 34 // = constant +04AE: $ICON_BIG_DMOKE = 8 // = constant +04AE: $ICON_OG_LOC = 28 // = constant +04AE: $ICON_CRASH = 16 // = constant +04AE: $ICON_CESAR = 13 // = constant +04AE: $ICON_CATALINA = 12 // = constant +04AE: $ICON_TRUTH = 40 // = constant +04AE: $ICON_WOOZIE = 46 // = constant +04AE: $ICON_LOCOSYNDICATE = 23 // = constant +04AE: $ICON_TRIADS = 43 // = constant +04AE: $ICON_CESAR_2 = 13 // = constant +04AE: $ICON_RACE = 33 // = constant +04AE: $ICON_ZERO = 47 // = constant +04AE: $ICON_TRIADS_CASINO = 44 // = constant +04AE: $ICON_MAFIA_CASINO = 25 // = constant +04AE: $ICON_CASH = 52 // = constant +04AE: $ICON_MADDOG = 24 // = constant +04AE: $ICON_TORENO = 42 // = constant +04AE: $ICON_AIRYARD = 5 // = constant +04AE: $ICON_CJ_2 = 15 // = constant +04AE: $ICON_SCHOOL = 36 // = constant +04AE: $ICON_SWEET_2 = 38 // = constant +01E8: create_forbidden_for_cars_cube_cornerA 2500.0 -1677.0 20.0 cornerB 2430.0 -1653.0 0.0 +$672 = 0 +$TOTAL_FOOD_EATEN = 0 +$FOOD_PLAYER_AGGRESSIVE_FLAG = 0 +$692 = 1.0 +$693 = 1.6 +$694 = 200 +$695 = 200 +$696 = 200 +$697 = 255 +$698 = 100 +$699 = 100 +$700 = 100 +$701 = 255 +$702 = 20 +$703 = 20 +$704 = 20 +$705 = 255 +$VIDEO_GAME = -1 +$709 = 0 +0914: NOP 1 +0914: NOP 2 +0914: NOP 3 +0914: NOP 4 +0914: NOP 5 +0914: NOP 6 +0914: NOP 7 +0914: NOP 8 +0914: NOP 9 +0914: NOP 10 +0914: NOP 11 +0914: NOP 12 +0914: NOP 13 +0914: NOP 16 +0914: NOP 14 +0914: NOP 15 +0929: init_external_script_trigger 11 (ROULETTE) with_object_model #ROULETTE_TBL priority 100 radius 50.0 type 1 +0929: init_external_script_trigger 12 (SLOT_MACHINE) with_object_model #KB_BANDIT_U priority 100 radius 6.0 type 1 +0929: init_external_script_trigger 14 (VENDING_MACHINE) with_object_model #VENDMACHFD priority 100 radius 6.0 type -1 +0929: init_external_script_trigger 14 (VENDING_MACHINE) with_object_model #VENDMACH priority 100 radius 6.0 type -1 +0929: init_external_script_trigger 14 (VENDING_MACHINE) with_object_model #VENDIN3 priority 100 radius 6.0 type -1 +0929: init_external_script_trigger 14 (VENDING_MACHINE) with_object_model #CJ_SPRUNK1 priority 100 radius 6.0 type -1 +0929: init_external_script_trigger 14 (VENDING_MACHINE) with_object_model #CJ_CANDYVENDOR priority 100 radius 6.0 type -1 +0929: init_external_script_trigger 14 (VENDING_MACHINE) with_object_model #CJ_EXT_CANDY priority 100 radius 6.0 type -1 +0929: init_external_script_trigger 14 (VENDING_MACHINE) with_object_model #CJ_EXT_SPRUNK priority 100 radius 6.0 type -1 +$709 = 0 +0929: init_external_script_trigger 15 (VIDPOK) with_object_model #NEIL_SLOT priority 100 radius 4.0 type 1 +0929: init_external_script_trigger 15 (VIDPOK) with_object_model #CJ_SLOT_BANK priority 100 radius 4.0 type 1 +0929: init_external_script_trigger 1 (BLACKJ) with_object_model #BLCK_JACK priority 100 radius 70.0 type 1 +0929: init_external_script_trigger 16 (WHEELO) with_object_model #WHEEL_O_FORTUNE priority 100 radius 70.0 type 1 +0776: create_objects_in_object_group "CRACK" +0363: create_static_object_at -2166.86 -236.5 40.86 radius 40.0 model #CRACKFACT_SFS visibility 1 +0363: create_static_object_at -2185.49 -215.55 34.31 radius 40.0 model #CF_EXT_DEM_SFS visibility 0 +0363: create_static_object_at -2166.86 -236.5 40.86 radius 40.0 model #LODCRACKFACT_SFS visibility 1 +0363: create_static_object_at -2185.49 -215.55 34.31 radius 40.0 model #LODEXT_DEM_SFS visibility 0 +$GS_GANG_CASH = 1 +0884: 'OTBWTCH' = init_external_script_named_handle 6 (OTBWTCH) +0884: 'OTBSLP' = init_external_script_named_handle 4 (OTBSLP) +0884: 'OTBTILL' = init_external_script_named_handle 5 (OTBTILL) +0884: 'PEDROUL' = init_external_script_named_handle 8 (PEDROUL) +0884: 'PEDCARD' = init_external_script_named_handle 7 (PEDCARD) +0884: 'PEDSLOT' = init_external_script_named_handle 9 (PEDSLOT) +0884: 'TICKET' = init_external_script_named_handle 13 (TICKET) +0363: create_static_object_at -2166.86 -236.5 40.86 radius 40.0 model #CRACKFACT_SFS visibility 1 +0363: create_static_object_at -2185.49 -215.55 34.31 radius 40.0 model #CF_EXT_DEM_SFS visibility 0 +0363: create_static_object_at -2166.86 -236.5 40.86 radius 40.0 model #LODCRACKFACT_SFS visibility 1 +0363: create_static_object_at -2185.49 -215.55 34.31 radius 40.0 model #LODEXT_DEM_SFS visibility 0 +create_thread_wb @INTMAN +create_thread @NONAME_1 +create_thread_wb @HJ +fade 0 0 +09BA: show_entered_zone_name 0 +wait 0 +03B7: process_cutscene_only 0 +0169: set_fade_color_RGB 0 0 0 +03B7: process_cutscene_only 1 +01F0: set_max_wanted_level_to 0 +if + Player.Defined($PLAYER_CHAR) +else_jump @MAIN_2103 +set_weather 14 +Player.SetClothes($PLAYER_CHAR, "VEST", "VEST", Torso) +Player.SetClothes($PLAYER_CHAR, "JEANSDENIM", "JEANS", Legs) +Player.SetClothes($PLAYER_CHAR, "SNEAKERBINCBLK", "SNEAKER", Shoes) +Player.SetClothes($PLAYER_CHAR, "PLAYER_FACE", "HEAD", Head) +055E: set_player $PLAYER_CHAR max_health += 100 +$2549 = 1 +Player.Build($PLAYER_CHAR) +0793: save_player_clothes +$MISSION_INTRO_PASSED = 0 +$41 = 1 +if + Player.Defined($PLAYER_CHAR) +else_jump @MAIN_2110 +select_interior 0 +Player.CanMove($PLAYER_CHAR) = True +01E8: create_forbidden_for_cars_cube_cornerA -100000.0 -100000.0 -100000.0 cornerB 100000.0 100000.0 100000.0 +022B: create_forbidden_for_peds_cube_cornerA -100000.0 -100000.0 -100000.0 cornerB 100000.0 100000.0 100000.0 +01EB: set_traffic_density_multiplier_to 0.0 +03DE: set_pedestrians_density_multiplier_to 0.0 +Camera.SetPosition(1093.0, -2036.0, 90.0, 0.0, 0.0, 0.0) +Camera.PointAt(384.0, -1557.0, 20.0, 2) +wait 500 +fade 1 1000 +jump @MAIN_2110 +hex + 67 0C A5 12 3E 26 +end + +:MAIN_2103 +$SCRIPT_STATUS = 0 + +:MAIN_2110 +wait 0 +if + Player.Defined($PLAYER_CHAR) +else_jump @MAIN_2110 +077E: get_active_interior_to $ACTIVE_INTERIOR +0652: $STAT_UNLOCKED_CITIES_NUMBER = integer_stat 181 +07D0: $WEEKDAY = weekday +09FB: $CURRENT_LANGUAGE = current_language +0842: $CURRENT_TOWN_NUMBER = player $PLAYER_CHAR town_number +01BD: $5284 = current_time_in_ms +if + $672 == 1 +else_jump @MAIN_2249 +0084: $5283 = $5284 // (int) +0060: $5283 -= $5285 // (int) +if + $5283 >= 180000 +else_jump @MAIN_2249 +$672 = 0 +$TOTAL_FOOD_EATEN = 0 +$5283 = 0 +$10045 = 0 + +:MAIN_2249 +wait 0 +if + Player.Defined($PLAYER_CHAR) +else_jump @MAIN_2249 +if or + Garage.IsOpen('BODLAWN') + Garage.IsOpen('MODLAST') + Garage.IsOpen('MDSSFSE') + Garage.IsOpen('MDS1SFS') + Garage.IsOpen('VECMOD') +else_jump @MAIN_2391 +0926: $SCRIPT_STATUS = external_script_status 2 (CARMOD1) +if + $SCRIPT_STATUS == 0 +else_jump @MAIN_2384 +08A9: load_external_script 2 (CARMOD1) +if +08AB: external_script 2 (CARMOD1) loaded +else_jump @MAIN_2384 +0913: run_external_script 2 (CARMOD1) + +:MAIN_2384 +jump @MAIN_2395 + +:MAIN_2391 +090F: end_external_script 2 (CARMOD1) + +:MAIN_2395 +wait 0 +if + Player.Defined($PLAYER_CHAR) +else_jump @MAIN_2395 +if + Actor.HasWeapon($PLAYER_ACTOR, 46) +else_jump @MAIN_2489 +0926: $SCRIPT_STATUS = external_script_status 10 (PLAYER_PARACHUTE) +if + $SCRIPT_STATUS == 0 +else_jump @MAIN_2482 +08A9: load_external_script 10 (PLAYER_PARACHUTE) +if +08AB: external_script 10 (PLAYER_PARACHUTE) loaded +else_jump @MAIN_2482 +0913: run_external_script 10 (PLAYER_PARACHUTE) + +:MAIN_2482 +jump @MAIN_2493 + +:MAIN_2489 +090F: end_external_script 10 (PLAYER_PARACHUTE) + +:MAIN_2493 +jump @MAIN_2110 + +:HJ +set_wb_check_to 0 +thread 'HJ' +if + $709 > 0 +else_jump @HJ_33 + +:HJ_33 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @HJ_60 +jump @HJ_33 + +:HJ_60 +if +0445: are_car_cheats_used +else_jump @HJ_80 +jump @HJ_33 + +:HJ_80 +if +09AE: actor $PLAYER_ACTOR driving_train +else_jump @HJ_103 +jump @HJ_33 + +:HJ_103 +if +04C8: actor $PLAYER_ACTOR driving_flying_vehicle +else_jump @HJ_126 +jump @HJ_33 + +:HJ_126 +if +04A7: actor $PLAYER_ACTOR driving_boat +else_jump @HJ_149 +jump @HJ_33 + +:HJ_149 +if + Actor.DrivingVehicleType($PLAYER_ACTOR, 539) +else_jump @HJ_175 +jump @HJ_33 + +:HJ_175 +if +89E7: not player $PLAYER_CHAR not_frozen +else_jump @HJ_198 +jump @HJ_33 + +:HJ_198 +if + Actor.Driving($PLAYER_ACTOR) +else_jump @HJ_1701 +if + $709 > 0 +else_jump @HJ_33 +$HJ_PLAYER_CAR = Actor.CurrentCar($PLAYER_ACTOR) +04FC: store_player_stunt_data $PLAYER_CHAR two_wheels: $HJ_TWOWHEELS_TIME $HJ_TWOWHEELS_DISTANCE_FLOAT wheelie: $HJ_WHEELIE_TIME $HJ_WHEELIE_DISTANCE_FLOAT stoppie: $HJ_STOPPIE_TIME $HJ_STOPPIE_DISTANCE_FLOAT +if + $HJ_TWOWHEELS_DISTANCE_FLOAT > 0.0 +else_jump @HJ_459 +$HJ_TWOWHEELS_TIME /= 1000 +008C: $HJ_TWOWHEELS_DISTANCE_METERS_INT = float $HJ_TWOWHEELS_DISTANCE_FLOAT to_integer +008D: $HJ_TWOWHEELS_DISTANCE_METERS_FLOAT = integer $HJ_TWOWHEELS_DISTANCE_METERS_INT to_float +0086: $HJ_TEMP_FLOAT = $HJ_TWOWHEELS_DISTANCE_FLOAT // (float) +0061: $HJ_TEMP_FLOAT -= $HJ_TWOWHEELS_DISTANCE_METERS_FLOAT // (float) +$HJ_TEMP_FLOAT *= 100.0 +008C: $HJ_TWOWHEELS_DISTANCE_METERS_REM = float $HJ_TEMP_FLOAT to_integer +0084: $HJ_BONUS = $HJ_TWOWHEELS_TIME // (int) +0058: $HJ_BONUS += $HJ_TWOWHEELS_DISTANCE_METERS_INT // (int) +$HJ_BONUS /= 2 +Player.Money($PLAYER_CHAR) += $HJ_BONUS +if +0424: is_system_metric +else_jump @HJ_418 +02FF: show_text_3numbers GXT 'WHEEL02' numbers $HJ_BONUS $HJ_TWOWHEELS_DISTANCE_FEET $HJ_TWOWHEELS_TIME time 3000 flag 1 +jump @HJ_459 + +:HJ_418 +0425: $HJ_TWOWHEELS_DISTANCE_FEET_FLOAT = meters $HJ_TWOWHEELS_DISTANCE_FLOAT to_feet +008C: $HJ_TWOWHEELS_DISTANCE_FEET = float $HJ_TWOWHEELS_DISTANCE_FEET_FLOAT to_integer +02FF: show_text_3numbers GXT 'WHEEL02' numbers $HJ_BONUS $HJ_TWOWHEELS_DISTANCE_FEET $HJ_TWOWHEELS_TIME time 3000 flag 1 + +:HJ_459 +if + $HJ_WHEELIE_DISTANCE_FLOAT > 0.0 +else_jump @HJ_664 +$HJ_WHEELIE_TIME /= 1000 +008C: $HJ_WHEELIE_DISTANCE_METERS_INT = float $HJ_WHEELIE_DISTANCE_FLOAT to_integer +008D: $HJ_WHEELIE_DISTANCE_METERS_FLOAT = integer $HJ_WHEELIE_DISTANCE_METERS_INT to_float +0086: $HJ_TEMP_FLOAT = $HJ_WHEELIE_DISTANCE_FLOAT // (float) +0061: $HJ_TEMP_FLOAT -= $HJ_WHEELIE_DISTANCE_METERS_FLOAT // (float) +$HJ_TEMP_FLOAT *= 100.0 +008C: $HJ_WHEELIE_DISTANCE_METERS_REM = float $HJ_TEMP_FLOAT to_integer +0084: $HJ_BONUS = $HJ_WHEELIE_DISTANCE_METERS_INT // (int) +$HJ_BONUS *= 2 +$HJ_BONUS /= 5 +$HJ_BONUS /= 2 +Player.Money($PLAYER_CHAR) += $HJ_BONUS +if +0424: is_system_metric +else_jump @HJ_623 +0302: show_text_4numbers GXT 'WHEEL06' numbers $HJ_BONUS $HJ_WHEELIE_DISTANCE_METERS_INT $HJ_WHEELIE_DISTANCE_METERS_REM $HJ_WHEELIE_TIME time 3000 flag 1 +jump @HJ_664 + +:HJ_623 +0425: $HJ_WHEELIE_DISTANCE_FEET_FLOAT = meters $HJ_WHEELIE_DISTANCE_FLOAT to_feet +008C: $HJ_WHEELIE_DISTANCE_FEET = float $HJ_WHEELIE_DISTANCE_FEET_FLOAT to_integer +02FF: show_text_3numbers GXT 'WHEEL07' numbers $HJ_BONUS $HJ_WHEELIE_DISTANCE_FEET $HJ_WHEELIE_TIME time 3000 flag 1 + +:HJ_664 +if + $HJ_STOPPIE_DISTANCE_FLOAT > 0.0 +else_jump @HJ_855 +$HJ_STOPPIE_TIME /= 1000 +008C: $HJ_STOPPIE_DISTANCE_METERS_INT = float $HJ_STOPPIE_DISTANCE_FLOAT to_integer +008D: $HJ_STOPPIE_DISTANCE_METERS_FLOAT = integer $HJ_STOPPIE_DISTANCE_METERS_INT to_float +0086: $HJ_TEMP_FLOAT = $HJ_STOPPIE_DISTANCE_FLOAT // (float) +0061: $HJ_TEMP_FLOAT -= $HJ_STOPPIE_DISTANCE_METERS_FLOAT // (float) +$HJ_TEMP_FLOAT *= 100.0 +008C: $HJ_STOPPIE_DISTANCE_METERS_REM = float $HJ_TEMP_FLOAT to_integer +0084: $HJ_BONUS = $HJ_STOPPIE_DISTANCE_METERS_INT // (int) +$HJ_BONUS /= 2 +Player.Money($PLAYER_CHAR) += $HJ_BONUS +if +0424: is_system_metric +else_jump @HJ_814 +0302: show_text_4numbers GXT 'WHEEL11' numbers $HJ_BONUS $HJ_STOPPIE_DISTANCE_METERS_INT $HJ_STOPPIE_DISTANCE_METERS_REM $HJ_STOPPIE_TIME time 3000 flag 1 +jump @HJ_855 + +:HJ_814 +0425: $HJ_STOPPIE_DISTANCE_FEET_FLOAT = meters $HJ_STOPPIE_DISTANCE_FLOAT to_feet +008C: $HJ_STOPPIE_DISTANCE_FEET = float $HJ_STOPPIE_DISTANCE_FEET_FLOAT to_integer +02FF: show_text_3numbers GXT 'WHEEL12' numbers $HJ_BONUS $HJ_STOPPIE_DISTANCE_FEET $HJ_STOPPIE_TIME time 3000 flag 1 + +:HJ_855 +if +01F3: car $HJ_PLAYER_CAR in_air +else_jump @HJ_1687 +$HJ_STUNT_ROTATION_INT = 0 +$HJ_CAR_ANGLE_BEGIN_STUNT = 0.0 +$1293 = 0 +$HJ_STUNT_FLIPS = 0 +$HJ_STUNT_FLIPPING_FLAG = 0 +$HJ_STUNT_BONUS_MULT = 0 +$HJ_BEGIN_STUNT_FLAG = 0 +$HJ_STUNT_HEIGHT = 0 +$HJ_CAR_Z_MAX = -100.0 +$HJ_CAR_X = 0.0 +$HJ_CAR_Y = 0.0 +$HJ_CAR_Z = 0.0 +$HJ_CAR_X_BEGIN_STUNT = 0.0 +$HJ_CAR_Y_BEGIN_STUNT = 0.0 +$HJ_CAR_Z_BEGIN_STUNT = 0.0 +$HJ_CAR_X_END_STUNT = 0.0 +$HJ_CAR_Y_END_STUNT = 0.0 +$HJ_STUNT_DISTANCE_MAX_FLOAT = 0.0 +$HJ_STUNT_DISTANCE_MAX_INT = 0 +$HJ_STUNT_DISTANCE_MAX_REM = 0 +$HJ_STUNT_HEIGHT_REM = 0 +$HJ_TEMP_FLOAT = 0.0 +$1316 = 0.0 +$HJ_STUNT_ROTATION_FLOAT = 0.0 +$1317 = 0.0 +$HJ_CAR_ANGLE = 0.0 +$1301 = 0 +$1340 = 0 + +:HJ_1115 +if or +01F3: car $HJ_PLAYER_CAR in_air + 10 > $1301 +else_jump @HJ_1680 +$1301 += 1 +Car.StorePos($HJ_PLAYER_CAR, $HJ_CAR_X, $HJ_CAR_Y, $HJ_CAR_Z) +0086: $HJ_CAR_ANGLE = $HJ_CAR_ANGLE_BEGIN_STUNT // (float) +if + $HJ_BEGIN_STUNT_FLAG == 0 +else_jump @HJ_1224 +$HJ_CAR_ANGLE = Car.Angle($HJ_PLAYER_CAR) +0086: $HJ_CAR_X_BEGIN_STUNT = $HJ_CAR_X // (float) +0086: $HJ_CAR_Y_BEGIN_STUNT = $HJ_CAR_Y // (float) +0086: $HJ_CAR_Z_BEGIN_STUNT = $HJ_CAR_Z // (float) +$HJ_BEGIN_STUNT_FLAG = 1 + +:HJ_1224 +wait 0 +if + Car.Wrecked($HJ_PLAYER_CAR) +else_jump @HJ_1251 +jump @HJ_33 + +:HJ_1251 +if + not Player.Defined($PLAYER_CHAR) +else_jump @HJ_1274 +jump @HJ_33 + +:HJ_1274 +if + not Actor.Driving($PLAYER_ACTOR) +else_jump @HJ_1297 +jump @HJ_33 + +:HJ_1297 +if and +820D: not car $HJ_PLAYER_CAR flipped + $HJ_STUNT_FLIPPING_FLAG == 0 +else_jump @HJ_1327 +$HJ_STUNT_FLIPPING_FLAG = 1 + +:HJ_1327 +if and +020D: car $HJ_PLAYER_CAR flipped + $HJ_STUNT_FLIPPING_FLAG == 1 +else_jump @HJ_1364 +$HJ_STUNT_FLIPS += 1 +$HJ_STUNT_FLIPPING_FLAG = 0 + +:HJ_1364 +$HJ_CAR_ANGLE_BEGIN_STUNT = Car.Angle($HJ_PLAYER_CAR) +0086: $1316 = $HJ_CAR_ANGLE_BEGIN_STUNT // (float) +0061: $1316 -= $HJ_CAR_ANGLE // (float) +if + $1316 > 180.0 +else_jump @HJ_1442 +0086: $1317 = $1316 // (float) +$1316 = 360.0 +0061: $1316 -= $1317 // (float) +jump @HJ_1489 + +:HJ_1442 +if + -180.0 > $1316 +else_jump @HJ_1489 +0086: $1317 = $1316 // (float) +$1316 = 360.0 +0059: $1316 += $1317 // (float) + +:HJ_1489 +if + 0.0 > $1316 +else_jump @HJ_1536 +0086: $1317 = $1316 // (float) +$1316 = 0.0 +0061: $1316 -= $1317 // (float) + +:HJ_1536 +0059: $HJ_STUNT_ROTATION_FLOAT += $1316 // (float) +008C: $HJ_STUNT_ROTATION_INT = float $HJ_STUNT_ROTATION_FLOAT to_integer +if +0024: $HJ_CAR_Z > $HJ_CAR_Z_MAX // (float) +else_jump @HJ_1579 +0086: $HJ_CAR_Z_MAX = $HJ_CAR_Z // (float) + +:HJ_1579 +$HJ_CAR_Z = 0.0 +if + $1340 == 0 +else_jump @HJ_1673 +Car.StorePos($HJ_PLAYER_CAR, $HJ_CAR_X_END_STUNT, $HJ_CAR_Y_END_STUNT, $HJ_TEMP_FLOAT) +0509: $HJ_TEMP_FLOAT = distance_between_XY $HJ_CAR_X_BEGIN_STUNT $HJ_CAR_Y_BEGIN_STUNT and_XY $HJ_CAR_X_END_STUNT $HJ_CAR_Y_END_STUNT +if + $HJ_TEMP_FLOAT > 20.0 +else_jump @HJ_1673 +09AB: set_passengers_in_car $HJ_PLAYER_CAR speak_from_audio_table 37 // similar to 0947 +$1340 = 1 + +:HJ_1673 +jump @HJ_1115 + +:HJ_1680 +jump @HJ_1694 + +:HJ_1687 +jump @HJ_33 + +:HJ_1694 +jump @HJ_1708 + +:HJ_1701 +jump @HJ_33 + +:HJ_1708 +if + $HJ_BEGIN_STUNT_FLAG == 1 +else_jump @HJ_1897 +Car.StorePos($HJ_PLAYER_CAR, $HJ_CAR_X_END_STUNT, $HJ_CAR_Y_END_STUNT, $HJ_TEMP_FLOAT) +0509: $HJ_STUNT_DISTANCE_MAX_FLOAT = distance_between_XY $HJ_CAR_X_BEGIN_STUNT $HJ_CAR_Y_BEGIN_STUNT and_XY $HJ_CAR_X_END_STUNT $HJ_CAR_Y_END_STUNT +0628: update_float_stat_to $HJ_STUNT_DISTANCE_MAX_FLOAT stat_id 139 +008C: $HJ_STUNT_DISTANCE_MAX_INT = float $HJ_STUNT_DISTANCE_MAX_FLOAT to_integer +0061: $HJ_CAR_Z_MAX -= $HJ_CAR_Z_BEGIN_STUNT // (float) +0628: update_float_stat_to $HJ_CAR_Z_MAX stat_id 140 +008C: $HJ_STUNT_HEIGHT = float $HJ_CAR_Z_MAX to_integer +008D: $HJ_TEMP_FLOAT = integer $HJ_STUNT_DISTANCE_MAX_INT to_float +0061: $HJ_STUNT_DISTANCE_MAX_FLOAT -= $HJ_TEMP_FLOAT // (float) +0086: $HJ_TEMP_FLOAT = $HJ_STUNT_DISTANCE_MAX_FLOAT // (float) +$HJ_TEMP_FLOAT *= 100.0 +008C: $HJ_STUNT_DISTANCE_MAX_REM = float $HJ_TEMP_FLOAT to_integer +008D: $HJ_TEMP_FLOAT = integer $HJ_STUNT_HEIGHT to_float +0061: $HJ_CAR_Z_MAX -= $HJ_TEMP_FLOAT // (float) +0086: $HJ_TEMP_FLOAT = $HJ_CAR_Z_MAX // (float) +$HJ_TEMP_FLOAT *= 100.0 +008C: $HJ_STUNT_HEIGHT_REM = float $HJ_TEMP_FLOAT to_integer +0627: update_integer_stat 141 to $HJ_STUNT_FLIPS +0627: update_integer_stat 142 to $HJ_STUNT_ROTATION_INT + +:HJ_1897 +if + $HJ_CAR_Z_MAX > 4.0 +else_jump @HJ_1925 +$HJ_STUNT_BONUS_MULT += 1 + +:HJ_1925 +if + $HJ_STUNT_DISTANCE_MAX_INT > 40 +else_jump @HJ_1950 +$HJ_STUNT_BONUS_MULT += 1 + +:HJ_1950 +if + $HJ_STUNT_FLIPS > 1 +else_jump @HJ_1975 +$HJ_STUNT_BONUS_MULT += 1 + +:HJ_1975 +if + $HJ_STUNT_ROTATION_INT > 360 +else_jump @HJ_2001 +$HJ_STUNT_BONUS_MULT += 1 + +:HJ_2001 +if + $HJ_STUNT_BONUS_MULT > 0 +else_jump @HJ_2418 +0084: $HJ_STUNT_BONUS = $HJ_STUNT_FLIPS // (int) +$HJ_STUNT_BONUS *= 180 +0058: $HJ_STUNT_BONUS += $HJ_STUNT_ROTATION_INT // (int) +0084: $HJ_STUNT_BONUS_TEMP = $HJ_STUNT_DISTANCE_MAX_INT // (int) +$HJ_STUNT_BONUS_TEMP *= 6 +0058: $HJ_STUNT_BONUS += $HJ_STUNT_BONUS_TEMP // (int) +0084: $HJ_STUNT_BONUS_TEMP = $HJ_STUNT_HEIGHT // (int) +$HJ_STUNT_BONUS_TEMP *= 45 +0058: $HJ_STUNT_BONUS += $HJ_STUNT_BONUS_TEMP // (int) +if + $1293 == 1 +else_jump @HJ_2114 +$HJ_STUNT_BONUS *= 2 + +:HJ_2114 +0068: $HJ_STUNT_BONUS *= $HJ_STUNT_BONUS_MULT // (int) +$HJ_STUNT_BONUS /= 3 +$HJ_STUNT_BONUS /= 5 +Player.Money($PLAYER_CHAR) += $HJ_STUNT_BONUS +if + $HJ_STUNT_BONUS_MULT == 1 +else_jump @HJ_2188 +01E4: show_text_1number_lowpriority GXT 'HJ_IS' number $HJ_STUNT_BONUS time 2000 flag 1 +0627: update_integer_stat 143 to 1 + +:HJ_2188 +if + $HJ_STUNT_BONUS_MULT == 2 +else_jump @HJ_2232 +01E4: show_text_1number_lowpriority GXT 'HJ_DIS' number $HJ_STUNT_BONUS time 2000 flag 1 +0627: update_integer_stat 143 to 3 + +:HJ_2232 +if + $HJ_STUNT_BONUS_MULT == 3 +else_jump @HJ_2276 +01E4: show_text_1number_lowpriority GXT 'HJ_TIS' number $HJ_STUNT_BONUS time 2000 flag 1 +0627: update_integer_stat 143 to 5 + +:HJ_2276 +if + $HJ_STUNT_BONUS_MULT == 4 +else_jump @HJ_2320 +01E4: show_text_1number_lowpriority GXT 'HJ_QIS' number $HJ_STUNT_BONUS time 2000 flag 1 +0627: update_integer_stat 143 to 7 + +:HJ_2320 +if +0424: is_system_metric +else_jump @HJ_2374 +0308: show_text_6numbers GXT 'HJSTAT' numbers $HJ_STUNT_DISTANCE_MAX_INT $HJ_STUNT_DISTANCE_MAX_REM $HJ_STUNT_HEIGHT $HJ_STUNT_HEIGHT_REM $HJ_STUNT_FLIPS $HJ_STUNT_ROTATION_INT time 5000 flag 5 +jump @HJ_2418 + +:HJ_2374 +042D: $HJ_STUNT_DISTANCE_MAX_INT = metric $HJ_STUNT_DISTANCE_MAX_INT to_imperial +042D: $HJ_STUNT_HEIGHT = metric $HJ_STUNT_HEIGHT to_imperial +0302: show_text_4numbers GXT 'HJSTATF' numbers $HJ_STUNT_DISTANCE_MAX_INT $HJ_STUNT_HEIGHT $HJ_STUNT_FLIPS $HJ_STUNT_ROTATION_INT time 5000 flag 5 + +:HJ_2418 +jump @HJ_33 +end_thread + +:NONAME_1 +wait 100 +if + Player.Defined($PLAYER_CHAR) +else_jump @NONAME_1 +062A: change_float_stat 21 to 0.0 +062A: change_float_stat 23 to 0.0 +03E6: remove_text_box +jump @NONAME_1 + +:CASHWIN +thread 'CASHWIN' +01BD: $CURRENT_TIME_IN_MS2 = current_time_in_ms +if + 1@ == 0 +else_jump @CASHWIN_57 +008B: 3@ = $CURRENT_TIME_IN_MS2 // (int) +3@ += 3000 +jump @CASHWIN_73 + +:CASHWIN_57 +008B: 3@ = $CURRENT_TIME_IN_MS2 // (int) +005A: 3@ += 1@ // (int) + +:CASHWIN_73 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @CASHWIN_95 +end_thread + +:CASHWIN_95 +01BD: $CURRENT_TIME_IN_MS2 = current_time_in_ms +if +001E: $CURRENT_TIME_IN_MS2 > 3@ // (int) +else_jump @CASHWIN_121 +end_thread + +:CASHWIN_121 +if + 0@ == 0 +else_jump @CASHWIN_234 +gosub @CASHWIN_587 +0340: set_text_draw_RGBA 180 180 180 255 +if + 2@ == 69 +else_jump @CASHWIN_206 +033E: set_draw_text_position 320.0 180.333 GXT 'BJ_PUSH' +jump @CASHWIN_227 + +:CASHWIN_206 +033E: set_draw_text_position 320.0 180.333 GXT 'NOWIN' + +:CASHWIN_227 +jump @CASHWIN_580 + +:CASHWIN_234 +if + 0@ > 0 +else_jump @CASHWIN_433 +gosub @CASHWIN_587 +0871: init_jump_table 2@ total_jumps 2 default_jump 1 @CASHWIN_384 jumps 45 @CASHWIN_322 80 @CASHWIN_353 -1 @CASHWIN_426 -1 @CASHWIN_426 -1 @CASHWIN_426 -1 @CASHWIN_426 -1 @CASHWIN_426 + +:CASHWIN_322 +045A: draw_text_1number 320.0 155.333 GXT 'ALLRACE' number 0@ +jump @CASHWIN_426 + +:CASHWIN_353 +045A: draw_text_1number 320.0 155.333 GXT 'PL_07' number 0@ +jump @CASHWIN_426 + +:CASHWIN_384 +045A: draw_text_1number 320.0 155.333 GXT 'WINNER' number 0@ +09C6: 5 0@ 0 0 +jump @CASHWIN_426 + +:CASHWIN_426 +jump @CASHWIN_580 + +:CASHWIN_433 +008A: $3396 = 0@ // (int) +$3396 *= -1 +gosub @CASHWIN_587 +0871: init_jump_table 2@ total_jumps 1 default_jump 1 @CASHWIN_549 jumps 80 @CASHWIN_518 -1 @CASHWIN_580 -1 @CASHWIN_580 -1 @CASHWIN_580 -1 @CASHWIN_580 -1 @CASHWIN_580 -1 @CASHWIN_580 + +:CASHWIN_518 +045A: draw_text_1number 320.0 155.333 GXT 'PL_10' number $3396 +jump @CASHWIN_580 + +:CASHWIN_549 +045A: draw_text_1number 320.0 155.333 GXT 'LOSER' number $3396 +jump @CASHWIN_580 + +:CASHWIN_580 +jump @CASHWIN_73 + +:CASHWIN_587 +03E4: set_text_draw_align_right 0 +0341: set_text_draw_align_justify 0 +0343: set_text_draw_linewidth 640.0 +0348: enable_text_draw_proportional 1 +0345: enable_text_draw_background 0 +033F: set_text_draw_letter_size 1.3 3.36 +0342: set_text_draw_centered 1 +081C: draw_text_outline 2 RGBA 0 0 0 255 +0349: set_text_draw_font 3 +0904: get_interface 6 color_RGBA_to $COLOR_RED $COLOR_GREEN $GAMBLES_CASHWIN $3400 +0340: set_text_draw_RGBA $COLOR_RED $COLOR_GREEN $GAMBLES_CASHWIN 255 +return + +:CASHWIN_675 +if +87D6: not 0@ == $1012 // @ == $ (int) +else_jump @CASHWIN_710 +wait 0 +077E: get_active_interior_to 0@ +jump @CASHWIN_675 + +:CASHWIN_710 +07FB: set_interior s$1014 access $1013 +end_thread +$38 = 0 +if + Player.Defined($PLAYER_CHAR) +else_jump @CASHWIN_869 +if + $ACTIVE_INTERIOR == 0 +else_jump @CASHWIN_869 +if + $PHONE_RINGING_FLAG == 0 +else_jump @CASHWIN_869 +if + $FREEFALL_STAGE == 0 +else_jump @CASHWIN_869 +if +88B4: not test $390 bit 1 +else_jump @CASHWIN_869 +if +88B4: not test $390 bit 20 +else_jump @CASHWIN_869 +if +89BE: not are_text_boxes_locked_to_any_thread +else_jump @CASHWIN_869 +if + Player.Controllable($PLAYER_CHAR) +else_jump @CASHWIN_869 +$38 = 1 + +:CASHWIN_869 +return +$TIME_FROM_LAST_CALL_GOT_FLAG = 0 +if + Player.Defined($PLAYER_CHAR) +else_jump @CASHWIN_1106 +if + $ONMISSION == 0 +else_jump @CASHWIN_1106 +if + $ACTIVE_INTERIOR == 0 +else_jump @CASHWIN_1106 +if + $PHONE_RINGING_FLAG == 0 +else_jump @CASHWIN_1106 +if + $FREEFALL_STAGE == 0 +else_jump @CASHWIN_1106 +if +88B4: not test $390 bit 1 +else_jump @CASHWIN_1106 +if +88B4: not test $390 bit 20 +else_jump @CASHWIN_1106 +if +89BE: not are_text_boxes_locked_to_any_thread +else_jump @CASHWIN_1106 +if + Player.Controllable($PLAYER_CHAR) +else_jump @CASHWIN_1106 +if +044B: actor $PLAYER_ACTOR on_foot +else_jump @CASHWIN_1106 +if +8A03: not unknown_gang_war_in_progress +else_jump @CASHWIN_1106 +if + not Player.WantedLevel($PLAYER_CHAR) > 0 +else_jump @CASHWIN_1106 +01BD: $TEMPVAR_CALL_TIME = current_time_in_ms +0084: $TIME_FROM_LAST_CALL = $TEMPVAR_CALL_TIME // (int) +0060: $TIME_FROM_LAST_CALL -= $CURRENT_TIME_IN_MS // (int) +$TIME_FROM_LAST_CALL_GOT_FLAG = 1 + +:CASHWIN_1106 +return + +:INTMAN +thread 'INTMAN' +$INTERIOR_DECISION_MAKER_A = -1 +if + $INTERIOR_DECISION_MAKER_A == 9999 +else_jump @INTMAN_57 +07E5: copy_decision_maker 65543 to $INTERIOR_DECISION_MAKER_A +07E5: copy_decision_maker 65543 to $INTERIOR_DECISION_MAKER_B + +:INTMAN_57 +if + Player.Defined($PLAYER_CHAR) +else_jump @INTMAN_80 +gosub @INTMAN_91 + +:INTMAN_80 +wait 0 +jump @INTMAN_57 + +:INTMAN_91 +0871: init_jump_table 0@ total_jumps 2 default_jump 0 @INTMAN_182 jumps 0 @INTMAN_154 1 @INTMAN_168 -1 @INTMAN_182 -1 @INTMAN_182 -1 @INTMAN_182 -1 @INTMAN_182 -1 @INTMAN_182 + +:INTMAN_154 +gosub @INTMAN_184 +jump @INTMAN_182 + +:INTMAN_168 +gosub @INTMAN_882 +jump @INTMAN_182 + +:INTMAN_182 +return + +:INTMAN_184 +09E8: $1250 = actor $PLAYER_ACTOR active_interior +if + not $1250 == 0 +else_jump @INTMAN_880 +094B: v$ACTIVE_INTERIOR_NAME = get_active_interior_name_from_actor $PLAYER_ACTOR // 16-byte string +if +8846: not string v$ACTIVE_INTERIOR_NAME empty // v$ +else_jump @INTMAN_880 +0084: $1251 = $1250 // (int) +if + Player.Defined($PLAYER_CHAR) +else_jump @INTMAN_266 +$PLAYER_WANTED_LEVEL = Player.WantedLevel($PLAYER_CHAR) + +:INTMAN_266 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +$1261 = 0 +$PLAYER_IN_INTERIOR = 0 +2@ = 0 +if + $ONMISSION == 0 +else_jump @INTMAN_359 +$9472 = 0 +$9470 = 0 +$9471 = 0 +$FOOD_PLAYER_AGGRESSIVE_FLAG = 0 +$2881 = 0 +$9473 = 0 +$9526 = 0 + +:INTMAN_359 +if or +08F9: v$ACTIVE_INTERIOR_NAME == "FDPIZA" +08F9: v$ACTIVE_INTERIOR_NAME == "FDCHICK" +08F9: v$ACTIVE_INTERIOR_NAME == "FDBURG" +else_jump @INTMAN_634 +0926: 1@ = external_script_status 3 (JUNKFUD) +if + 1@ == 0 +else_jump @INTMAN_439 +08A9: load_external_script 3 (JUNKFUD) + +:INTMAN_439 +04ED: load_animation "FOOD" +04ED: load_animation "INT_SHOP" +if +08F9: v$ACTIVE_INTERIOR_NAME == "FDPIZA" +else_jump @INTMAN_500 +Model.Load(155) +Model.Load(#PIZZAHIGH) +Model.Load(#CJ_PIZZA_1) +Model.Load(#CJ_PIZZA_2) + +:INTMAN_500 +if +08F9: v$ACTIVE_INTERIOR_NAME == "FDCHICK" +else_jump @INTMAN_542 +Model.Load(167) +Model.Load(#BURGERHIGH) +Model.Load(#CJ_BURG_1) +Model.Load(#CJ_BURG_2) + +:INTMAN_542 +if +08F9: v$ACTIVE_INTERIOR_NAME == "FDBURG" +else_jump @INTMAN_583 +Model.Load(205) +Model.Load(#BURGERHIGH) +Model.Load(#CJ_BURG_1) +Model.Load(#CJ_BURG_2) + +:INTMAN_583 +038B: load_requested_models +if +08AB: external_script 3 (JUNKFUD) loaded +else_jump @INTMAN_605 +0913: run_external_script 3 (JUNKFUD) + +:INTMAN_605 +if +08AB: external_script 3 (JUNKFUD) loaded +else_jump @INTMAN_634 +$1261 = 1 +0@ += 1 + +:INTMAN_634 +if or +08F9: v$ACTIVE_INTERIOR_NAME == "AMMUN1" +08F9: v$ACTIVE_INTERIOR_NAME == "AMMUN2" +08F9: v$ACTIVE_INTERIOR_NAME == "AMMUN3" +08F9: v$ACTIVE_INTERIOR_NAME == "AMMUN4" +08F9: v$ACTIVE_INTERIOR_NAME == "AMMUN5" +else_jump @INTMAN_775 +0926: 1@ = external_script_status 0 (AMMU) +if + 1@ == 0 +else_jump @INTMAN_775 +08A9: load_external_script 0 (AMMU) +038B: load_requested_models +if +08AB: external_script 0 (AMMU) loaded +else_jump @INTMAN_775 +0913: run_external_script 0 (AMMU) +$1261 = 1 +0@ += 1 + +:INTMAN_775 +if + $1261 == 1 +else_jump @INTMAN_880 +if +89F2: not decision_maker $INTERIOR_DECISION_MAKER_A exists +else_jump @INTMAN_833 +07E5: copy_decision_maker 65543 to $INTERIOR_DECISION_MAKER_A +0708: reset_decision_maker $INTERIOR_DECISION_MAKER_A event 27 +0708: reset_decision_maker $INTERIOR_DECISION_MAKER_A event 48 + +:INTMAN_833 +if +89F2: not decision_maker $INTERIOR_DECISION_MAKER_B exists +else_jump @INTMAN_880 +07E5: copy_decision_maker 65543 to $INTERIOR_DECISION_MAKER_B +0708: reset_decision_maker $INTERIOR_DECISION_MAKER_B event 27 +0708: reset_decision_maker $INTERIOR_DECISION_MAKER_B event 48 +0708: reset_decision_maker $INTERIOR_DECISION_MAKER_B event 9 + +:INTMAN_880 +return + +:INTMAN_882 +09E8: $1250 = actor $PLAYER_ACTOR active_interior +if +803A: not $1250 == $1251 // (int) +else_jump @INTMAN_958 +gosub @INTMAN_1042 +$PLAYER_IN_INTERIOR = 0 +2@ = 0 +$1260 = 0 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +0@ -= 1 +return +jump @INTMAN_1040 + +:INTMAN_958 +if + $1260 == 1 +else_jump @INTMAN_1001 +if +82D8: not actor $PLAYER_ACTOR current_weapon == 56 +else_jump @INTMAN_1001 +Player.SetMinWantedLevel($PLAYER_CHAR, 2) + +:INTMAN_1001 +if and + $PLAYER_IN_INTERIOR == 1 + 2@ == 0 +else_jump @INTMAN_1040 +gosub @INTMAN_1042 +2@ = 1 + +:INTMAN_1040 +return + +:INTMAN_1042 +04EF: release_animation "INT_SHOP" +04EF: release_animation "FOOD" +Model.Destroy(155) +Model.Destroy(#PIZZAHIGH) +Model.Destroy(#CJ_PIZZA_1) +Model.Destroy(#CJ_PIZZA_2) +Model.Destroy(167) +Model.Destroy(#BURGERHIGH) +Model.Destroy(#CJ_BURG_1) +Model.Destroy(#CJ_BURG_2) +Model.Destroy(205) +090F: end_external_script 3 (JUNKFUD) +090F: end_external_script 0 (AMMU) +065C: release_decision_maker $INTERIOR_DECISION_MAKER_A +065C: release_decision_maker $INTERIOR_DECISION_MAKER_B +$INTERIOR_DECISION_MAKER_A = -1 +$INTERIOR_DECISION_MAKER_B = -1 +return + +//-------------Mission 0--------------- +// Originally: Initial 1 + +:INITIAL +thread 'INITIAL' +06C8: enable_riot 0 +$1515 = 0 +$1499 = 0 +$1500 = 5.0 +$1501 = -5.0 +$1502 = 8.5 +$1503 = -1.5 +$1504 = -30.0 +$1505 = 32.0 +$1506 = 0.0 +$1512 = 0 +$FREEFALL_STAGE = 0 +$PARACHUTE_CREATION_STAGE = 0 +$1510 = 1 +$44 = 0 +$46 = 0 +$59 = 0 +$58 = 0 +$LS_FINAL_MISSIONS_STARTED = 0 +$HELP_GROOVE_SHOWN = 0 +$HELP_TRUCKER_MISSIONS_SHOWN = 0 +$HELP_VALET_SHOWN = 0 +$HELP_DENISE_SHOWN = 0 +$MISSION_RUNNING_DOG_FAILED = 0 +$CESAR_TOTAL_PASSED_MISSIONS = 0 +$FLIGHT_SCHOOL_INTRO_FLAG = 0 +$ALL_OUSTERS_COLLECTED = 0 +$ALL_HORSESHOES_COLLECTED = 0 +$ALL_PHOTOS_TAKEN = 0 +$ALL_TAGS_SPRAYED = 0 +$MISSION_INTRO_PASSED = 0 +$HELP_FOLLOW_ICON_SHOWN = 0 +$HELP_INTRO_SHOWN = 0 +$HELP_BICYCLE_2_SHOWN = 0 +$HELP_CAMERA_AND_RADIO_SHOWN = 0 +$HELP_DRIVEBY_SHOWN = 0 +$1514 = 0 +$23 = 0 +$1520 = 0 +$1521 = 0 +$1522 = 0 +$1523 = 0 +$PROPERTY_BOUGHT_FLAGS = 0 +$729 = 0 +$730 = 0 +$731 = 0 +$732 = 0 +$733 = 0 +$734 = 0 +$735 = 0 +$736 = 0 +$737 = 0 +$738 = 0 +$739 = 0 +$740 = 0 +$741 = 0 +$742 = 0 +$743 = 0 +$744 = 0 +$745 = 0 +$746 = 0 +$747 = 0 +$748 = 0 +$749 = 0 +$750 = 0 +$751 = 0 +$752 = 0 +$753 = 0 +$754 = 0 +$755 = 0 +$756 = 0 +$757 = 0 +$758 = 0 +$759 = 0 +$PROPERTY_INDEXES = 0 +$761 = 1 +$762 = 2 +$763 = 3 +$764 = 4 +$765 = 5 +$766 = 6 +$767 = 7 +$768 = 8 +$769 = 9 +$770 = 10 +$771 = 11 +$772 = 12 +$773 = 13 +$774 = 14 +$775 = 15 +$776 = 16 +$777 = 17 +$778 = 18 +$779 = 19 +$780 = 20 +$781 = 21 +$782 = 22 +$783 = 23 +$784 = 24 +$785 = 25 +$786 = 26 +$787 = 27 +$788 = 28 +$789 = 29 +$790 = 30 +$791 = 31 +$ZERO_RCSHOP_BOUGHT = 0 +$864 = 0 +$SAVE_PICKUPS_INDEX = 0 +$1742 = 1099.551 +$1743 = 1601.497 +$1744 = 11.555 +$1748 = 2695.624 +$1749 = -1704.688 +$1750 = 10.844 +0570: $1739 = create_asset_radar_marker_with_icon 33 at $1742 $1743 $1744 +0570: $1741 = create_asset_radar_marker_with_icon 33 at $1748 $1749 $1750 +$1751 = 2644.441 +$1752 = -2012.558 +$1753 = 12.547 +if + 6 > $1786 +else_jump @INITIAL_973 +$1764($1786,6i) = 0 +$1770($1786,6i) = 0 +$1776($1786,6i) = 0 +jump @INITIAL_9567 +hex + 78 +end + +:INITIAL_973 +$1782 = 0 +$1783 = 0 +$1784 = 0 +$1785 = 0 +$1787 = 0 +$1790 = 0 +$1791 = 0 +$1789 = 0 +$1788 = 0 +$1794 = 0 +$MISSION_BEATTHECOCK_TYPE = 1 +$MISSION_BEATTHECOCK_PASSED = 0 +$HELP_CHILIAD_CYCLING_SHOWN = 0 +$MISSION_CHILIAD_CHALLENGE_PASSED = 0 +$1802 = 0 +$1803 = 0 +$1804 = 25 +$ONMISSION_MIKE_TORENO = 0 +$1799 = 1 +$1846 = 0 +$1847 = 0 +$ONMISSION_SHOOTING = 0 +$SHOOTING_X = 292.33 +$SHOOTING_Y = -35.39 +$SHOOTING_Z = 1000.5 +$1850 = 289.48 +$1854 = -79.662 +$1858 = 1001.727 +$1851 = 309.974 +$1855 = -135.393 +$1859 = 1002.826 +$1852 = 306.897 +$1856 = -164.995 +$1860 = 1000.259 +$1884 = 0 +$1873 = 0 +$1900 = 0 +$1903 = 0 +$1907 = 5000 +$1909 = 0 +$FLAG_PLAYER_IN_CRANE = 0 +$1911 = 0 +$1912 = 1 +$1913 = 0 +$1914 = 0 +$1915 = 0 +$1916 = 0 +$1917 = 0 +$1918 = 0 +$1919 = 0 +$1920 = 0 +$1932 = 2000 +$1934 = 2000 +$1937 = 8000 +$1939 = 0 +$1486 = 0 +$490 = 0 +$1798 = 0 +$1494 = 999999 +$1495 = 999999 +$1496 = 999999 +$DEFAULT_WAIT_TIME = 250 +$108 = 0.062 +0086: $109 = $108 // (float) +$109 /= 2.0 +0086: $110 = $109 // (float) +$110 /= 2.0 +$30 = 0 +$56 = 1 +$177 = -425.0 +$178 = 1410.0 +$179 = 10.0 +$334 = 99999999 +$335 = 99999999 +$336 = 99999999 +$337 = 99999999 +$338 = 99999999 +$339 = 99999999 +$340 = 99999999 +$341 = 99999999 +$342 = 99999999 +$343 = 99999999 +$344 = 99999999 +$345 = 99999999 +$346 = 0 +$347 = 0 +$348 = 0 +$349 = 0 +$350 = 0 +$351 = 0 +$MISSION_LEARNING_TO_FLY_PASSED = 0 +$MISSION_BACK_TO_SCHOOL_PASSED = 0 +$107 = 0 +$105 = 0 +$91 = 0 +$92 = 0 +$93 = 0 +$94 = 0 +$95 = 0 +$96 = 0 +$97 = 0 +$98 = 0 +$99 = 0 +$100 = 0 +$101 = 0 +$102 = 0 +$103 = 0 +$104 = 0 +$53 = 0 +$1940 = 1 +$MISSION_BLOODRING_PASSED = 0 +$FLIGHT_SCHOOL_RECORDS = 0 +$1943 = 0 +$1944 = 0 +$1945 = 0 +$1946 = 0 +$1947 = 0 +$1948 = 0 +$1949 = 0 +$1950 = 0 +$1951 = 0 +$FLIGHT_SCHOOL_CONTESTS_PASSED = 1 +$FLIGHT_SCHOOL_CURRENT_CONTEST = 1 +$FLIGHT_SCHOOL_BRIEF_PLAYED = 0 +$PILOT_LICENSE_OBTAINED = 0 +$PARKED_RUSTLER_EXISTS = 0 +$PARKED_STUNT_EXISTS = 0 +$PARKED_HUNTER_EXISTS = 0 +$1962 = 1 +$1963 = 60000 +$1964 = 80000 +$1965 = 180000 +$1966 = 10 +$1967 = 200000 +$1968 = 0 +$MISSION_BOAT_SCHOOL_PASSED = 0 +$1970 = 0 +$1971 = 0 +$1972 = 0 +$1973 = 0 +$1974 = 0 +$1975 = 0 +$1976 = 0 +$1977 = 0 +$1978 = 0 +$1979 = 0 +$1980 = 0 +$1981 = 0 +$1982 = 0 +$1983 = 0 +$1984 = 0 +$PARKED_MARQUIS_EXISTS = 0 +$PARKED_SQUALO_EXISTS = 0 +$PARKED_JETMAX_EXISTS = 0 +$MISSION_PIMPING_PASSED = 0 +$MISSION_COURIER_LS_PASSED = 0 +$MISSION_COURIER_LV_PASSED = 0 +$MISSION_COURIER_SF_PASSED = 0 +$1995 = 2000 +$1997 = 2000 +$1999 = 2000 +$2001 = 0 +$2170 = 0 +$2163 = 0 +$2162 = 0 +$2164 = 0 +$2165 = 0 +$2166 = 0 +$2167 = 0 +$2168 = 0 +$2169 = 0 +$2171 = 0 +$2172 = 0 +$2173 = 0 +$2174 = 0 +$2175 = 0 +$2176 = 0 +$2177 = 0 +$2178 = 0 +$2179 = 0 +$2180 = 0 +$2181 = 0 +$2182 = 0 +$2183 = 0 +$2184 = 0 +$2185 = 0 +$2186 = 0 +$2187 = 0 +$2188 = 0 +$PARKED_FREEWAY_EXISTS = 0 +$PARKED_FCR900_EXISTS = 0 +$PARKED_NRG500_EXISTS = 0 +$BCESAR2_TIMES_PASSED = 0 +$840 = 0 +$MISSION_WUZIMU_STARTED_FLAG = 0 +$HELP_RESPECT_SHOWN = 0 +$BCESAR2_PASSED_ONCE = 0 +$2199 = 0 +$2200 = 0 +$MISSION_DRIVING_SCHOOL_PASSED = 0 +$2202 = 0 +$2203 = 0 +$2204 = 0 +$2206 = 0 +$2207 = 0 +$2208 = 0 +$4 = 0.0 +$5 = 0.0 +$6 = 0.0 +$7 = 0.0 +$8 = 0.0 +$9 = 0.0 +03E6: remove_text_box +$LS_FINAL_MISSIONS_STARTED = 0 +$76 = 1.5 +$77 = 1.5 +$78 = 3.0 +$79 = 4.0 +$80 = 4.0 +$81 = 4.0 +$X_RACE_TOURNAMENT_POINT = 1766.134 +$Y_RACE_TOURNAMENT_POINT = -1704.228 +$Z_RACE_TOURNAMENT_POINT = 12.473 +$563 = -1922.922 +$567 = 282.715 +$571 = 40.039 +$564 = 1636.916 +$568 = 912.948 +$572 = 9.689 +$565 = 1701.69 +$569 = 1649.193 +$573 = 9.63 +$CURRENT_TOURNAMENT = 0 +$RACES_BEST_RESULT = 999999999 +$2211 = 999999999 +$2212 = 999999999 +$2213 = 999999999 +$2214 = 999999999 +$2215 = 999999999 +$2216 = 999999999 +$2217 = 999999999 +$2218 = 999999999 +$2219 = 999999999 +$2220 = 999999999 +$2221 = 999999999 +$2222 = 999999999 +$2223 = 999999999 +$2224 = 999999999 +$2225 = 999999999 +$2226 = 999999999 +$2227 = 999999999 +$2228 = 999999999 +$2229 = 999999999 +$2230 = 999999999 +$2231 = 999999999 +$2232 = 999999999 +$2233 = 999999999 +$2234 = 999999999 +$2235 = 999999999 +$2236 = 999999999 +$2237 = 999999999 +$2238 = 999999999 +$2239 = 999999999 +$RACES_CURRENT_BEST_TIME = 999999999 +$2241 = 999999999 +$2242 = 999999999 +$2243 = 999999999 +$2244 = 999999999 +$2245 = 999999999 +$2246 = 999999999 +$2247 = 999999999 +$2248 = 999999999 +$2249 = 999999999 +$2250 = 999999999 +$2251 = 999999999 +$2252 = 999999999 +$2253 = 999999999 +$2254 = 999999999 +$2255 = 999999999 +$2256 = 999999999 +$2257 = 999999999 +$2258 = 999999999 +$2259 = 999999999 +$2260 = 999999999 +$2261 = 999999999 +$2262 = 999999999 +$2263 = 999999999 +$2264 = 999999999 +$2265 = 999999999 +$2266 = 999999999 +$2267 = 999999999 +$2268 = 999999999 +$2269 = 999999999 +$RACES_NEW_BEST_TIME = 999999999 +$2271 = 999999999 +$2272 = 999999999 +$2273 = 999999999 +$2274 = 999999999 +$2275 = 999999999 +$2276 = 999999999 +$2277 = 999999999 +$2278 = 999999999 +$2279 = 999999999 +$2280 = 999999999 +$2281 = 999999999 +$2282 = 999999999 +$2283 = 999999999 +$2284 = 999999999 +$2285 = 999999999 +$2286 = 999999999 +$2287 = 999999999 +$2288 = 999999999 +$2289 = 999999999 +$2290 = 999999999 +$2291 = 999999999 +$2292 = 999999999 +$2293 = 999999999 +$2294 = 999999999 +$2295 = 999999999 +$2296 = 999999999 +$2297 = 999999999 +$2298 = 999999999 +$2299 = 999999999 +$RACES_WON = 0 +$2301 = 0 +$2302 = 0 +$2303 = 0 +$2304 = 0 +$2305 = 0 +$2306 = 0 +$2307 = 0 +$2308 = 0 +$2309 = 0 +$2310 = 0 +$2311 = 0 +$2312 = 0 +$2313 = 0 +$2314 = 0 +$2315 = 0 +$2316 = 0 +$2317 = 0 +$2318 = 0 +$2319 = 0 +$2320 = 0 +$2321 = 0 +$2322 = 0 +$2323 = 0 +$2324 = 0 +$2325 = 0 +$2326 = 0 +$2327 = 0 +$2328 = 0 +$2329 = 0 +$RACES_WON_NUMBER = 0 +$ALL_RACES_WON_PRIZE_FLAG = 0 +$CARMOD_DISABLED_FLAG = 0 +$190 = 0 +$191 = 0 +$192 = 0 +$X_CATALINA_HOUSE = 868.336 +$Y_CATALINA_HOUSE = -29.553 +$Z_CATALINA_HOUSE = 62.328 +$X_LOCAL_LIQUOR_STORE = 257.539 +$Y_LOCAL_LIQUOR_STORE = -77.23 +$Z_LOCAL_LIQUOR_STORE = 1.368 +$X_SMALL_TOWN_BANK = 2297.78 +$Y_SMALL_TOWN_BANK = -16.83 +$Z_SMALL_TOWN_BANK = 26.29 +$X_TANKER_COMMANDER = 652.17 +$Y_TANKER_COMMANDER = -559.75 +$Z_TANKER_COMMANDER = 15.15 +$X_AGAINST_ALL_ODDS = 1294.09 +$Y_AGAINST_ALL_ODDS = 267.78 +$Z_AGAINST_ALL_ODDS = 18.54 +$X_MEETING_CATALINA = 681.595 +$Y_MEETING_CATALINA = -478.791 +$Z_MEETING_CATALINA = 15.328 +$CATALINA_DIALOG_LIQUOR_STORE_PLAYED = 0 +$CATALINA_DIALOG_BETTING_SHOP_PLAYED = 0 +$CATALINA_TOTAL_PASSED_MISSIONS = 0 +$MISSION_LOCAL_LIQUOR_STORE_PASSED = 0 +$MISSION_SMALL_TOWN_BANK_PASSED = 0 +$MISSION_TANKER_COMMANDER_PASSED = 0 +$ALL_CATALINA_MISSIONS_PASSED = 0 +$666 = 415.55 +$667 = 2533.57 +$668 = 19.18 +$X_JOHNSON_HOUSE = 2495.214 +$Y_JOHNSON_HOUSE = -1687.03 +$Z_JOHNSON_HOUSE = 12.514 +$X_SWEET_HOUSE = 2515.07 +$Y_SWEET_HOUSE = -1673.98 +$Z_SWEET_HOUSE = 12.71 +$X_RYDER_HOUSE = 2459.55 +$Y_RYDER_HOUSE = -1687.75 +$Z_RYDER_HOUSE = 12.56 +$X_BIG_SMOKE_HOUSE = 2070.87 +$Y_BIG_SMOKE_HOUSE = -1703.01 +$Z_BIG_SMOKE_HOUSE = 12.55 +$X_OG_LOC_WORK = 790.54 +$Y_OG_LOC_WORK = -1627.91 +$Z_OG_LOC_WORK = 12.39 +$X_OG_LOC_HOUSE = 2486.61 +$Y_OG_LOC_HOUSE = -1649.42 +$Z_OG_LOC_HOUSE = 12.48 +$X_CESAR_HOUSE = 1801.08 +$Y_CESAR_HOUSE = -2117.92 +$Z_CESAR_HOUSE = 12.56 +$X_CRASH_LS = 1042.85 +$Y_CRASH_LS = -1338.62 +$Z_CRASH_LS = 12.55 +$X_ANGEL_PINE = -2043.34 +$Y_ANGEL_PINE = -2525.99 +$Z_ANGEL_PINE = 29.62 +$X_TRUTH_FARM = -922.512 +$Y_TRUTH_FARM = -1719.395 +$Z_TRUTH_FARM = 76.57 +$X_ANGEL_PINE_MOTEL = -2198.87 +$Y_ANGEL_PINE_MOTEL = -2261.202 +$Z_ANGEL_PINE_MOTEL = 29.642 +$X_MONTGOMERY = 1552.78 +$Y_MONTGOMERY = 39.303 +$Z_MONTGOMERY = 23.145 +$X_WOOZIE_HOUSE = -2154.208 +$Y_WOOZIE_HOUSE = 645.325 +$Z_WOOZIE_HOUSE = 51.352 +$X_JIZZY_CLUB = -2623.497 +$Y_JIZZY_CLUB = 1405.66 +$Z_JIZZY_CLUB = 6.102 +$X_SF_GARAGE_2 = -2031.261 +$Y_SF_GARAGE_2 = 179.249 +$Z_SF_GARAGE_2 = 27.836 +$X_ZERO_RC_SHOP = -2245.663 +$Y_ZERO_RC_SHOP = 128.889 +$Z_ZERO_RC_SHOP = 34.32 +$X_SF_GARAGE_3 = -2030.402 +$Y_SF_GARAGE_3 = 148.828 +$Z_SF_GARAGE_3 = 27.836 +$X_SF_GARAGE = -2030.402 +$Y_SF_GARAGE = 148.828 +$Z_SF_GARAGE = 27.836 +$X_DRIVING_SCHOOL = -2026.811 +$Y_DRIVING_SCHOOL = -114.909 +$Z_DRIVING_SCHOOL = 1034.179 +$X_TIERRA_ROBADA_RANCH = -685.216 +$Y_TIERRA_ROBADA_RANCH = 923.219 +$Z_TIERRA_ROBADA_RANCH = 11.153 +$X_OLD_AIRPORT = 327.448 +$Y_OLD_AIRPORT = 2530.095 +$Z_OLD_AIRPORT = 15.807 +$X_THE_FOUR_DRAGONS_CASINO = 1962.432 +$Y_THE_FOUR_DRAGONS_CASINO = 974.675 +$Z_THE_FOUR_DRAGONS_CASINO = 993.469 +$X_THE_FOUR_DRAGONS_CASINO_2 = 1962.398 +$Y_THE_FOUR_DRAGONS_CASINO_2 = 1060.962 +$Z_THE_FOUR_DRAGONS_CASINO_2 = 993.469 +$X_CALIGULA_PALACE = 2270.634 +$Y_CALIGULA_PALACE = 1635.599 +$Z_CALIGULA_PALACE = 1007.367 +$X_PRICKLE_PINE_LV = 1598.557 +$Y_PRICKLE_PINE_LV = 2667.83 +$Z_PRICKLE_PINE_LV = 9.82 +$X_ROYAL_CASINO = 2090.0 +$Y_ROYAL_CASINO = 1451.0 +$Z_ROYAL_CASINO = 9.8 +$X_MADD_DOGG_CRIB = 1253.788 +$Y_MADD_DOGG_CRIB = -785.259 +$Z_MADD_DOGG_CRIB = 91.031 +$636 = 2496.06 +$637 = -1687.96 +$638 = 12.53 +$419 = -299.6 +$420 = 1530.4 +$421 = 74.7 +$X_PERSHING_SQUARE_LS = 1498.7 +$Y_PERSHING_SQUARE_LS = -1631.9 +$Z_PERSHING_SQUARE_LS = 14.0 +$425 = 1505.7 +$426 = -1631.9 +$427 = 14.0 +$431 = 1512.7 +$432 = -1631.9 +$433 = 14.0 +$639 = 1960.898 +$640 = 1008.406 +$641 = 991.474 +$2337 = 1918.988 +$2338 = -1789.324 +$2339 = 12.5 +$2340 = -1563.768 +$2341 = 2690.873 +$2342 = 54.699 +$642 = 828.77 +$643 = 4.71 +$644 = 1003.17 +$428 = 1494.3 +$429 = -1644.6 +$430 = 14.0 +$645 = 1489.5 +$646 = -1674.2 +$647 = 12.5 +$648 = -2132.45 +$649 = -47.0 +$650 = 35.3 +$651 = 2323.97 +$652 = -1517.04 +$653 = 24.32 +$654 = 1979.1 +$655 = -1996.1 +$656 = 12.4 +$657 = 862.9 +$658 = -1154.8 +$659 = 23.0 +$660 = -1758.877 +$661 = 952.744 +$662 = 23.749 +$663 = 2258.523 +$664 = 1613.25 +$665 = 1005.187 +$188 = 0 +$ONMISSION_COURIER = 0 +$2343 = 1359.45 +$2344 = -1755.0 +$2345 = 12.85 +$2346 = -2590.44 +$2347 = 73.21 +$2348 = 3.91 +$2349 = 1887.79 +$2350 = 2087.39 +$2351 = 10.05 +$2352 = 823.682 +$2353 = 854.174 +$2354 = 10.795 +$2355 = -2309.23 +$2356 = -1651.22 +$2357 = 483.09 +$2358 = -1517.903 +$2359 = 153.758 +$2360 = 2.781 +$2361 = 2705.172 +$2362 = -1698.127 +$2363 = 10.851 +$2364 = 1134.0 +$2365 = -7.0 +$2366 = 1001.0 +$2367 = -2187.378 +$2368 = 2416.552 +$2369 = 4.166 +$2370 = 1173.877 +$2371 = 1351.037 +$2372 = 9.922 +$2373 = -77.646 +$2374 = -1136.401 +$2375 = 0.078 +$2376 = -2645.23 +$2377 = 1413.3 +$2378 = -92.69 +$2379 = -2325.37 +$2380 = -131.655 +$2381 = 34.3 +$2382 = 563.78 +$2383 = 2725.14 +$2384 = 60.49 +$2385 = 424.657 +$2386 = -1439.674 +$2387 = 30.341 +$2388 = 1681.19 +$2389 = -1433.31 +$2390 = 12.53 +$2391 = 1576.734 +$2392 = -1609.741 +$2393 = 12.383 +$2394 = 2831.243 +$2395 = -1674.637 +$2396 = 8.973 +$2397 = 2668.769 +$2398 = -1753.973 +$2399 = 10.851 +$2400 = -2338.5 +$2401 = -109.01 +$2402 = 34.36 +$2403 = 764.457 +$2404 = 2.745 +$2405 = 999.715 +$2406 = 2747.055 +$2407 = -1691.208 +$2408 = 10.851 +$2409 = 2694.246 +$2410 = -1706.007 +$2411 = 10.856 +$2413 = 0 +$2414 = 0 +$SAVE_PICKUPS_EXIST = 0 +$GYMS_ACCESSIBLE_FLAG = 0 +$2547 = 0 +$2545 = 0 +$2544 = 0 +$2546 = 0 +$2425 = 0 +$2418 = 0 +$2420 = 0 +$2422 = 0 +$2424 = 0 +$2516 = 0 +$2517 = 0 +$2513 = 0 +$2514 = 0 +$2515 = 0 +$2548 = 0 +$2549 = 0 +$2550 = 0 +$2551 = 0 +$2552 = 0 +$2553 = 0 +$2554 = 0 +$GIMP_SUIT_AVAILABLE = 0 +$VALET_UNIFORM_AVAILABLE = 0 +$CROUPIER_UNIFORM_AVAILABLE = 0 +$COP_UNIFORM_AVAILABLE = 0 +$RURAL_CLOTHES_AVAILABLE = 0 +$RACING_SUIT_AVAILABLE = 0 +$MEDIC_UNIFORM_AVAILABLE = 0 +$PIMP_SUIT_AVAILABLE = 0 +$2564 = 0 +$2565 = 0 +$2566 = 0 +$2567 = 0 +$2568 = 0 +$2569 = 0 +$2570 = 0 +$2571 = 0 +$2572 = 0 +$2573 = 0 +$2574 = 0 +$2575 = 0 +$2576 = 0 +$2577 = 0 +$2655 = 0 +$2656 = 0 +Garage.Deactivate('CN2GAR2') +016C: restart_if_wasted_at 2488.562 -1666.864 12.8757 angle 200.0 town_number 0 +$2657 = 50 +$2658 = Object.Init(#TRDCSGRGDOOR_LVS, 1903.383, 967.62, 11.438) +Object.Angle($2658) = 0.0 +Object.RemoveFromMissionCleanupList($2658) +$2659 = Object.Init(#MD_POSTER, 2167.82, -1518.193, 20.237) +Object.Angle($2659) = 0.0 +Object.RemoveFromMissionCleanupList($2659) +$2660 = Object.Init(#CR_DOOR_01, 2322.845, 8.304, 25.483) +Object.Indestructibility($2660) = False +Object.KeepInMemory($2660) = True +$2661 = Object.Init(#CR_DOOR_01, 2316.233, 0.712, 25.742) +Object.Angle($2661) = 270.0 +Object.KeepInMemory($2661) = True +Object.Indestructibility($2661) = False +$2662 = Object.Init(#CR_DOOR_03, 2304.257, -17.744, 25.742) +Object.KeepInMemory($2662) = True +Object.Indestructibility($2662) = False +$2663 = Object.Init(#CR_DOOR_03, 2304.257, -14.583, 25.742) +Object.KeepInMemory($2663) = True +Object.Angle($2663) = 180.0 +Object.Indestructibility($2663) = False +$2664 = Object.Init(#SHUTTER_VEGAS, 1055.629, 2087.67, 12.469) +Object.RemoveFromMissionCleanupList($2664) +$2665 = Object.Create(#CR1_DOOR, 2352.851, -1171.027, 26.967) +Object.Angle($2665) = 90.0 +Object.ToggleInMovingList($2665) = False +Object.Indestructibility($2665) = False +Object.SetImmunities($2665, 1, 1, 1, 1, 1) +Object.RemoveFromMissionCleanupList($2665) +$2666 = Object.Init(#CT_GATEXR, -2179.353, 661.232, 50.214) +Object.Indestructibility($2666) = False +Object.RemoveFromMissionCleanupList($2666) +Garage.ChangeType('HBGDSFS', 19) +Garage.ChangeType('GHOSTDR', 19) +$2677[0] = -2108.0 +$2683[0] = 155.0 +$2689[0] = 34.049 +$2695[0] = 178.0 +$2677[1] = -2089.0 +$2683[1] = 172.0 +$2689[1] = 34.049 +$2695[1] = 267.0 +$2677[2] = -2069.0 +$2683[2] = 229.0 +$2689[2] = 35.021 +$2695[2] = 270.0 +$2677[3] = -2077.0 +$2683[3] = 271.0 +$2689[3] = 33.748 +$2695[3] = 0.0 +$2677[4] = -2096.0 +$2683[4] = 261.0 +$2689[4] = 34.581 +$2695[4] = 264.0 +$2677[5] = -2129.0 +$2683[5] = 306.0 +$2689[5] = 33.724 +$2695[5] = 0.0 +$2701 = 0 + +:INITIAL_7250 +if + 6 > $2701 +else_jump @INITIAL_7350 +$2671($2701,6i) = Object.Create(#PORTAKABIN, $2677($2701,6f), $2683($2701,6f), $2689($2701,6f)) +Object.Angle($2671($2701,6i)) = $2695($2701,6f) +Object.ToggleInMovingList($2671($2701,6i)) = False +Object.RemoveFromMissionCleanupList($2671($2701,6i)) +$2701 += 1 +jump @INITIAL_7250 + +:INITIAL_7350 +$2703 = Object.Init(#AB_CASDORLOK, 2168.644, 1619.43, 1000.3) +0566: link_object $2703 to_interior 1 +Object.Angle($2703) = 270.0 +Object.RemoveFromMissionCleanupList($2703) +$2704 = 0 +$2705 = 0 +$2706 = Object.Create(#AD_FLATDOOR, 1833.36, -1995.45, 12.5) +Object.Angle($2706) = 90.0 +Object.RemoveFromMissionCleanupList($2706) +$2707 = Object.Create(#AD_FLATDOOR, 1819.81, -1994.66, 12.5) +Object.RemoveFromMissionCleanupList($2707) +$2708 = Object.Create(#AD_FLATDOOR, 1827.68, -1980.0, 12.5) +Object.Angle($2708) = 270.0 +Object.RemoveFromMissionCleanupList($2708) +$2709 = Object.Create(#AD_FLATDOOR, 1851.84, -1990.67, 12.5) +Object.RemoveFromMissionCleanupList($2709) +$2710 = Object.Create(#AD_FLATDOOR, 1867.29, -1984.96, 12.5) +Object.Angle($2710) = 270.0 +Object.RemoveFromMissionCleanupList($2710) +$2711 = Object.Create(#AD_FLATDOOR, 1866.52, -1998.53, 12.5) +Object.Angle($2711) = 90.0 +Object.RemoveFromMissionCleanupList($2711) +$2712 = Object.Create(#AD_FLATDOOR, 1899.75, -1984.95, 12.5) +Object.Angle($2712) = 270.0 +Object.RemoveFromMissionCleanupList($2712) +$2713 = Object.Create(#AD_FLATDOOR, 1914.39, -1992.82, 12.5) +Object.Angle($2713) = 180.0 +Object.RemoveFromMissionCleanupList($2713) +$2714 = Object.Create(#AD_FLATDOOR, 1899.01, -1998.5, 12.5) +Object.Angle($2714) = 90.0 +Object.RemoveFromMissionCleanupList($2714) +$2715 = Object.Create(#AD_FLATDOOR, 1900.89, -2020.11, 12.5) +Object.RemoveFromMissionCleanupList($2715) +$2716 = Object.Create(#AD_FLATDOOR, 1914.4, -2020.91, 12.5) +Object.Angle($2716) = 180.0 +Object.RemoveFromMissionCleanupList($2716) +$2717 = Object.Create(#AD_FLATDOOR, 1906.54, -2035.52, 12.5) +Object.Angle($2717) = 90.0 +Object.RemoveFromMissionCleanupList($2717) +$2718 = Object.Create(#AD_FLATDOOR, 1851.86, -2020.14, 12.5) +Object.RemoveFromMissionCleanupList($2718) +$2719 = Object.Create(#AD_FLATDOOR, 1865.42, -2020.89, 12.5) +Object.Angle($2719) = 180.0 +Object.RemoveFromMissionCleanupList($2719) +$2720 = Object.Create(#AD_FLATDOOR, 1857.55, -2035.52, 12.5) +Object.Angle($2720) = 90.0 +Object.RemoveFromMissionCleanupList($2720) +$2721 = Object.Init(#IMY_SHASH_WALL, 2522.008, -1272.93, 35.609) +Object.Indestructibility($2721) = False +Object.KeepInMemory($2721) = True +Object.RemoveFromMissionCleanupList($2721) +$2722 = Object.Init(#TWRCRANE_M_04, -2080.441, 256.015, 66.869) +Object.RemoveFromMissionCleanupList($2722) +$2723 = Object.Init(#TWRCRANE_M_01, -2080.441, 256.007, 99.408) +Object.RemoveFromMissionCleanupList($2723) +$2724 = Object.Init(#TWRCRANE_M_02, -2080.441, 296.46, 102.861) +Object.RemoveFromMissionCleanupList($2724) +Object.StorePos($2722, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +$TEMPVAR_ANGLE = Object.Angle($2722) +$2725 = Object.Init(#LODCRANE_M_04, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($2725) = $TEMPVAR_ANGLE +Object.RemoveFromMissionCleanupList($2725) +Object.StorePos($2723, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +$TEMPVAR_ANGLE = Object.Angle($2723) +$2726 = Object.Init(#LODCRANE_M_01, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($2726) = $TEMPVAR_ANGLE +Object.RemoveFromMissionCleanupList($2726) +0827: assign_object $2722 to_lod_object $2725 +0827: assign_object $2723 to_lod_object $2726 +$2727 = Object.Init(#MAGNOCRANE_01, -1547.978, 123.988, 26.933) +Object.Angle($2727) = 45.0 +Object.RemoveFromMissionCleanupList($2727) +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object $2727 with_offset 0.0 0.0 0.0 +$2728 = Object.Init(#MAGNOCRANE_02, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.RemoveFromMissionCleanupList($2728) +Object.Angle($2728) = 140.0 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object $2728 with_offset 0.0 -2.185 8.51 +$TEMPVAR_ANGLE = Object.Angle($2728) +$CRANE_MAGNET = Object.Init(#MAGNOCRANE_03, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0453: set_object $CRANE_MAGNET XYZ_rotation 15.0 0.0 $TEMPVAR_ANGLE +Object.RemoveFromMissionCleanupList($CRANE_MAGNET) +Object.StorePos($2727, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +$TEMPVAR_ANGLE = Object.Angle($2727) +$2730 = Object.Init(#LODNOCRANE_01, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($2730) = $TEMPVAR_ANGLE +Object.RemoveFromMissionCleanupList($2730) +Object.StorePos($2728, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +$TEMPVAR_ANGLE = Object.Angle($2728) +$2731 = Object.Init(#LODNOCRANE_02, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($2731) = $TEMPVAR_ANGLE +Object.RemoveFromMissionCleanupList($2731) +Object.StorePos($CRANE_MAGNET, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +$TEMPVAR_ANGLE = Object.Angle($CRANE_MAGNET) +$2732 = Object.Init(#LODNOCRANE_03, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($2732) = $TEMPVAR_ANGLE +0453: set_object $2732 XYZ_rotation 15.0 0.0 $TEMPVAR_ANGLE +Object.RemoveFromMissionCleanupList($2732) +0827: assign_object $2727 to_lod_object $2730 +0827: assign_object $2728 to_lod_object $2731 +0827: assign_object $CRANE_MAGNET to_lod_object $2732 +$2740 = Object.Init(#QUARRY_CRANEBASE, 709.45, 915.93, -19.66) +Object.Angle($2740) = 135.0 +Object.RemoveFromMissionCleanupList($2740) +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object $2740 with_offset 0.0 0.0 4.069 +$TEMPVAR_ANGLE = Object.Angle($2740) +$2741 = Object.Init(#QUARRY_CRANE, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($2741) = $TEMPVAR_ANGLE +Object.RemoveFromMissionCleanupList($2741) +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object $2741 with_offset 0.0 0.0 1.021 +$TEMPVAR_ANGLE = Object.Angle($2741) +$2742 = Object.Init(#QUARRY_CRANEARM, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($2742) = $TEMPVAR_ANGLE +Object.RemoveFromMissionCleanupList($2742) +$2739 = 45.0 +0453: set_object $2742 XYZ_rotation 0.0 $2739 $TEMPVAR_ANGLE +$2743 = Object.Init(#TWRCRANE_M_04, 2399.202, 1879.139, 37.55) +Object.Angle($2743) = 0.0 +Object.RemoveFromMissionCleanupList($2743) +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object $2743 with_offset 0.0 0.0 32.521 +$TEMPVAR_ANGLE = Object.Angle($2743) +$2744 = Object.Init(#TWRCRANE_M_01, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($2744) = $TEMPVAR_ANGLE +Object.RemoveFromMissionCleanupList($2744) +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object $2744 with_offset 0.0 20.0 3.789 +$TEMPVAR_ANGLE = Object.Angle($2744) +$2745 = Object.Init(#TWRCRANE_M_02, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($2745) = $TEMPVAR_ANGLE +Object.RemoveFromMissionCleanupList($2745) +Object.StorePos($2743, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +$TEMPVAR_ANGLE = Object.Angle($2743) +$2746 = Object.Init(#LODCRANE_M_04, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($2746) = $TEMPVAR_ANGLE +Object.RemoveFromMissionCleanupList($2746) +Object.StorePos($2744, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +$TEMPVAR_ANGLE = Object.Angle($2744) +$2747 = Object.Init(#LODCRANE_M_01, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($2747) = $TEMPVAR_ANGLE +Object.RemoveFromMissionCleanupList($2747) +0827: assign_object $2743 to_lod_object $2746 +0827: assign_object $2744 to_lod_object $2747 +$2755 = 0.0 +$2756 = 0.0 +$2757 = 0.0 +$SHOPS_PLAYER_CASH = 0 +$2750 = 0 +$2751 = 0 +Garage.ChangeType('BODLAWN', 38) +Garage.ChangeType('MODLAST', 36) +Garage.ChangeType('MDSSFSE', 38) +Garage.ChangeType('MDS1SFS', 37) +Garage.ChangeType('VECMOD', 38) +$2758 = 0 +$138 = 2508.16 +$139 = -1666.47 +$140 = 13.0 +$141 = 16.0 +$142 = 2473.53 +$143 = -1690.21 +$144 = 13.0 +$145 = 0.0 +0A17: set_parked_car_generator $2790 to_player_owned 1 +0A17: set_parked_car_generator $2791 to_player_owned 1 +0A17: set_parked_car_generator $2792 to_player_owned 1 +0A17: set_parked_car_generator $2793 to_player_owned 1 +0A17: set_parked_car_generator $2794 to_player_owned 1 +$MISSION_BMX_STUNT_PASSED = 0 +$MISSION_NRG500_STUNT_PASSED = 0 +$STUNT_MISSIONS_BESTTIME = 999999999 +$2798 = 999999999 +$X_STUNT_MISSION_BMX = 1946.09 +$Y_STUNT_MISSION_BMX = -1380.72 +$Z_STUNT_MISSION_BMX = 18.0 +$X_STUNT_MISSION_NRG500 = -1696.531 +$Y_STUNT_MISSION_NRG500 = 77.719 +$Z_STUNT_MISSION_NRG500 = 3.555 +0A17: set_parked_car_generator $PARKED_GIRLFRIEND_CARS_NUMPLATE to_player_owned 1 +0A17: set_parked_car_generator $2825 to_player_owned 1 +0A17: set_parked_car_generator $2827 to_player_owned 1 +0A17: set_parked_car_generator $2826 to_player_owned 1 +0A17: set_parked_car_generator $2828 to_player_owned 1 +0A17: set_parked_car_generator $PARKED_IMPEXPM_CARS to_player_owned 1 +$2877 = 0 +07FB: set_interior 'FDREST1' access 0 +07FB: set_interior 'REST2' access 0 +07FB: set_interior 'DINER1' access 0 +07FB: set_interior 'DINER2' access 0 +07FB: set_interior 'TSDINER' access 0 +07FB: set_interior 'GF1' access 0 +07FB: set_interior 'GF2' access 0 +07FB: set_interior 'GF3' access 0 +07FB: set_interior 'GF4' access 0 +07FB: set_interior 'GF5' access 0 +07FB: set_interior 'GF6' access 0 +$2878 = 0 +$2879 = 0 +$2880 = 0 +$2881 = 0 +end_thread + +:INITIAL_9567 +jump @INITIAL_973 + +//-------------Mission 1--------------- +// Originally: Initial 2 + +:INITIL2 +thread 'INITIL2' +$3407 = 25 +$3408 = 100 +$3409 = 250 +$3410 = 500 +$3411 = 1000 +$3412 = 5000 +0084: $3413[0] = $3412 // (int) +0084: $3413[1] = $3409 // (int) +0084: $3413[2] = $3411 // (int) +0084: $3413[3] = $3410 // (int) +0084: $3413[4] = $3407 // (int) +0084: $3413[5] = $3408 // (int) +0084: $3413[6] = $3407 // (int) +0084: $3413[7] = $3408 // (int) +0084: $3413[8] = $3410 // (int) +0084: $3413[9] = $3409 // (int) +0084: $3413[10] = $3410 // (int) +0084: $3413[11] = $3411 // (int) +0084: $3413[12] = $3407 // (int) +0084: $3413[13] = $3408 // (int) +0084: $3413[14] = $3409 // (int) +0084: $3413[15] = $3408 // (int) +0084: $3413[16] = $3410 // (int) +0084: $3413[17] = $3407 // (int) +0084: $3431[0] = $3409 // (int) +0084: $3431[1] = $3410 // (int) +0084: $3431[2] = $3407 // (int) +0084: $3431[3] = $3408 // (int) +0084: $3431[4] = $3412 // (int) +0084: $3431[5] = $3410 // (int) +0084: $3431[6] = $3408 // (int) +0084: $3431[7] = $3407 // (int) +0084: $3431[8] = $3410 // (int) +0084: $3431[9] = $3411 // (int) +0084: $3431[10] = $3408 // (int) +0084: $3431[11] = $3409 // (int) +0084: $3431[12] = $3407 // (int) +0084: $3431[13] = $3411 // (int) +0084: $3431[14] = $3407 // (int) +0084: $3431[15] = $3409 // (int) +0084: $3431[16] = $3410 // (int) +0084: $3431[17] = $3408 // (int) +0084: $3449[0] = $3408 // (int) +0084: $3449[1] = $3407 // (int) +0084: $3449[2] = $3409 // (int) +0084: $3449[3] = $3410 // (int) +0084: $3449[4] = $3408 // (int) +0084: $3449[5] = $3410 // (int) +0084: $3449[6] = $3409 // (int) +0084: $3449[7] = $3408 // (int) +0084: $3449[8] = $3407 // (int) +0084: $3449[9] = $3411 // (int) +0084: $3449[10] = $3412 // (int) +0084: $3449[11] = $3407 // (int) +0084: $3449[12] = $3410 // (int) +0084: $3449[13] = $3409 // (int) +0084: $3449[14] = $3408 // (int) +0084: $3449[15] = $3411 // (int) +0084: $3449[16] = $3410 // (int) +0084: $3449[17] = $3407 // (int) +$3467 = 261.3555 +$3472 = 399.3732 +$3468 = 219.0498 +$3473 = 356.6364 +$3469 = 431.2757 +$3474 = 424.3356 +$3477 = 36.365 +$3481 = 240.157 +$3485 = 0.4714 +$3487 = 2.5077 +$3478 = 29.3763 +$3482 = 20.0589 +$3486 = 0.6253 +$3488 = 2.7876 +$3479 = 28.5106 +$3483 = 220.0782 +$3480 = 157.2242 +$3484 = 409.3602 +$3489 = 0 +$3490 = -0.316 +$3491 = 0.497 +$3492 = 0.408 +$3493 = -1.342 +0086: $TEMPVAR_FLOAT_1 = $3490 // (float) +0061: $TEMPVAR_FLOAT_1 -= $3492 // (float) +0086: $TEMPVAR_FLOAT_2 = $3491 // (float) +0061: $TEMPVAR_FLOAT_2 -= $3493 // (float) +0086: $3494 = $TEMPVAR_FLOAT_1 // (float) +$3494 /= 6.0 +0086: $3495 = $TEMPVAR_FLOAT_2 // (float) +$3495 /= 24.0 +0086: $3496 = $3490 // (float) +0061: $3496 -= $3494 // (float) +0086: $3497 = $3491 // (float) +0061: $3497 -= $3495 // (float) +$3498 = -0.176 +$3499 = 0.0 +$3500 = 0.0 +$3501 = 0.0 +$3502 = 0.0 +$3503 = 0.0 +$3504 = 0.0 +$3505 = 0 +$3506 = 0 +$3507[0] = -2.0 +$3658[0] = 2.0 +$3507[1] = 0.0 +$3658[1] = 0.0 +$3507[2] = -2.0 +$3658[2] = 0.0 +$3507[3] = -4.0 +$3658[3] = 0.0 +$3507[4] = 0.0 +$3658[4] = -2.0 +$3507[5] = -2.0 +$3658[5] = -2.0 +$3507[6] = -4.0 +$3658[6] = -2.0 +$3507[7] = 0.0 +$3658[7] = -4.0 +$3507[8] = -2.0 +$3658[8] = -4.0 +$3507[9] = -4.0 +$3658[9] = -4.0 +$3507[10] = 0.0 +$3658[10] = -6.0 +$3507[11] = -2.0 +$3658[11] = -6.0 +$3507[12] = -4.0 +$3658[12] = -6.0 +$3507[13] = 0.0 +$3658[13] = -8.0 +$3507[14] = -2.0 +$3658[14] = -8.0 +$3507[15] = -4.0 +$3658[15] = -8.0 +$3507[16] = 0.0 +$3658[16] = -10.0 +$3507[17] = -2.0 +$3658[17] = -10.0 +$3507[18] = -4.0 +$3658[18] = -10.0 +$3507[19] = 0.0 +$3658[19] = -12.0 +$3507[20] = -2.0 +$3658[20] = -12.0 +$3507[21] = -4.0 +$3658[21] = -12.0 +$3507[22] = 0.0 +$3658[22] = -14.0 +$3507[23] = -2.0 +$3658[23] = -14.0 +$3507[24] = -4.0 +$3658[24] = -14.0 +$3507[25] = 0.0 +$3658[25] = -16.0 +$3507[26] = -2.0 +$3658[26] = -16.0 +$3507[27] = -4.0 +$3658[27] = -16.0 +$3507[28] = 0.0 +$3658[28] = -18.0 +$3507[29] = -2.0 +$3658[29] = -18.0 +$3507[30] = -4.0 +$3658[30] = -18.0 +$3507[31] = 0.0 +$3658[31] = -20.0 +$3507[32] = -2.0 +$3658[32] = -20.0 +$3507[33] = -4.0 +$3658[33] = -20.0 +$3507[34] = 0.0 +$3658[34] = -22.0 +$3507[35] = -2.0 +$3658[35] = -22.0 +$3507[36] = -4.0 +$3658[36] = -22.0 +$3507[37] = -1.0 +$3658[37] = 0.0 +$3507[38] = -3.0 +$3658[38] = 0.0 +$3507[39] = -1.0 +$3658[39] = -2.0 +$3507[40] = -3.0 +$3658[40] = -2.0 +$3507[41] = -1.0 +$3658[41] = -4.0 +$3507[42] = -3.0 +$3658[42] = -4.0 +$3507[43] = -1.0 +$3658[43] = -6.0 +$3507[44] = -3.0 +$3658[44] = -6.0 +$3507[45] = -1.0 +$3658[45] = -8.0 +$3507[46] = -3.0 +$3658[46] = -8.0 +$3507[47] = -1.0 +$3658[47] = -10.0 +$3507[48] = -3.0 +$3658[48] = -10.0 +$3507[49] = -1.0 +$3658[49] = -12.0 +$3507[50] = -3.0 +$3658[50] = -12.0 +$3507[51] = -1.0 +$3658[51] = -14.0 +$3507[52] = -3.0 +$3658[52] = -14.0 +$3507[53] = -1.0 +$3658[53] = -16.0 +$3507[54] = -3.0 +$3658[54] = -16.0 +$3507[55] = -1.0 +$3658[55] = -18.0 +$3507[56] = -3.0 +$3658[56] = -18.0 +$3507[57] = -1.0 +$3658[57] = -20.0 +$3507[58] = -3.0 +$3658[58] = -20.0 +$3507[59] = -1.0 +$3658[59] = -22.0 +$3507[60] = -3.0 +$3658[60] = -22.0 +$3507[61] = 0.0 +$3658[61] = -1.0 +$3507[62] = -2.0 +$3658[62] = -1.0 +$3507[63] = -4.0 +$3658[63] = -1.0 +$3507[64] = 0.0 +$3658[64] = -3.0 +$3507[65] = -2.0 +$3658[65] = -3.0 +$3507[66] = -4.0 +$3658[66] = -3.0 +$3507[67] = 0.0 +$3658[67] = -5.0 +$3507[68] = -2.0 +$3658[68] = -5.0 +$3507[69] = -4.0 +$3658[69] = -5.0 +$3507[70] = 0.0 +$3658[70] = -7.0 +$3507[71] = -2.0 +$3658[71] = -7.0 +$3507[72] = -4.0 +$3658[72] = -7.0 +$3507[73] = 0.0 +$3658[73] = -9.0 +$3507[74] = -2.0 +$3658[74] = -9.0 +$3507[75] = -4.0 +$3658[75] = -9.0 +$3507[76] = 0.0 +$3658[76] = -11.0 +$3507[77] = -2.0 +$3658[77] = -11.0 +$3507[78] = -4.0 +$3658[78] = -11.0 +$3507[79] = 0.0 +$3658[79] = -13.0 +$3507[80] = -2.0 +$3658[80] = -13.0 +$3507[81] = -4.0 +$3658[81] = -13.0 +$3507[82] = 0.0 +$3658[82] = -15.0 +$3507[83] = -2.0 +$3658[83] = -15.0 +$3507[84] = -4.0 +$3658[84] = -15.0 +$3507[85] = 0.0 +$3658[85] = -17.0 +$3507[86] = -2.0 +$3658[86] = -17.0 +$3507[87] = -4.0 +$3658[87] = -17.0 +$3507[88] = 0.0 +$3658[88] = -19.0 +$3507[89] = -2.0 +$3658[89] = -19.0 +$3507[90] = -4.0 +$3658[90] = -19.0 +$3507[91] = 0.0 +$3658[91] = -21.0 +$3507[92] = -2.0 +$3658[92] = -21.0 +$3507[93] = -4.0 +$3658[93] = -21.0 +$3507[94] = -5.0 +$3658[94] = 0.0 +$3507[95] = -5.0 +$3658[95] = -2.0 +$3507[96] = -5.0 +$3658[96] = -4.0 +$3507[97] = -5.0 +$3658[97] = -6.0 +$3507[98] = -5.0 +$3658[98] = -8.0 +$3507[99] = -5.0 +$3658[99] = -10.0 +$3507[100] = -5.0 +$3658[100] = -12.0 +$3507[101] = -5.0 +$3658[101] = -14.0 +$3507[102] = -5.0 +$3658[102] = -16.0 +$3507[103] = -5.0 +$3658[103] = -18.0 +$3507[104] = -5.0 +$3658[104] = -20.0 +$3507[105] = -5.0 +$3658[105] = -22.0 +$3507[106] = -1.0 +$3658[106] = -1.0 +$3507[107] = -3.0 +$3658[107] = -1.0 +$3507[108] = -1.0 +$3658[108] = -3.0 +$3507[109] = -3.0 +$3658[109] = -3.0 +$3507[110] = -1.0 +$3658[110] = -5.0 +$3507[111] = -3.0 +$3658[111] = -5.0 +$3507[112] = -1.0 +$3658[112] = -7.0 +$3507[113] = -3.0 +$3658[113] = -7.0 +$3507[114] = -1.0 +$3658[114] = -9.0 +$3507[115] = -3.0 +$3658[115] = -9.0 +$3507[116] = -1.0 +$3658[116] = -11.0 +$3507[117] = -3.0 +$3658[117] = -11.0 +$3507[118] = -1.0 +$3658[118] = -13.0 +$3507[119] = -3.0 +$3658[119] = -13.0 +$3507[120] = -1.0 +$3658[120] = -15.0 +$3507[121] = -3.0 +$3658[121] = -15.0 +$3507[122] = -1.0 +$3658[122] = -17.0 +$3507[123] = -3.0 +$3658[123] = -17.0 +$3507[124] = -1.0 +$3658[124] = -19.0 +$3507[125] = -3.0 +$3658[125] = -19.0 +$3507[126] = -1.0 +$3658[126] = -21.0 +$3507[127] = -3.0 +$3658[127] = -21.0 +$3507[128] = 0.0 +$3658[128] = -24.0 +$3507[129] = -2.0 +$3658[129] = -24.0 +$3507[130] = -4.0 +$3658[130] = -24.0 +$3507[131] = 2.0 +$3658[131] = -3.0 +$3507[132] = 2.0 +$3658[132] = -11.0 +$3507[133] = 2.0 +$3658[133] = -19.0 +$3507[134] = 4.0 +$3658[134] = -1.0 +$3507[135] = 4.0 +$3658[135] = -21.0 +$3507[136] = 4.0 +$3658[136] = -5.0 +$3507[137] = 4.0 +$3658[137] = -17.0 +$3507[138] = 4.0 +$3658[138] = -9.0 +$3507[139] = 4.0 +$3658[139] = -13.0 +$3507[140] = -5.0 +$3658[140] = -1.0 +$3507[141] = -5.0 +$3658[141] = -3.0 +$3507[142] = -5.0 +$3658[142] = -5.0 +$3507[143] = -5.0 +$3658[143] = -7.0 +$3507[144] = -5.0 +$3658[144] = -9.0 +$3507[145] = -5.0 +$3658[145] = -11.0 +$3507[146] = -5.0 +$3658[146] = -13.0 +$3507[147] = -5.0 +$3658[147] = -15.0 +$3507[148] = -5.0 +$3658[148] = -17.0 +$3507[149] = -5.0 +$3658[149] = -19.0 +$3507[150] = -5.0 +$3658[150] = -21.0 +$3809 = 345.3592 +$3810 = 55.3183 +04AE: $3811[0] = 5408 // = constant +04AE: $3811[1] = 5409 // = constant +04AE: $3811[2] = 5410 // = constant +04AE: $3814[0] = 5405 // = constant +04AE: $3814[1] = 5406 // = constant +04AE: $3814[2] = 5407 // = constant +04AE: $3817[0] = 5451 // = constant +04AE: $3817[1] = 5452 // = constant +04AE: $3820[0] = 5448 // = constant +04AE: $3820[1] = 5449 // = constant +04AE: $3820[2] = 5450 // = constant +04AE: $3820[3] = 5462 // = constant +04AE: $3820[4] = 5463 // = constant +04AE: $3820[5] = 5464 // = constant +04AE: $3826[0] = 5453 // = constant +04AE: $3826[1] = 5454 // = constant +04AE: $3828[0] = 5400 // = constant +04AE: $3828[1] = 5401 // = constant +04AE: $3830[0] = 5438 // = constant +04AE: $3830[1] = 5439 // = constant +04AE: $3830[2] = 5440 // = constant +04AE: $3830[3] = 5441 // = constant +04AE: $3830[4] = 5442 // = constant +04AE: $3830[5] = 5443 // = constant +04AE: $3830[6] = 5444 // = constant +04AE: $3830[7] = 5445 // = constant +04AE: $3830[8] = 5446 // = constant +04AE: $3830[9] = 5447 // = constant +04AE: $3830[10] = 5411 // = constant +04AE: $3830[11] = 5412 // = constant +04AE: $3830[12] = 5413 // = constant +04AE: $3830[13] = 5414 // = constant +04AE: $3830[14] = 5415 // = constant +04AE: $3830[15] = 5416 // = constant +04AE: $3830[16] = 5417 // = constant +04AE: $3830[17] = 5418 // = constant +04AE: $3830[18] = 5419 // = constant +04AE: $3830[19] = 5420 // = constant +04AE: $3830[20] = 5421 // = constant +04AE: $3830[21] = 5422 // = constant +04AE: $3830[22] = 5423 // = constant +04AE: $3830[23] = 5424 // = constant +04AE: $3830[24] = 5425 // = constant +04AE: $3830[25] = 5426 // = constant +04AE: $3830[26] = 5427 // = constant +04AE: $3830[27] = 5428 // = constant +04AE: $3830[28] = 5429 // = constant +04AE: $3830[29] = 5430 // = constant +04AE: $3830[30] = 5431 // = constant +04AE: $3830[31] = 5432 // = constant +04AE: $3830[32] = 5433 // = constant +04AE: $3830[33] = 5434 // = constant +04AE: $3830[34] = 5435 // = constant +04AE: $3830[35] = 5436 // = constant +04AE: $3830[36] = 5437 // = constant +04AE: $3867[0] = 5402 // = constant +04AE: $3867[1] = 5403 // = constant +04AE: $3867[2] = 5404 // = constant +04AE: $3870[0] = 43608 // = constant +04AE: $3870[1] = 43609 // = constant +04AE: $3870[2] = 43610 // = constant +04AE: $3873[0] = 43605 // = constant +04AE: $3873[1] = 43606 // = constant +04AE: $3873[2] = 43607 // = constant +04AE: $3876[0] = 43651 // = constant +04AE: $3876[1] = 43652 // = constant +04AE: $3879[0] = 43648 // = constant +04AE: $3879[1] = 43649 // = constant +04AE: $3879[2] = 43650 // = constant +04AE: $3879[3] = 43662 // = constant +04AE: $3879[4] = 43663 // = constant +04AE: $3879[5] = 43664 // = constant +04AE: $3885[0] = 43653 // = constant +04AE: $3885[1] = 43654 // = constant +04AE: $3887[0] = 43600 // = constant +04AE: $3887[1] = 43601 // = constant +04AE: $3889[0] = 43638 // = constant +04AE: $3889[1] = 43639 // = constant +04AE: $3889[2] = 43640 // = constant +04AE: $3889[3] = 43641 // = constant +04AE: $3889[4] = 43642 // = constant +04AE: $3889[5] = 43643 // = constant +04AE: $3889[6] = 43644 // = constant +04AE: $3889[7] = 43645 // = constant +04AE: $3889[8] = 43646 // = constant +04AE: $3889[9] = 43647 // = constant +04AE: $3889[10] = 43611 // = constant +04AE: $3889[11] = 43612 // = constant +04AE: $3889[12] = 43613 // = constant +04AE: $3889[13] = 43614 // = constant +04AE: $3889[14] = 43615 // = constant +04AE: $3889[15] = 43616 // = constant +04AE: $3889[16] = 43617 // = constant +04AE: $3889[17] = 43618 // = constant +04AE: $3889[18] = 43619 // = constant +04AE: $3889[19] = 43620 // = constant +04AE: $3889[20] = 43621 // = constant +04AE: $3889[21] = 43622 // = constant +04AE: $3889[22] = 43623 // = constant +04AE: $3889[23] = 43624 // = constant +04AE: $3889[24] = 43625 // = constant +04AE: $3889[25] = 43626 // = constant +04AE: $3889[26] = 43627 // = constant +04AE: $3889[27] = 43628 // = constant +04AE: $3889[28] = 43629 // = constant +04AE: $3889[29] = 43630 // = constant +04AE: $3889[30] = 43631 // = constant +04AE: $3889[31] = 43632 // = constant +04AE: $3889[32] = 43633 // = constant +04AE: $3889[33] = 43634 // = constant +04AE: $3889[34] = 43635 // = constant +04AE: $3889[35] = 43636 // = constant +04AE: $3889[36] = 43637 // = constant +04AE: $3926[0] = 43602 // = constant +04AE: $3926[1] = 43603 // = constant +04AE: $3926[2] = 43604 // = constant +$X_BCE2_CHECKPOINTS = -2307.723 +$Y_BCE2_CHECKPOINTS = -2235.966 +$Z_BCE2_CHECKPOINTS = 23.0204 +$3930 = -2276.635 +$4015 = -2220.047 +$4100 = 28.716 +$3931 = -2199.391 +$4016 = -2283.952 +$4101 = 30.1494 +$3932 = -2105.436 +$4017 = -2354.441 +$4102 = 30.1419 +$3933 = -2142.24 +$4018 = -2410.32 +$4103 = 30.497 +$3934 = -2026.404 +$4019 = -2507.761 +$4104 = 32.0519 +$3935 = -1938.526 +$4020 = -2456.146 +$4105 = 30.3298 +$3936 = -1900.394 +$4021 = -2424.618 +$4106 = 31.9732 +$3937 = -1862.806 +$4022 = -2381.538 +$4107 = 31.2712 +$3938 = -1800.629 +$4023 = -2319.639 +$4108 = 40.2496 +$3939 = -1707.158 +$4024 = -2302.579 +$4109 = 44.1806 +$3940 = -1662.639 +$4025 = -2186.958 +$4110 = 33.5305 +$3941 = -1688.256 +$4026 = -2115.59 +$4111 = 37.4741 +$3942 = -1778.958 +$4027 = -2090.098 +$4112 = 49.6459 +$3943 = -1868.425 +$4028 = -2088.36 +$4113 = 58.5847 +$3944 = -1959.41 +$4029 = -2047.85 +$4114 = 71.8449 +$3945 = -1947.789 +$4030 = -1948.487 +$4115 = 77.4592 +$3946 = -1852.11 +$4031 = -1920.47 +$4116 = 87.5994 +$3947 = -1754.616 +$4032 = -1898.502 +$4117 = 96.5566 +$3948 = -1654.121 +$4033 = -1900.045 +$4118 = 90.8553 +$3949 = -1554.651 +$4034 = -1901.959 +$4119 = 81.5693 +$3950 = -1512.378 +$4035 = -1807.028 +$4120 = 57.9597 +$3951 = -1433.233 +$4036 = -1860.032 +$4121 = 37.3383 +$3952 = -1425.812 +$4037 = -1962.023 +$4122 = 15.8029 +$3953 = -1298.451 +$4038 = -2114.384 +$4123 = 24.1506 +$3954 = -1269.661 +$4039 = -2251.145 +$4124 = 21.2137 +$3955 = -1260.525 +$4040 = -2283.122 +$4125 = 21.5858 +$3956 = -1255.258 +$4041 = -2307.536 +$4126 = 22.066 +$3957 = -1253.158 +$4042 = -2315.343 +$4127 = 22.5913 +$3958 = -1216.728 +$4043 = -2343.497 +$4128 = 16.9383 +$3959 = -1193.944 +$4044 = -2355.995 +$4129 = 18.7764 +$3960 = -1104.68 +$4045 = -2377.18 +$4130 = 36.3239 +$3961 = -1000.239 +$4046 = -2371.508 +$4131 = 64.5107 +$3962 = -958.5369 +$4047 = -2281.055 +$4132 = 52.9462 +$3963 = -939.7041 +$4048 = -2187.095 +$4133 = 35.4659 +$3964 = -841.8345 +$4049 = -2181.378 +$4134 = 23.7405 +$3965 = -790.3633 +$4050 = -2095.343 +$4135 = 25.4038 +$3966 = -844.4321 +$4051 = -2010.338 +$4136 = 20.3482 +$3967 = -809.238 +$4052 = -1902.54 +$4137 = 9.4239 +$3968 = -735.21 +$4053 = -1855.303 +$4138 = 13.5207 +$3969 = -641.8992 +$4054 = -1846.861 +$4139 = 21.7356 +$3970 = -546.9716 +$4055 = -1832.096 +$4140 = 25.5599 +$3971 = -460.5018 +$4056 = -1800.012 +$4141 = 8.5607 +$3972 = -424.1711 +$4057 = -1704.138 +$4142 = 10.8356 +$3973 = -410.4569 +$4058 = -1611.74 +$4143 = 20.2907 +$3974 = -358.7348 +$4059 = -1531.884 +$4144 = 19.0268 +$3975 = -342.9092 +$4060 = -1455.663 +$4145 = 17.8712 +$3976 = -243.4206 +$4061 = -1451.22 +$4146 = 4.3198 +$3977 = -193.0986 +$4062 = -1477.038 +$4147 = 7.9595 +$3978 = -68.0509 +$4063 = -1510.513 +$4148 = 1.9303 +$3979 = 31.2142 +$4064 = -1526.881 +$4149 = 4.3931 +$3980 = 129.336 +$4065 = -1459.612 +$4150 = 23.8768 +$3981 = 139.13 +$4066 = -1255.649 +$4151 = 44.9903 +$3982 = 266.63 +$4067 = -995.6493 +$4152 = 50.9903 +$3983 = 366.63 +$4068 = -757.6493 +$4153 = 16.4903 +$3984 = 424.13 +$4069 = -567.6493 +$4154 = 38.9903 +$3985 = 458.13 +$4070 = -448.1493 +$4155 = 30.9903 +$3986 = 338.13 +$4071 = -390.6493 +$4156 = 12.9903 +$3987 = 338.13 +$4072 = -342.1493 +$4157 = 8.9903 +$3988 = 475.13 +$4073 = -264.6493 +$4158 = 9.9903 +$3989 = 615.63 +$4074 = -197.1493 +$4159 = 9.9903 +$3990 = 757.13 +$4075 = -152.1493 +$4160 = 18.4903 +$3991 = 907.13 +$4076 = -92.1493 +$4161 = 19.9903 +$3992 = 1135.63 +$4077 = -63.6493 +$4162 = 22.9903 +$3993 = 1280.63 +$4078 = -170.6493 +$4163 = 32.4903 +$3994 = 1440.63 +$4079 = -214.6493 +$4164 = 7.9903 +$3995 = 1554.63 +$4080 = -124.6493 +$4165 = 17.9903 +$3996 = 1551.63 +$4081 = 46.8507 +$4166 = 23.9903 +$3997 = 1567.13 +$4082 = 122.3507 +$4167 = 28.9903 +$3998 = 1807.13 +$4083 = 75.3507 +$4168 = 34.4903 +$3999 = 2057.13 +$4084 = 40.3507 +$4169 = 26.9903 +$4000 = 2275.63 +$4085 = 41.8507 +$4170 = 25.4903 +$4001 = 2365.63 +$4086 = 91.8507 +$4171 = 25.4903 +$4002 = 2435.63 +$4087 = 41.8507 +$4172 = 25.4903 +$4003 = 2692.13 +$4088 = 33.8507 +$4173 = 25.4903 +$4004 = 2737.63 +$4089 = -156.1493 +$4174 = 31.4903 +$4005 = 2700.13 +$4090 = -384.1493 +$4175 = 24.4903 +$4006 = 2820.13 +$4091 = -554.1493 +$4176 = 9.9903 +$4007 = 2846.13 +$4092 = -711.6493 +$4177 = 9.9903 +$4008 = 2841.63 +$4093 = -929.1493 +$4178 = 13.9903 +$4009 = 2841.13 +$4094 = -1182.649 +$4179 = 23.9903 +$4010 = 2873.13 +$4095 = -1383.649 +$4180 = 10.4903 +$4011 = 2797.63 +$4096 = -1380.649 +$4181 = 20.9903 +$4012 = 2795.13 +$4097 = -1262.149 +$4182 = 45.9903 +$4013 = 2732.13 +$4098 = -1257.649 +$4183 = 58.9903 +$X_BCE2_PATRIOT_CHECKPOINTS = 2487.846 +$Y_BCE2_PATRIOT_CHECKPOINTS = -1661.031 +$Z_BCE2_PATRIOT_CHECKPOINTS = 13.0886 +$4185 = 2387.639 +$4301 = -1657.847 +$4417 = 13.1425 +$4186 = 2287.486 +$4302 = -1659.316 +$4418 = 14.644 +$4187 = 2188.221 +$4303 = -1639.707 +$4419 = 15.0652 +$4188 = 2091.671 +$4304 = -1612.541 +$4420 = 13.1285 +$4189 = 1990.505 +$4305 = -1612.728 +$4421 = 13.1392 +$4190 = 1889.545 +$4306 = -1612.92 +$4422 = 13.1432 +$4191 = 1788.508 +$4307 = -1609.786 +$4423 = 13.1208 +$4192 = 1688.856 +$4308 = -1592.988 +$4424 = 13.1397 +$4193 = 1587.913 +$4309 = -1589.57 +$4425 = 13.1277 +$4194 = 1487.483 +$4310 = -1592.59 +$4426 = 13.1511 +$4195 = 1386.55 +$4311 = -1586.947 +$4427 = 13.1234 +$4196 = 1286.662 +$4312 = -1571.949 +$4428 = 13.1273 +$4197 = 1185.751 +$4313 = -1570.81 +$4429 = 13.141 +$4198 = 1084.591 +$4314 = -1571.387 +$4430 = 13.1352 +$4199 = 1057.109 +$4315 = -1474.388 +$4431 = 13.1259 +$4200 = 1061.076 +$4316 = -1373.338 +$4432 = 13.1525 +$4201 = 1057.542 +$4317 = -1273.05 +$4433 = 13.1425 +$4202 = 1058.531 +$4318 = -1173.37 +$4434 = 23.0197 +$4203 = 963.0153 +$4319 = -1141.862 +$4435 = 23.4253 +$4204 = 862.2285 +$4320 = -1144.682 +$4436 = 23.4156 +$4205 = 796.4694 +$4321 = -1069.208 +$4437 = 24.2389 +$4206 = 707.7682 +$4322 = -1116.412 +$4438 = 17.7387 +$4207 = 648.3205 +$4323 = -1197.185 +$4439 = 17.2365 +$4208 = 641.5527 +$4324 = -1199.744 +$4440 = 17.7693 +$4209 = 568.4156 +$4325 = -1131.509 +$4441 = 26.222 +$4210 = 469.6543 +$4326 = -1113.59 +$4442 = 27.6279 +$4211 = 370.4434 +$4327 = -1129.382 +$4443 = 25.3758 +$4212 = 274.1698 +$4328 = -1156.751 +$4444 = 21.1352 +$4213 = 181.3566 +$4329 = -1195.782 +$4445 = 17.3878 +$4214 = 94.4232 +$4330 = -1245.732 +$4446 = 14.5145 +$4215 = 15.8414 +$4331 = -1308.858 +$4447 = 12.0496 +$4216 = -62.2601 +$4332 = -1372.58 +$4448 = 11.3571 +$4217 = -133.5467 +$4333 = -1443.433 +$4449 = 12.5484 +$4218 = -201.4483 +$4334 = -1518.152 +$4450 = 14.3358 +$4219 = -261.8274 +$4335 = -1597.991 +$4451 = 15.6199 +$4220 = -295.7058 +$4336 = -1693.143 +$4452 = 14.4603 +$4221 = -331.9772 +$4337 = -1786.496 +$4453 = 17.6881 +$4222 = -367.9241 +$4338 = -1879.787 +$4454 = 25.9672 +$4223 = -367.5844 +$4339 = -1980.193 +$4455 = 27.9446 +$4224 = -350.2859 +$4340 = -2079.723 +$4456 = 28.0525 +$4225 = -333.1001 +$4341 = -2179.344 +$4457 = 28.1703 +$4226 = -297.5232 +$4342 = -2273.428 +$4458 = 29.7426 +$4227 = -233.4477 +$4343 = -2351.693 +$4459 = 31.5324 +$4228 = -159.7139 +$4344 = -2420.795 +$4460 = 35.957 +$4229 = -92.2604 +$4345 = -2496.008 +$4461 = 38.2066 +$4230 = -49.518 +$4346 = -2586.409 +$4462 = 43.3945 +$4231 = -39.0012 +$4347 = -2686.408 +$4463 = 42.5762 +$4232 = -71.9678 +$4348 = -2781.283 +$4464 = 39.1346 +$4233 = -162.2194 +$4349 = -2824.728 +$4465 = 40.6313 +$4234 = -261.9651 +$4350 = -2815.27 +$4466 = 50.816 +$4235 = -357.7323 +$4351 = -2787.403 +$4467 = 61.6162 +$4236 = -456.2191 +$4352 = -2766.184 +$4468 = 66.2852 +$4237 = -555.2378 +$4353 = -2751.549 +$4469 = 65.7085 +$4238 = -655.188 +$4354 = -2748.976 +$4470 = 69.8092 +$4239 = -753.9544 +$4355 = -2764.895 +$4471 = 74.469 +$4240 = -847.778 +$4356 = -2801.963 +$4472 = 70.6215 +$4241 = -938.0959 +$4357 = -2845.479 +$4473 = 68.4226 +$4242 = -1038.655 +$4358 = -2853.158 +$4474 = 67.4485 +$4243 = -1139.419 +$4359 = -2855.438 +$4475 = 67.466 +$4244 = -1239.449 +$4360 = -2860.805 +$4476 = 65.7173 +$4245 = -1338.09 +$4361 = -2878.668 +$4477 = 55.5616 +$4246 = -1435.335 +$4362 = -2853.41 +$4478 = 48.3088 +$4247 = -1520.402 +$4363 = -2799.315 +$4479 = 46.6003 +$4248 = -1600.969 +$4364 = -2739.976 +$4480 = 48.7977 +$4249 = -1681.43 +$4365 = -2679.765 +$4481 = 48.2789 +$4250 = -1745.168 +$4366 = -2601.553 +$4482 = 49.447 +$4251 = -1823.681 +$4367 = -2538.121 +$4483 = 52.7491 +$4252 = -1923.907 +$4368 = -2539.927 +$4484 = 38.6757 +$4253 = -2019.306 +$4369 = -2507.657 +$4485 = 32.3084 +$4254 = -2100.137 +$4370 = -2446.756 +$4486 = 30.2321 +$4255 = -2179.157 +$4371 = -2383.901 +$4487 = 30.2293 +$4256 = -2190.173 +$4372 = -2284.406 +$4488 = 30.2286 +$4257 = -2264.34 +$4373 = -2216.777 +$4489 = 30.8563 +$4258 = -2182.781 +$4374 = -2160.892 +$4490 = 47.4936 +$4259 = -2110.828 +$4375 = -2092.426 +$4491 = 61.5663 +$4260 = -2078.496 +$4376 = -1997.306 +$4492 = 60.012 +$4261 = -2028.488 +$4377 = -1910.774 +$4493 = 48.5942 +$4262 = -1971.902 +$4378 = -1828.087 +$4494 = 36.8357 +$4263 = -1898.346 +$4379 = -1760.456 +$4495 = 29.4533 +$4264 = -1808.711 +$4380 = -1715.568 +$4496 = 28.8706 +$4265 = -1724.839 +$4381 = -1660.957 +$4497 = 36.2003 +$4266 = -1631.223 +$4382 = -1624.267 +$4498 = 36.0242 +$4267 = -1546.374 +$4383 = -1570.568 +$4499 = 37.4867 +$4268 = -1626.075 +$4384 = -1510.003 +$4500 = 37.0858 +$4269 = -1722.531 +$4385 = -1483.55 +$4501 = 34.2269 +$4270 = -1807.41 +$4386 = -1430.105 +$4502 = 35.74 +$4271 = -1894.584 +$4387 = -1380.672 +$4503 = 39.6104 +$4272 = -1899.035 +$4388 = -1280.731 +$4504 = 39.2288 +$4273 = -1896.879 +$4389 = -1179.88 +$4505 = 38.8035 +$4274 = -1900.238 +$4390 = -1078.988 +$4506 = 37.9866 +$4275 = -1896.756 +$4391 = -978.951 +$4507 = 41.2545 +$4276 = -1896.016 +$4392 = -878.1399 +$4508 = 44.7055 +$4277 = -1897.241 +$4393 = -777.6757 +$4509 = 44.692 +$4278 = -1895.959 +$4394 = -677.4996 +$4510 = 41.0312 +$4279 = -1894.737 +$4395 = -576.5858 +$4511 = 38.0016 +$4280 = -1897.71 +$4396 = -476.4786 +$4512 = 37.9914 +$4281 = -1896.154 +$4397 = -376.3374 +$4513 = 37.9879 +$4282 = -1896.894 +$4398 = -275.5032 +$4514 = 37.9875 +$4283 = -1895.73 +$4399 = -174.2612 +$4515 = 37.9884 +$4284 = -1890.837 +$4400 = -73.2693 +$4516 = 38.0012 +$4285 = -1890.615 +$4401 = 27.5906 +$4517 = 38.0035 +$4286 = -1874.62 +$4402 = 127.2809 +$4518 = 37.9871 +$4287 = -1842.755 +$4403 = 222.3595 +$4519 = 37.9736 +$4288 = -1776.737 +$4404 = 296.302 +$4520 = 23.6187 +$4289 = -1687.562 +$4405 = 341.3 +$4521 = 13.5061 +$4290 = -1620.406 +$4406 = 416.143 +$4522 = 7.1363 +$4291 = -1574.644 +$4407 = 506.4197 +$4523 = 6.9799 +$4292 = -1557.715 +$4408 = 605.5936 +$4524 = 6.9312 +$4293 = -1550.603 +$4409 = 705.7773 +$4525 = 6.8277 +$4294 = -1532.975 +$4410 = 806.2415 +$4526 = 6.8058 +$4295 = -1525.152 +$4411 = 906.8005 +$4527 = 6.8066 +$4296 = -1560.428 +$4412 = 1000.395 +$4528 = 6.8073 +$4297 = -1580.528 +$4413 = 1099.026 +$4529 = 6.805 +$4298 = -1593.106 +$4414 = 1198.824 +$4530 = 6.7993 +$4299 = -1612.8 +$4415 = 1284.908 +$4531 = 6.9396 +$4532 = 2480.597 +$4630 = -1659.156 +$4728 = 13.0965 +$4533 = 2379.881 +$4631 = -1658.193 +$4729 = 13.1467 +$4534 = 2344.399 +$4632 = -1564.435 +$4730 = 23.9333 +$4535 = 2343.672 +$4633 = -1463.32 +$4731 = 23.6044 +$4536 = 2305.275 +$4634 = -1370.793 +$4732 = 23.6319 +$4537 = 2303.441 +$4635 = -1269.606 +$4733 = 23.5946 +$4538 = 2306.217 +$4636 = -1169.403 +$4734 = 26.0798 +$4539 = 2213.07 +$4637 = -1132.101 +$4735 = 25.3774 +$4540 = 2116.198 +$4638 = -1104.905 +$4736 = 24.8605 +$4541 = 2022.478 +$4639 = -1067.897 +$4737 = 24.2557 +$4542 = 1925.305 +$4640 = -1039.768 +$4738 = 23.612 +$4543 = 1867.65 +$4641 = -1121.554 +$4739 = 23.4686 +$4544 = 1777.408 +$4642 = -1164.645 +$4740 = 23.5025 +$4545 = 1677.176 +$4643 = -1162.405 +$4741 = 23.4443 +$4546 = 1576.553 +$4644 = -1163.307 +$4742 = 23.7111 +$4547 = 1476.002 +$4645 = -1159.845 +$4743 = 23.6522 +$4548 = 1376.964 +$4646 = -1140.134 +$4744 = 23.4968 +$4549 = 1366.809 +$4647 = -1040.218 +$4745 = 26.2347 +$4550 = 1371.418 +$4648 = -940.2704 +$4746 = 33.9599 +$4551 = 1273.029 +$4649 = -922.0916 +$4747 = 41.8145 +$4552 = 1174.404 +$4650 = -940.6694 +$4748 = 42.5196 +$4553 = 1156.819 +$4651 = -842.2726 +$4749 = 49.739 +$4554 = 1164.005 +$4652 = -742.3879 +$4750 = 60.319 +$4555 = 1202.729 +$4653 = -649.9714 +$4751 = 59.6176 +$4556 = 1231.284 +$4654 = -554.9558 +$4752 = 40.3091 +$4557 = 1257.225 +$4655 = -462.3789 +$4753 = 12.7939 +$4558 = 1255.678 +$4656 = -362.5274 +$4754 = 2.989 +$4559 = 1230.684 +$4657 = -267.0266 +$4755 = 18.9881 +$4560 = 1188.919 +$4658 = -178.3956 +$4756 = 40.7223 +$4561 = 1088.56 +$4659 = -182.8582 +$4757 = 39.859 +$4562 = 989.9222 +$4660 = -180.4384 +$4758 = 17.6728 +$4563 = 889.5374 +$4661 = -173.0015 +$4759 = 10.7641 +$4564 = 788.8903 +$4662 = -164.4205 +$4760 = 16.4595 +$4565 = 689.4522 +$4663 = -155.3612 +$4761 = 22.89 +$4566 = 589.6461 +$4664 = -146.5947 +$4762 = 29.747 +$4567 = 510.978 +$4665 = -208.5235 +$4763 = 37.1529 +$4568 = 491.5316 +$4666 = -306.6292 +$4764 = 42.7684 +$4569 = 464.9347 +$4667 = -402.1279 +$4765 = 32.6014 +$4570 = 370.5219 +$4668 = -393.0328 +$4766 = 23.9504 +$4571 = 272.6069 +$4669 = -378.1253 +$4767 = 2.4636 +$4572 = 206.3447 +$4670 = -301.5085 +$4768 = 1.1901 +$4573 = 157.5706 +$4671 = -213.2552 +$4769 = 1.196 +$4574 = 57.3466 +$4672 = -208.4595 +$4770 = 1.2183 +$4575 = -43.1581 +$4673 = -203.3529 +$4771 = 1.3731 +$4576 = -142.4222 +$4674 = -187.639 +$4772 = 1.6178 +$4577 = -241.4735 +$4675 = -167.4589 +$4773 = 2.0199 +$4578 = -298.0107 +$4676 = -84.8255 +$4774 = 1.2111 +$4579 = -284.5947 +$4677 = 14.7808 +$4775 = 0.8422 +$4580 = -255.5891 +$4678 = 111.3571 +$4776 = 0.8426 +$4581 = -213.1467 +$4679 = 202.6102 +$4777 = 1.8256 +$4582 = -292.432 +$4680 = 264.4556 +$4778 = 1.8382 +$4583 = -391.0918 +$4681 = 282.886 +$4779 = 1.8926 +$4584 = -491.862 +$4682 = 287.5233 +$4780 = 1.8369 +$4585 = -592.0175 +$4683 = 284.7173 +$4781 = 1.8298 +$4586 = -686.3195 +$4684 = 250.5801 +$4782 = 1.8305 +$4587 = -770.4146 +$4685 = 194.5963 +$4783 = 1.6198 +$4588 = -713.9178 +$4686 = 113.2328 +$4784 = 15.6558 +$4589 = -759.8053 +$4687 = 26.0654 +$4785 = 33.0027 +$4590 = -856.795 +$4688 = -0.6516 +$4786 = 32.9974 +$4591 = -759.7305 +$4689 = -20.4226 +$4787 = 47.2165 +$4592 = -801.2752 +$4690 = -110.4809 +$4788 = 63.4186 +$4593 = -898.1945 +$4691 = -137.0961 +$4789 = 56.3295 +$4594 = -946.6151 +$4692 = -223.724 +$4790 = 38.9582 +$4595 = -968.4164 +$4693 = -321.7283 +$4791 = 36.142 +$4596 = -991.3627 +$4694 = -419.309 +$4792 = 36.0027 +$4597 = -1077.753 +$4695 = -470.2693 +$4793 = 33.7616 +$4598 = -1136.252 +$4696 = -551.6271 +$4794 = 29.8955 +$4599 = -1170.498 +$4697 = -645.1342 +$4795 = 42.4828 +$4600 = -1205.133 +$4698 = -737.6744 +$4796 = 59.3098 +$4601 = -1284.404 +$4699 = -798.114 +$4797 = 69.501 +$4602 = -1381.958 +$4700 = -817.3228 +$4798 = 81.1519 +$4603 = -1481.566 +$4701 = -815.1219 +$4799 = 66.9058 +$4604 = -1579.51 +$4702 = -800.5511 +$4800 = 49.9587 +$4605 = -1673.196 +$4703 = -765.3336 +$4801 = 41.5955 +$4606 = -1754.994 +$4704 = -708.9478 +$4802 = 28.2593 +$4607 = -1761.496 +$4705 = -609.3593 +$4803 = 15.9606 +$4608 = -1820.37 +$4706 = -528.3566 +$4804 = 14.6995 +$4609 = -1814.595 +$4707 = -427.9472 +$4805 = 14.7211 +$4610 = -1803.963 +$4708 = -328.1352 +$4806 = 14.7287 +$4611 = -1801.376 +$4709 = -227.7857 +$4807 = 14.7103 +$4612 = -1801.019 +$4710 = -126.9901 +$4808 = 12.5775 +$4613 = -1797.84 +$4711 = -25.8091 +$4809 = 14.8934 +$4614 = -1805.531 +$4712 = 73.9609 +$4810 = 14.7143 +$4615 = -1807.149 +$4713 = 174.5928 +$4811 = 14.7138 +$4616 = -1800.194 +$4714 = 275.5728 +$4812 = 10.6028 +$4617 = -1810.287 +$4715 = 375.14 +$4813 = 9.7906 +$4618 = -1814.409 +$4716 = 474.6516 +$4814 = 23.4117 +$4619 = -1877.944 +$4717 = 551.0918 +$4815 = 34.4247 +$4620 = -1896.861 +$4718 = 649.7911 +$4816 = 37.0183 +$4621 = -1895.051 +$4719 = 750.2951 +$4817 = 45.051 +$4622 = -1893.937 +$4720 = 850.3843 +$4818 = 34.7833 +$4623 = -1820.143 +$4721 = 917.2139 +$4819 = 24.9892 +$4624 = -1719.022 +$4722 = 917.0076 +$4820 = 24.4954 +$4625 = -1619.303 +$4723 = 916.6608 +$4821 = 7.634 +$4626 = -1555.825 +$4724 = 994.0962 +$4822 = 6.8065 +$4627 = -1579.963 +$4725 = 1091.548 +$4823 = 6.807 +$4628 = -1588.588 +$4726 = 1191.306 +$4824 = 6.798 +$4629 = -1612.353 +$4727 = 1281.671 +$4825 = 6.9398 +$4826 = 2488.273 +$4943 = -1659.968 +$5060 = 13.0884 +$4827 = 2387.718 +$4944 = -1658.019 +$5061 = 13.1467 +$4828 = 2286.949 +$4945 = -1658.583 +$5062 = 14.6557 +$4829 = 2187.451 +$4946 = -1638.533 +$5063 = 15.0393 +$4830 = 2090.335 +$4947 = -1611.906 +$5064 = 13.1306 +$4831 = 1990.331 +$4948 = -1612.021 +$5065 = 13.1388 +$4832 = 1888.96 +$4949 = -1614.385 +$5066 = 13.1433 +$4833 = 1787.243 +$4950 = -1607.768 +$5067 = 13.1244 +$4834 = 1687.135 +$4951 = -1592.272 +$5068 = 13.1375 +$4835 = 1586.952 +$4952 = -1591.001 +$5069 = 13.1297 +$4836 = 1486.726 +$4953 = -1590.779 +$5070 = 13.152 +$4837 = 1386.181 +$4954 = -1585.607 +$5071 = 13.1003 +$4838 = 1286.662 +$4955 = -1572.978 +$5072 = 13.1664 +$4839 = 1186.398 +$4956 = -1571.876 +$5073 = 13.1464 +$4840 = 1085.49 +$4957 = -1570.857 +$5074 = 13.1351 +$4841 = 985.0605 +$4958 = -1571.431 +$5075 = 13.141 +$4842 = 884.2 +$4959 = -1577.364 +$5076 = 13.13 +$4843 = 815.0362 +$4960 = -1650.267 +$5077 = 13.1344 +$4844 = 810.6691 +$4961 = -1750.188 +$5078 = 13.1276 +$4845 = 710.2051 +$4962 = -1749.904 +$5079 = 14.0481 +$4846 = 612.0961 +$4963 = -1727.222 +$5080 = 13.6595 +$4847 = 512.0588 +$4964 = -1711.106 +$5081 = 11.9235 +$4848 = 411.9842 +$4965 = -1701.354 +$5082 = 8.9795 +$4849 = 310.8292 +$4966 = -1701.127 +$5083 = 6.3614 +$4850 = 210.8359 +$4967 = -1692.62 +$5084 = 7.4032 +$4851 = 162.6634 +$4968 = -1604.718 +$5085 = 15.512 +$4852 = 96.6228 +$4969 = -1530.289 +$5086 = 5.2206 +$4853 = -4.3045 +$4970 = -1520.765 +$5087 = 1.3181 +$4854 = -100.2442 +$4971 = -1492.018 +$5088 = 2.444 +$4855 = -150.6629 +$4972 = -1404.912 +$5089 = 2.4387 +$4856 = -125.7253 +$4973 = -1307.639 +$5090 = 2.6123 +$4857 = -85.3976 +$4974 = -1398.901 +$5091 = 11.9881 +$4858 = -156.1722 +$4975 = -1470.046 +$5092 = 12.557 +$4859 = -224.7423 +$4976 = -1543.44 +$5093 = 15.2432 +$4860 = -278.3897 +$4977 = -1627.836 +$5094 = 15.4404 +$4861 = -309.6147 +$4978 = -1722.891 +$5095 = 14.4331 +$4862 = -347.4445 +$4979 = -1815.805 +$5096 = 20.3824 +$4863 = -375.8723 +$4980 = -1911.975 +$5097 = 27.4563 +$4864 = -367.3835 +$4981 = -2012.258 +$5098 = 27.9796 +$4865 = -352.257 +$4982 = -2111.555 +$5099 = 28.1054 +$4866 = -325.2379 +$4983 = -2208.254 +$5100 = 28.2795 +$4867 = -411.8825 +$4984 = -2256.126 +$5101 = 43.9768 +$4868 = -507.0649 +$4985 = -2286.252 +$5102 = 32.8761 +$4869 = -579.3828 +$4986 = -2355.297 +$5103 = 26.9589 +$4870 = -678.7022 +$4987 = -2358.307 +$5104 = 38.2611 +$4871 = -752.1234 +$4988 = -2421.517 +$5105 = 63.3924 +$4872 = -819.2419 +$4989 = -2493.365 +$5106 = 82.6824 +$4873 = -890.7695 +$4990 = -2563.279 +$5107 = 90.2311 +$4874 = -981.5709 +$4991 = -2605.962 +$5108 = 86.4663 +$4875 = -1080.225 +$4992 = -2592.214 +$5109 = 76.2713 +$4876 = -1161.929 +$4993 = -2534.01 +$5110 = 67.2918 +$4877 = -1179.818 +$4994 = -2436.012 +$5111 = 53.4017 +$4878 = -1164.983 +$4995 = -2337.243 +$5112 = 41.315 +$4879 = -1134.131 +$4996 = -2242.25 +$5113 = 33.4991 +$4880 = -1097.972 +$4997 = -2148.736 +$5114 = 35.7186 +$4881 = -1047.998 +$4998 = -2064.018 +$5115 = 54.2015 +$4882 = -998.8296 +$4999 = -1979.083 +$5116 = 73.7414 +$4883 = -1062.2 +$5000 = -1901.606 +$5117 = 76.9899 +$4884 = -1161.378 +$5001 = -1886.014 +$5118 = 77.91 +$4885 = -1206.338 +$5002 = -1800.164 +$5119 = 51.1433 +$4886 = -1271.566 +$5003 = -1723.902 +$5120 = 45.7799 +$4887 = -1353.911 +$5004 = -1666.739 +$5121 = 45.1373 +$4888 = -1446.169 +$5005 = -1627.665 +$5122 = 44.393 +$4889 = -1543.799 +$5006 = -1605.511 +$5123 = 37.4879 +$4890 = -1583.018 +$5007 = -1513.157 +$5124 = 37.4862 +$4891 = -1681.619 +$5008 = -1493.674 +$5125 = 34.781 +$4892 = -1771.401 +$5009 = -1448.094 +$5126 = 34.5515 +$4893 = -1859.213 +$5010 = -1399.628 +$5127 = 38.1758 +$4894 = -1944.476 +$5011 = -1347.211 +$5128 = 40.559 +$4895 = -2006.201 +$5012 = -1268.181 +$5129 = 36.2375 +$4896 = -2057.926 +$5013 = -1182.227 +$5130 = 31.9717 +$4897 = -2105.244 +$5014 = -1093.758 +$5131 = 29.8948 +$4898 = -2169.432 +$5015 = -1016.588 +$5132 = 33.6278 +$4899 = -2214.329 +$5016 = -927.0612 +$5133 = 42.1936 +$4900 = -2196.712 +$5017 = -829.6929 +$5134 = 58.5525 +$4901 = -2261.177 +$5018 = -755.0598 +$5135 = 75.9781 +$4902 = -2341.961 +$5019 = -707.3872 +$5136 = 110.6889 +$4903 = -2400.182 +$5020 = -628.3421 +$5137 = 131.575 +$4904 = -2453.648 +$5021 = -544.386 +$5138 = 121.1835 +$4905 = -2526.894 +$5022 = -485.9847 +$5139 = 85.0712 +$4906 = -2446.844 +$5023 = -425.2606 +$5140 = 84.4373 +$4907 = -2354.251 +$5024 = -463.4032 +$5141 = 79.948 +$4908 = -2389.566 +$5025 = -369.9571 +$5142 = 75.0462 +$4909 = -2489.354 +$5026 = -363.9357 +$5143 = 63.4133 +$4910 = -2588.571 +$5027 = -366.5697 +$5144 = 46.1223 +$4911 = -2672.897 +$5028 = -418.9947 +$5145 = 31.9261 +$4912 = -2681.235 +$5029 = -517.9654 +$5146 = 17.1435 +$4913 = -2777.102 +$5030 = -490.7432 +$5147 = 6.9382 +$4914 = -2818.191 +$5031 = -399.3717 +$5148 = 6.8041 +$4915 = -2811.526 +$5032 = -299.0307 +$5149 = 6.8035 +$4916 = -2805.668 +$5033 = -198.8723 +$5150 = 6.7879 +$4917 = -2808.854 +$5034 = -97.9767 +$5151 = 6.7909 +$4918 = -2809.092 +$5035 = 2.2906 +$5152 = 6.8002 +$4919 = -2804.685 +$5036 = 102.3091 +$5153 = 6.8277 +$4920 = -2806.474 +$5037 = 202.4786 +$5154 = 6.807 +$4921 = -2807.934 +$5038 = 302.7264 +$5155 = 6.3467 +$4922 = -2849.526 +$5039 = 394.1544 +$5156 = 4.1824 +$4923 = -2843.374 +$5040 = 494.5805 +$5157 = 4.1463 +$4924 = -2825.592 +$5041 = 593.7442 +$5158 = 5.2247 +$4925 = -2830.803 +$5042 = 692.401 +$5159 = 22.7063 +$4926 = -2856.006 +$5043 = 788.662 +$5160 = 35.799 +$4927 = -2817.792 +$5044 = 880.8148 +$5161 = 43.7304 +$4928 = -2840.386 +$5045 = 978.9179 +$5162 = 43.2024 +$4929 = -2876.457 +$5046 = 1071.905 +$5163 = 30.8111 +$4930 = -2875.885 +$5047 = 1169.952 +$5164 = 11.0039 +$4931 = -2826.602 +$5048 = 1257.501 +$5165 = 5.3188 +$4932 = -2728.815 +$5049 = 1280.354 +$5166 = 6.828 +$4933 = -2629.314 +$5050 = 1297.977 +$5167 = 6.7957 +$4934 = -2548.262 +$5051 = 1358.467 +$5168 = 7.3351 +$4935 = -2448.621 +$5052 = 1370.268 +$5169 = 6.7969 +$4936 = -2347.698 +$5053 = 1366.408 +$5170 = 6.9813 +$4937 = -2253.195 +$5054 = 1333.593 +$5171 = 6.801 +$4938 = -2152.642 +$5055 = 1334.962 +$5172 = 6.8483 +$4939 = -2055.384 +$5056 = 1309.631 +$5173 = 6.9547 +$4940 = -1957.98 +$5057 = 1286.638 +$5174 = 6.9474 +$4941 = -1868.502 +$5058 = 1332.573 +$5175 = 6.9476 +$4942 = -1837.603 +$5059 = 1425.719 +$5176 = 6.9399 +04AE: $3811[0] = 5408 // = constant +04AE: $3811[1] = 5409 // = constant +04AE: $3811[2] = 5410 // = constant +04AE: $3814[0] = 5405 // = constant +04AE: $3814[1] = 5406 // = constant +04AE: $3814[2] = 5407 // = constant +04AE: $3817[0] = 5451 // = constant +04AE: $3817[1] = 5452 // = constant +04AE: $3820[0] = 5448 // = constant +04AE: $3820[1] = 5449 // = constant +04AE: $3820[2] = 5450 // = constant +04AE: $3820[3] = 5462 // = constant +04AE: $3820[4] = 5463 // = constant +04AE: $3820[5] = 5464 // = constant +04AE: $3826[0] = 5453 // = constant +04AE: $3826[1] = 5454 // = constant +04AE: $3828[0] = 5400 // = constant +04AE: $3828[1] = 5401 // = constant +04AE: $3830[0] = 5438 // = constant +04AE: $3830[1] = 5439 // = constant +04AE: $3830[2] = 5440 // = constant +04AE: $3830[3] = 5441 // = constant +04AE: $3830[4] = 5442 // = constant +04AE: $3830[5] = 5443 // = constant +04AE: $3830[6] = 5444 // = constant +04AE: $3830[7] = 5445 // = constant +04AE: $3830[8] = 5446 // = constant +04AE: $3830[9] = 5447 // = constant +04AE: $3830[10] = 5411 // = constant +04AE: $3830[11] = 5412 // = constant +04AE: $3830[12] = 5413 // = constant +04AE: $3830[13] = 5414 // = constant +04AE: $3830[14] = 5415 // = constant +04AE: $3830[15] = 5416 // = constant +04AE: $3830[16] = 5417 // = constant +04AE: $3830[17] = 5418 // = constant +04AE: $3830[18] = 5419 // = constant +04AE: $3830[19] = 5420 // = constant +04AE: $3830[20] = 5421 // = constant +04AE: $3830[21] = 5422 // = constant +04AE: $3830[22] = 5423 // = constant +04AE: $3830[23] = 5424 // = constant +04AE: $3830[24] = 5425 // = constant +04AE: $3830[25] = 5426 // = constant +04AE: $3830[26] = 5427 // = constant +04AE: $3830[27] = 5428 // = constant +04AE: $3830[28] = 5429 // = constant +04AE: $3830[29] = 5430 // = constant +04AE: $3830[30] = 5431 // = constant +04AE: $3830[31] = 5432 // = constant +04AE: $3830[32] = 5433 // = constant +04AE: $3830[33] = 5434 // = constant +04AE: $3830[34] = 5435 // = constant +04AE: $3830[35] = 5436 // = constant +04AE: $3830[36] = 5437 // = constant +04AE: $3867[0] = 5402 // = constant +04AE: $3867[1] = 5403 // = constant +04AE: $3867[2] = 5404 // = constant +04AE: $3870[0] = 43608 // = constant +04AE: $3870[1] = 43609 // = constant +04AE: $3870[2] = 43610 // = constant +04AE: $3873[0] = 43605 // = constant +04AE: $3873[1] = 43606 // = constant +04AE: $3873[2] = 43607 // = constant +04AE: $3876[0] = 43651 // = constant +04AE: $3876[1] = 43652 // = constant +04AE: $3879[0] = 43648 // = constant +04AE: $3879[1] = 43649 // = constant +04AE: $3879[2] = 43650 // = constant +04AE: $3879[3] = 43662 // = constant +04AE: $3879[4] = 43663 // = constant +04AE: $3879[5] = 43664 // = constant +04AE: $3885[0] = 43653 // = constant +04AE: $3885[1] = 43654 // = constant +04AE: $3887[0] = 43600 // = constant +04AE: $3887[1] = 43601 // = constant +04AE: $3889[0] = 43638 // = constant +04AE: $3889[1] = 43639 // = constant +04AE: $3889[2] = 43640 // = constant +04AE: $3889[3] = 43641 // = constant +04AE: $3889[4] = 43642 // = constant +04AE: $3889[5] = 43643 // = constant +04AE: $3889[6] = 43644 // = constant +04AE: $3889[7] = 43645 // = constant +04AE: $3889[8] = 43646 // = constant +04AE: $3889[9] = 43647 // = constant +04AE: $3889[10] = 43611 // = constant +04AE: $3889[11] = 43612 // = constant +04AE: $3889[12] = 43613 // = constant +04AE: $3889[13] = 43614 // = constant +04AE: $3889[14] = 43615 // = constant +04AE: $3889[15] = 43616 // = constant +04AE: $3889[16] = 43617 // = constant +04AE: $3889[17] = 43618 // = constant +04AE: $3889[18] = 43619 // = constant +04AE: $3889[19] = 43620 // = constant +04AE: $3889[20] = 43621 // = constant +04AE: $3889[21] = 43622 // = constant +04AE: $3889[22] = 43623 // = constant +04AE: $3889[23] = 43624 // = constant +04AE: $3889[24] = 43625 // = constant +04AE: $3889[25] = 43626 // = constant +04AE: $3889[26] = 43627 // = constant +04AE: $3889[27] = 43628 // = constant +04AE: $3889[28] = 43629 // = constant +04AE: $3889[29] = 43630 // = constant +04AE: $3889[30] = 43631 // = constant +04AE: $3889[31] = 43632 // = constant +04AE: $3889[32] = 43633 // = constant +04AE: $3889[33] = 43634 // = constant +04AE: $3889[34] = 43635 // = constant +04AE: $3889[35] = 43636 // = constant +04AE: $3889[36] = 43637 // = constant +04AE: $3926[0] = 43602 // = constant +04AE: $3926[1] = 43603 // = constant +04AE: $3926[2] = 43604 // = constant +jump @INITIL2_18519 +hex + 45 E0 89 2D +end + +:INITIL2_18519 +$5283 = 0 +$5284 = 0 +$5285 = 0 +$5287 = 0 +$5289 = 0 +$5291 = Object.Init(#CARRIER_LIFT2_SFSE, -1414.453, 516.453, 16.688) +Object.ToggleInMovingList($5291) = False +Object.Indestructibility($5291) = False +Object.SetImmunities($5291, 1, 1, 1, 1, 1) +Object.RemoveFromMissionCleanupList($5291) +$5292 = Object.Init(#CARRIER_LIFT1_SFSE, -1456.719, 501.297, 16.953) +Object.ToggleInMovingList($5292) = False +Object.Indestructibility($5292) = False +Object.SetImmunities($5292, 1, 1, 1, 1, 1) +Object.RemoveFromMissionCleanupList($5292) +$BURGLARY_NOISE_I = 0 +$5294 = 0 +$CURRENT_MONTH_DAY = -1 +$CURRENT_MONTH = -1 +$GYM_MONTH_DAY_WHEN_LIMIT_REACHED = -1 +$GYM_MONTH_WHEN_LIMIT_REACHED = -1 +$GYM_DAY_LIMIT = 0.0 +949@ = 108.51 +956@ = 1917.268 +936@ = 17.63 +970@ = 135.323 +977@ = 1917.776 +984@ = 18.71 +950@ = 180.018 +957@ = 1904.214 +964@ = 17.255 +971@ = 243.707 +978@ = 1903.543 +985@ = 18.639 +951@ = 239.0798 +958@ = 1904.087 +965@ = 16.899 +972@ = 188.371 +979@ = 1905.376 +986@ = 16.825 +952@ = 166.119 +959@ = 1857.384 +966@ = 16.764 +973@ = 276.669 +980@ = 1856.339 +987@ = 16.671 +953@ = 191.28 +960@ = 1822.46 +967@ = 16.83 +974@ = 252.37 +981@ = 1821.89 +988@ = 17.04 +954@ = 138.07 +961@ = 1823.01 +968@ = 16.88 +975@ = 105.1 +982@ = 1867.21 +989@ = 16.97 +955@ = 192.9 +962@ = 1809.56 +969@ = 16.8 +976@ = 144.2 +983@ = 1812.52 +990@ = 16.78 +174@ = 0 +175@ = 0 +163@ = 0 +164@ = 0 +165@ = 0 +166@ = 0 +174@ = 0 +175@ = 0 +176@ = 0 +177@ = 0 +178@ = 0 +179@ = 0 +180@ = 0 +181@ = 0 +182@ = 0 +183@ = 0 +184@ = 0 +185@ = 0 +186@ = 0 +187@ = 0 +188@ = 0 +189@ = 0 +190@ = 0 +191@ = 0 +192@ = 0 +193@ = 0 +194@ = 0 +195@ = 0 +196@ = 0 +197@ = 0 +199@ = 0 +200@ = 0 +201@ = 0 +202@ = 0 +198@ = 0 +203@ = 0 +204@ = 0 +163@ = 0 +164@ = 0 +165@ = 0 +166@ = 0 +06B1: 35@ = create_searchlight_at 161.513 1932.982 35.391 radius 0.5 target 949@ 956@ 936@ radius 12.5 +42@ = Object.Init(#A51_SPOTBULB, 103.946, 1901.047, 36.246) +92@ = Object.Init(#A51_SPOTHOUSING, 103.946, 1901.047, 36.246) +93@ = Object.Init(#A51_SPOTBASE, 103.946, 1901.047, 36.246) +06CA: attach_searchlight 35@ to_tower 93@ to_housing 92@ to_bulb 42@ with_offset 0.0 1.181 0.768 +071F: set_object 42@ health_to 5000 +0875: set_object 42@ immune_to_nonplayer 1 +066D: 136@ = attach_particle "SHOOTLIGHT" to_object 42@ with_offset 0.0 1.181 0.768 type 1 +06B1: 36@ = create_searchlight_at 233.067 1934.892 33.139 radius 0.5 target 950@ 957@ 964@ radius 10.5 +43@ = Object.Init(#A51_SPOTBULB, 161.962, 1933.043, 36.246) +94@ = Object.Init(#A51_SPOTHOUSING, 161.962, 1933.043, 36.246) +95@ = Object.Init(#A51_SPOTBASE, 161.962, 1933.043, 36.246) +06CA: attach_searchlight 36@ to_tower 95@ to_housing 94@ to_bulb 43@ with_offset 0.0 1.181 0.768 +071F: set_object 43@ health_to 5000 +0875: set_object 43@ immune_to_nonplayer 1 +066D: 137@ = attach_particle "SHOOTLIGHT" to_object 43@ with_offset 0.0 1.181 0.768 type 1 +06B1: 37@ = create_searchlight_at 266.713 1894.979 34.139 radius 0.5 target 951@ 958@ 965@ radius 10.5 +44@ = Object.Init(#A51_SPOTBULB, 233.486, 1934.789, 36.246) +96@ = Object.Init(#A51_SPOTHOUSING, 233.486, 1934.789, 36.246) +97@ = Object.Init(#A51_SPOTBASE, 233.486, 1934.789, 36.246) +06CA: attach_searchlight 37@ to_tower 97@ to_housing 96@ to_bulb 44@ with_offset 0.0 1.181 0.768 +071F: set_object 44@ health_to 5000 +0875: set_object 44@ immune_to_nonplayer 1 +066D: 138@ = attach_particle "SHOOTLIGHT" to_object 44@ with_offset 0.0 1.181 0.768 type 1 +06B1: 38@ = create_searchlight_at 261.97 1808.07 34.05 radius 0.5 target 952@ 959@ 966@ radius 10.5 +45@ = Object.Init(#A51_SPOTBULB, 267.116, 1895.241, 36.246) +98@ = Object.Init(#A51_SPOTHOUSING, 267.116, 1895.241, 36.246) +99@ = Object.Init(#A51_SPOTBASE, 267.116, 1895.241, 36.246) +06CA: attach_searchlight 38@ to_tower 99@ to_housing 98@ to_bulb 45@ with_offset 0.0 1.181 0.768 +071F: set_object 45@ health_to 5000 +0875: set_object 45@ immune_to_nonplayer 1 +066D: 139@ = attach_particle "SHOOTLIGHT" to_object 45@ with_offset 0.0 1.181 0.768 type 1 +06B1: 39@ = create_searchlight_at 164.228 1837.892 34.05 radius 0.5 target 953@ 960@ 967@ radius 10.5 +46@ = Object.Init(#A51_SPOTBULB, 262.145, 1807.62, 36.246) +100@ = Object.Init(#A51_SPOTHOUSING, 262.145, 1807.62, 36.246) +101@ = Object.Init(#A51_SPOTBASE, 262.145, 1807.62, 36.246) +06CA: attach_searchlight 39@ to_tower 101@ to_housing 100@ to_bulb 46@ with_offset 0.0 1.181 0.768 +071F: set_object 46@ health_to 5000 +0875: set_object 46@ immune_to_nonplayer 1 +066D: 140@ = attach_particle "SHOOTLIGHT" to_object 46@ with_offset 0.0 1.181 0.768 type 1 +06B1: 40@ = create_searchlight_at 103.887 1901.057 35.723 radius 0.5 target 954@ 961@ 968@ radius 10.5 +47@ = Object.Init(#A51_SPOTBULB, 166.003, 1849.937, 36.246) +102@ = Object.Init(#A51_SPOTHOUSING, 166.003, 1849.937, 36.246) +103@ = Object.Init(#A51_SPOTBASE, 166.003, 1849.937, 36.246) +06CA: attach_searchlight 40@ to_tower 103@ to_housing 102@ to_bulb 47@ with_offset 0.0 1.181 0.768 +071F: set_object 47@ health_to 5000 +0875: set_object 47@ immune_to_nonplayer 1 +066D: 141@ = attach_particle "SHOOTLIGHT" to_object 47@ with_offset 0.0 1.181 0.768 type 1 +06B1: 41@ = create_searchlight_at 261.97 1808.07 36.05 radius 0.5 target 955@ 962@ 969@ radius 10.5 +48@ = Object.Init(#A51_SPOTBULB, 113.439, 1814.405, 36.246) +104@ = Object.Init(#A51_SPOTHOUSING, 113.439, 1814.405, 36.246) +105@ = Object.Init(#A51_SPOTBASE, 113.439, 1814.405, 36.246) +06CA: attach_searchlight 41@ to_tower 105@ to_housing 104@ to_bulb 48@ with_offset 0.0 1.181 0.768 +071F: set_object 48@ health_to 5000 +0875: set_object 48@ immune_to_nonplayer 1 +066D: 142@ = attach_particle "SHOOTLIGHT" to_object 48@ with_offset 0.0 1.181 0.768 type 1 +end_thread + +//-------------External script 0 (AMMU)--------------- + +:AMUNAT +$9585 = 0.0 +$9586 = 0.0 +$9587 = 0.0 +$AMMU_X_OFFSET = 0.0 +$AMMU_Y_OFFSET = 0.0 +$AMMU_Z_OFFSET = 0.0 + +:AMUNAT_60 +$X_CAMERA = 0.0 +$Y_CAMERA = 0.0 +$Z_CAMERA = 0.0 +$AMMU_X_AIM_CAMERA = 0.0 +$AMMU_Y_AIM_CAMERA = 0.0 +$AMMU_Z_AIM_CAMERA = 0.0 +$AMMU_SELLER_ANIMATION_TIME = 0.0 +$AMMU_SELLER_ANGLE = 0.0 +$2418 = 0 +$AMMU_X_SELLER = 0.0 +$AMMU_Y_SELLER = 0.0 +$AMMU_Z_SELLER = 0.0 +$FLAG_AMMU_SELLER_ATTACK_PLAYER = 0 +$AMMU_STAGE = 0 +$9575 = 0.0 +$9576 = 0.0 +$9577 = 0.0 +$9572 = 0 +$9573 = 0 +$9574 = 0 +$2418 = 0 +$2422 = 0 +$2545 = 0 +$2544 = 0 +$9595 = 0 +$9594 = 0 +$9596 = 0 +$9616 = 0 +$9597 = 0 +$2515 = 0 +$9598 = 0 +$9599 = 0 +$9600 = 0 +$9601 = 0 +$9602 = 0 +$9603 = 0 +$9604 = 0 +$9605 = 0 +$9606 = 0 +$9607 = 0 +$9608 = 0 +$9609 = 0 +$9610 = 0 +$9611 = 0 +$9612 = 0 +$9613 = 0 +$9614 = 0 +$9615 = 0 +$9636 = 0 +$9637 = 0 +$9638 = 0 +04AE: $SELLER_MODEL = 179 // = constant +Model.Load($SELLER_MODEL) +Model.Load(346) +Model.Load(372) +Model.Load(352) +Model.Load(349) +Model.Load(342) +Model.Load(373) +Model.Load(353) +Model.Load(350) +Model.Load(347) +Model.Load(363) +Model.Load(364) +Model.Load(357) +Model.Load(358) +Model.Load(355) +Model.Load(356) +Model.Load(348) +Model.Load(351) +038B: load_requested_models +set_wb_check_to 0 +thread 'AMUNAT' + +:AMUNAT_574 +wait 0 +if + Player.Defined($PLAYER_CHAR) +else_jump @AMUNAT_7238 +if +8844: not string s$CURRENT_SHOP_GXT_NAME empty // s$ +else_jump @AMUNAT_7224 +if + $AMMU_STAGE > 0 +else_jump @AMUNAT_696 +if +0A0F: new_language_set +else_jump @AMUNAT_696 +03E6: remove_text_box +08DA: remove_panel $2419 +08DA: remove_panel $2423 +08DA: remove_panel $2421 +08DA: remove_panel $2417 +$2420 = 0 +$2424 = 0 +$2418 = 0 +$2422 = 0 +09FB: $CURRENT_LANGUAGE = current_language + +:AMUNAT_696 +if + $AMMU_STAGE == 0 +else_jump @AMUNAT_1220 +if +05AD: s$CURRENT_SHOP_GXT_NAME == 'AMMUN1' // s$ == short +else_jump @AMUNAT_818 +$AMMU_X_OFFSET = 0.0 +$AMMU_Y_OFFSET = 0.0 +$AMMU_Z_OFFSET = 0.0 +$AMMU_PLAYER_ANGLE = 180.0 +$AMMU_SELLER_ANGLE = 0.0 +$SHOW_SHOP_SPHERE = 1 +05A9: s$AMMU_INTERIOR_NAME = s$CURRENT_SHOP_GXT_NAME // s$ +$9584 = 0 +$AMMU_STAGE = 1 + +:AMUNAT_818 +if +05AD: s$CURRENT_SHOP_GXT_NAME == 'AMMUN2' // s$ == short +else_jump @AMUNAT_922 +$AMMU_X_OFFSET = -0.765 +$AMMU_Y_OFFSET = -42.311 +$AMMU_Z_OFFSET = -0.013 +$AMMU_PLAYER_ANGLE = 180.0 +$AMMU_SELLER_ANGLE = 0.0 +$SHOW_SHOP_SPHERE = 1 +05A9: s$AMMU_INTERIOR_NAME = s$CURRENT_SHOP_GXT_NAME // s$ +$9584 = 0 +$AMMU_STAGE = 1 + +:AMUNAT_922 +if +05AD: s$CURRENT_SHOP_GXT_NAME == 'AMMUN3' // s$ == short +else_jump @AMUNAT_1026 +$AMMU_X_OFFSET = -6.264 +$AMMU_Y_OFFSET = -71.34 +$AMMU_Z_OFFSET = -0.002 +$AMMU_PLAYER_ANGLE = 180.0 +$AMMU_SELLER_ANGLE = 0.0 +$SHOW_SHOP_SPHERE = 1 +05A9: s$AMMU_INTERIOR_NAME = s$CURRENT_SHOP_GXT_NAME // s$ +$9584 = 0 +$AMMU_STAGE = 1 + +:AMUNAT_1026 +if +05AD: s$CURRENT_SHOP_GXT_NAME == 'AMMUN4' // s$ == short +else_jump @AMUNAT_1123 +$AMMU_X_OFFSET = 11.642 +$AMMU_Y_OFFSET = -102.936 +$AMMU_Z_OFFSET = -1.929 +$AMMU_PLAYER_ANGLE = 180.0 +$AMMU_SELLER_ANGLE = 0.0 +$SHOW_SHOP_SPHERE = 1 +05A9: s$AMMU_INTERIOR_NAME = s$CURRENT_SHOP_GXT_NAME // s$ +$AMMU_STAGE = 1 + +:AMUNAT_1123 +if +05AD: s$CURRENT_SHOP_GXT_NAME == 'AMMUN5' // s$ == short +else_jump @AMUNAT_1220 +$AMMU_X_OFFSET = 16.285 +$AMMU_Y_OFFSET = -127.781 +$AMMU_Z_OFFSET = -1.929 +$AMMU_PLAYER_ANGLE = 180.0 +$AMMU_SELLER_ANGLE = 0.0 +$SHOW_SHOP_SPHERE = 1 +05A9: s$AMMU_INTERIOR_NAME = s$CURRENT_SHOP_GXT_NAME // s$ +$AMMU_STAGE = 1 + +:AMUNAT_1220 +if + $AMMU_STAGE == 1 +else_jump @AMUNAT_2238 +03F0: enable_text_draw 1 +08F8: display_stat_update_box 0 +$X_BUY_MARKER = 296.506 +0059: $X_BUY_MARKER += $AMMU_X_OFFSET // (float) +$Y_BUY_MARKER = -38.168 +0059: $Y_BUY_MARKER += $AMMU_Y_OFFSET // (float) +$Z_BUY_MARKER = 1000.547 +0059: $Z_BUY_MARKER += $AMMU_Z_OFFSET // (float) +$AMMU_X_SELLER = 296.506 +0059: $AMMU_X_SELLER += $AMMU_X_OFFSET // (float) +$AMMU_Y_SELLER = -40.35 +0059: $AMMU_Y_SELLER += $AMMU_Y_OFFSET // (float) +$AMMU_Z_SELLER = 1000.54 +0059: $AMMU_Z_SELLER += $AMMU_Z_OFFSET // (float) +$X_CAMERA = 296.585 +0059: $X_CAMERA += $AMMU_X_OFFSET // (float) +$Y_CAMERA = -38.345 +0059: $Y_CAMERA += $AMMU_Y_OFFSET // (float) +$Z_CAMERA = 1002.236 +0059: $Z_CAMERA += $AMMU_Z_OFFSET // (float) +$AMMU_X_AIM_CAMERA = 296.501 +0059: $AMMU_X_AIM_CAMERA += $AMMU_X_OFFSET // (float) +$AMMU_Y_AIM_CAMERA = -39.298 +0059: $AMMU_Y_AIM_CAMERA += $AMMU_Y_OFFSET // (float) +$AMMU_Z_AIM_CAMERA = 1001.943 +0059: $AMMU_Z_AIM_CAMERA += $AMMU_Z_OFFSET // (float) +$AMMU_SELLER = Actor.Create(Fireman, $SELLER_MODEL, $AMMU_X_SELLER, $AMMU_Y_SELLER, $AMMU_Z_SELLER) +Actor.Angle($AMMU_SELLER) = $AMMU_SELLER_ANGLE +02A9: set_actor $AMMU_SELLER immune_to_nonplayer 1 +Actor.SetImmunities($AMMU_SELLER, 1, 1, 1, 1, 1) +060B: set_actor $AMMU_SELLER decision_maker_to 65542 +075F: store_shopping_data_entries_number_to $AMMU_AVAILABLE_WEAPONS +if + $2574 == 0 +else_jump @AMUNAT_1551 +$2574 = 1 + +:AMUNAT_1551 +jump @AMUNAT_2231 +if + $TORENO_TOTAL_PASSED_MISSIONS > 7 +else_jump @AMUNAT_1626 +$AMMU_AVAILABLE_WEAPONS = 15 +if + $2573 == 0 +else_jump @AMUNAT_1619 +03E5: show_text_box 'NEWWEAP' +$2573 = 1 + +:AMUNAT_1619 +jump @AMUNAT_2231 + +:AMUNAT_1626 +if + $SYNDICATE_TOTAL_PASSED_MISSIONS > 9 +else_jump @AMUNAT_1694 +$AMMU_AVAILABLE_WEAPONS = 14 +if + $2572 == 0 +else_jump @AMUNAT_1687 +03E5: show_text_box 'NEWWEAP' +$2572 = 1 + +:AMUNAT_1687 +jump @AMUNAT_2231 + +:AMUNAT_1694 +if + $WUZIMU_TOTAL_PASSED_MISSIONS > 0 +else_jump @AMUNAT_1762 +$AMMU_AVAILABLE_WEAPONS = 13 +if + $2571 == 0 +else_jump @AMUNAT_1755 +03E5: show_text_box 'NEWWEAP' +$2571 = 1 + +:AMUNAT_1755 +jump @AMUNAT_2231 + +:AMUNAT_1762 +if + $SYNDICATE_TOTAL_PASSED_MISSIONS > 7 +else_jump @AMUNAT_1830 +$AMMU_AVAILABLE_WEAPONS = 12 +if + $2570 == 0 +else_jump @AMUNAT_1823 +03E5: show_text_box 'NEWWEAP' +$2570 = 1 + +:AMUNAT_1823 +jump @AMUNAT_2231 + +:AMUNAT_1830 +if + $TRUTH_TOTAL_PASSED_MISSIONS > 0 +else_jump @AMUNAT_1898 +$AMMU_AVAILABLE_WEAPONS = 11 +if + $2569 == 0 +else_jump @AMUNAT_1891 +03E5: show_text_box 'NEWWEAP' +$2569 = 1 + +:AMUNAT_1891 +jump @AMUNAT_2231 + +:AMUNAT_1898 +if + $ALL_CATALINA_MISSIONS_PASSED == 1 +else_jump @AMUNAT_1966 +$AMMU_AVAILABLE_WEAPONS = 10 +if + $2568 == 0 +else_jump @AMUNAT_1959 +03E5: show_text_box 'NEWWEAP' +$2568 = 1 + +:AMUNAT_1959 +jump @AMUNAT_2231 + +:AMUNAT_1966 +if + $OG_LOC_TOTAL_PASSED_MISSIONS > 4 +else_jump @AMUNAT_2034 +$AMMU_AVAILABLE_WEAPONS = 9 +if + $2567 == 0 +else_jump @AMUNAT_2027 +03E5: show_text_box 'NEWWEAP' +$2567 = 1 + +:AMUNAT_2027 +jump @AMUNAT_2231 + +:AMUNAT_2034 +if + $SMOKE_TOTAL_PASSED_MISSIONS > 3 +else_jump @AMUNAT_2102 +$AMMU_AVAILABLE_WEAPONS = 8 +if + $2566 == 0 +else_jump @AMUNAT_2095 +03E5: show_text_box 'NEWWEAP' +$2566 = 1 + +:AMUNAT_2095 +jump @AMUNAT_2231 + +:AMUNAT_2102 +if + $RYDER_TOTAL_PASSED_MISSIONS > 2 +else_jump @AMUNAT_2170 +$AMMU_AVAILABLE_WEAPONS = 7 +if + $2565 == 0 +else_jump @AMUNAT_2163 +03E5: show_text_box 'NEWWEAP' +$2565 = 1 + +:AMUNAT_2163 +jump @AMUNAT_2231 + +:AMUNAT_2170 +if + 2 > $LS_FINAL_TOTAL_PASSED_MISSIONS +else_jump @AMUNAT_2231 +$AMMU_AVAILABLE_WEAPONS = 6 +if + $2564 == 0 +else_jump @AMUNAT_2231 +03E5: show_text_box 'NEWWEAP' +$2564 = 1 + +:AMUNAT_2231 +$AMMU_STAGE = 2 + +:AMUNAT_2238 +if + $AMMU_STAGE == 2 +else_jump @AMUNAT_2673 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$AMMU_INTERIOR_NAME // s$ == short +else_jump @SUB_FADE_500MS_AND_RESTORE_CONTROLS +gosub @AMUNAT_8155 + +:SUB_FADE_500MS_AND_RESTORE_CONTROLS +if + not Actor.Dead($AMMU_SELLER) +else_jump @AMUNAT_2628 +if + $FLAG_AMMU_SELLER_ATTACK_PLAYER == 0 +else_jump @AMUNAT_2576 +if + $9584 == 0 +else_jump @AMUNAT_2400 +0812: AS_actor $AMMU_SELLER perform_animation "SHP_TRAY_POSE" IFP "WEAPONS" framedelta 1000.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1 // versionB +$AMMU_SELLER_ANIMATION_TIME = 0.0 +$9584 = 1 + +:AMUNAT_2400 +if + $ONMISSION_SHOOTING == 0 +else_jump @AMUNAT_2505 +$SHOW_SHOP_SPHERE = 1 +if +0102: actor $PLAYER_ACTOR in_sphere $X_BUY_MARKER $Y_BUY_MARKER $Z_BUY_MARKER radius 1.0 1.0 4.0 sphere $SHOW_SHOP_SPHERE stopped_on_foot +else_jump @AMUNAT_2498 +if + Player.Controllable($PLAYER_CHAR) +else_jump @AMUNAT_2498 +$9584 = 0 +$AMMU_STAGE = 3 + +:AMUNAT_2498 +jump @AMUNAT_2569 + +:AMUNAT_2505 +$SHOW_SHOP_SPHERE = 1 +if +0102: actor $PLAYER_ACTOR in_sphere $X_BUY_MARKER $Y_BUY_MARKER $Z_BUY_MARKER radius 1.0 1.0 4.0 sphere $SHOW_SHOP_SPHERE stopped_on_foot +else_jump @AMUNAT_2569 +$9584 = 0 +$AMMU_STAGE = 3 + +:AMUNAT_2569 +jump @AMUNAT_2621 + +:AMUNAT_2576 +gosub @AMUNAT_7893 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$AMMU_INTERIOR_NAME // s$ == short +else_jump @AMUNAT_2614 +gosub @AMUNAT_8155 + +:AMUNAT_2614 +jump @AMUNAT_574 + +:AMUNAT_2621 +jump @AMUNAT_2673 + +:AMUNAT_2628 +gosub @AMUNAT_7893 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$AMMU_INTERIOR_NAME // s$ == short +else_jump @AMUNAT_2666 +gosub @AMUNAT_8155 + +:AMUNAT_2666 +jump @AMUNAT_574 + +:AMUNAT_2673 +if + $AMMU_STAGE == 3 +else_jump @AMUNAT_2757 +Player.CanMove($PLAYER_CHAR) = False +09BD: allow_other_threads_to_display_text_boxes 1 +01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0 +0792: disembark_instantly_actor $PLAYER_ACTOR +0395: clear_area 1 at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD radius 1.0 +03D5: remove_text 'SHOPNO' +32@ = 0 +$AMMU_STAGE = 4 + +:AMUNAT_2757 +if + $AMMU_STAGE == 4 +else_jump @AMUNAT_3130 +if + Actor.Dead($AMMU_SELLER) +else_jump @AMUNAT_2836 +gosub @AMUNAT_7893 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$AMMU_INTERIOR_NAME // s$ == short +else_jump @AMUNAT_2829 +gosub @AMUNAT_8155 + +:AMUNAT_2829 +jump @AMUNAT_574 + +:AMUNAT_2836 +if + $9584 == 0 +else_jump @AMUNAT_3130 +if + 32@ >= 300 +else_jump @AMUNAT_3130 +Actor.StorePos($PLAYER_ACTOR, $X_BUY_MARKER, $Y_BUY_MARKER, $Z_BUY_MARKER) +08C7: put_actor $PLAYER_ACTOR at $X_BUY_MARKER $Y_BUY_MARKER $Z_BUY_MARKER dont_warp_gang +Actor.Angle($PLAYER_ACTOR) = $AMMU_PLAYER_ANGLE +Actor.StorePos($AMMU_SELLER, $2755, $2756, $2757) +if or +8044: not $2755 == $AMMU_X_SELLER // (float) +8044: not $2756 == $AMMU_Y_SELLER // (float) +8044: not $2757 == $AMMU_Z_SELLER // (float) +else_jump @AMUNAT_2980 +Actor.PutAt($AMMU_SELLER, $AMMU_X_SELLER, $AMMU_Y_SELLER, $AMMU_Z_SELLER) +Actor.Angle($AMMU_SELLER) = $AMMU_SELLER_ANGLE + +:AMUNAT_2980 +Camera.SetPosition($X_CAMERA, $Y_CAMERA, $Z_CAMERA, 0.0, 0.0, 0.0) +Camera.PointAt($AMMU_X_AIM_CAMERA, $AMMU_Y_AIM_CAMERA, $AMMU_Z_AIM_CAMERA, 2) +09D5: play_sound_of_actor $AMMU_SELLER soundslot 333 unknown_flags 0 0 1 as $10081 // extended 0947 +if + $2576 == 1 +else_jump @AMUNAT_3061 +$2575 = 1 + +:AMUNAT_3061 +if + Player.Defined($PLAYER_CHAR) +else_jump @AMUNAT_3098 +Actor.StorePos($PLAYER_ACTOR, $TEMPVAR_X_COORD, $TEMPVAR_Y_COORD, $TEMPVAR_Z_COORD) +jump @AMUNAT_3112 + +:AMUNAT_3098 +gosub @AMUNAT_8155 +jump @AMUNAT_574 + +:AMUNAT_3112 +0581: enable_radar 0 +$AMMU_STAGE = 5 +$9584 = 0 + +:AMUNAT_3130 +if + $AMMU_STAGE == 5 +else_jump @AMUNAT_3854 +if + Actor.Dead($AMMU_SELLER) +else_jump @AMUNAT_3209 +gosub @AMUNAT_7893 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$AMMU_INTERIOR_NAME // s$ == short +else_jump @AMUNAT_3202 +gosub @AMUNAT_8155 + +:AMUNAT_3202 +jump @AMUNAT_574 + +:AMUNAT_3209 +if + 1 > $9584 +else_jump @AMUNAT_3259 +if + $2420 == 0 +else_jump @AMUNAT_3259 +gosub @AMUNAT_9583 +gosub @AMUNAT_10451 + +:AMUNAT_3259 +if + $9584 == 0 +else_jump @AMUNAT_3341 +if + Player.Defined($PLAYER_CHAR) +else_jump @AMUNAT_60 +if +00E1: player 0 pressed_key 16 +else_jump @AMUNAT_3317 +$9584 = 3 + +:AMUNAT_3317 +if +00E1: player 0 pressed_key 15 +else_jump @AMUNAT_3341 +$9584 = 1 + +:AMUNAT_3341 +if + $9584 == 1 +else_jump @AMUNAT_3594 +if +80E1: not player 0 pressed_key 15 +else_jump @AMUNAT_3594 +if + $2420 == 1 +else_jump @AMUNAT_3408 +03E6: remove_text_box +08DA: remove_panel $2419 +$2420 = 0 + +:AMUNAT_3408 +if + $2424 == 1 +else_jump @AMUNAT_3440 +03E6: remove_text_box +08DA: remove_panel $2423 +$2424 = 0 + +:AMUNAT_3440 +if + $2418 == 1 +else_jump @AMUNAT_3472 +03E6: remove_text_box +08DA: remove_panel $2417 +$2418 = 0 + +:AMUNAT_3472 +if + $2422 == 1 +else_jump @AMUNAT_3502 +08DA: remove_panel $2421 +$2422 = 0 + +:AMUNAT_3502 +03D5: remove_text 'AMMUA' +03D5: remove_text 'SHOPNO' +03D5: remove_text 'AMMUC' +03D5: remove_text 'AMMUD' +09D5: play_sound_of_actor $AMMU_SELLER soundslot 331 unknown_flags 0 0 1 as $10081 // extended 0947 +Camera.Restore_WithJumpCut +Player.CanMove($PLAYER_CHAR) = True +09BD: allow_other_threads_to_display_text_boxes 0 +0581: enable_radar 1 +$9584 = 2 +01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0 + +:AMUNAT_3594 +if + $9584 == 2 +else_jump @AMUNAT_3703 +if +80FF: not actor $PLAYER_ACTOR sphere 0 in_sphere $X_BUY_MARKER $Y_BUY_MARKER $Z_BUY_MARKER radius 1.0 1.0 4.0 on_foot +else_jump @AMUNAT_3703 +$2420 = 0 +$2424 = 0 +$9544 = 0 +$2418 = 0 +$2422 = 0 +$AMMU_STAGE = 2 +$9584 = 0 + +:AMUNAT_3703 +if + $9584 == 3 +else_jump @AMUNAT_3854 +if +80E1: not player 0 pressed_key 16 +else_jump @AMUNAT_3854 +08D8: $9637 = panel $2419 selected_row +05A9: s$9549 = $2450($9637,12s) // s$ +if + 0 > $9637 +else_jump @AMUNAT_3783 +$9637 = 0 + +:AMUNAT_3783 +if + $2420 == 1 +else_jump @AMUNAT_3815 +03E6: remove_text_box +08DA: remove_panel $2419 +$2420 = 0 + +:AMUNAT_3815 +if + $2424 == 0 +else_jump @AMUNAT_3840 +gosub @AMUNAT_10853 + +:AMUNAT_3840 +$9584 = 0 +$AMMU_STAGE = 6 + +:AMUNAT_3854 +if + $AMMU_STAGE == 6 +else_jump @AMUNAT_5178 +if + Actor.Dead($AMMU_SELLER) +else_jump @AMUNAT_3933 +gosub @AMUNAT_7893 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$AMMU_INTERIOR_NAME // s$ == short +else_jump @AMUNAT_3926 +gosub @AMUNAT_8155 + +:AMUNAT_3926 +jump @AMUNAT_574 + +:AMUNAT_3933 +if + 1 > $9584 +else_jump @AMUNAT_3976 +if + $2424 == 0 +else_jump @AMUNAT_3976 +gosub @AMUNAT_10853 + +:AMUNAT_3976 +if + $9584 == 0 +else_jump @AMUNAT_4042 +if +00E1: player 0 pressed_key 16 +else_jump @AMUNAT_4018 +$9584 = 2 + +:AMUNAT_4018 +if +00E1: player 0 pressed_key 15 +else_jump @AMUNAT_4042 +$9584 = 1 + +:AMUNAT_4042 +if + $9584 == 1 +else_jump @AMUNAT_4155 +if +80E1: not player 0 pressed_key 15 +else_jump @AMUNAT_4155 +if + $2424 == 1 +else_jump @AMUNAT_4109 +03E6: remove_text_box +08DA: remove_panel $2423 +$2424 = 0 + +:AMUNAT_4109 +if + $2420 == 0 +else_jump @AMUNAT_4141 +gosub @AMUNAT_9583 +gosub @AMUNAT_10451 + +:AMUNAT_4141 +$9584 = 0 +$AMMU_STAGE = 5 + +:AMUNAT_4155 +if + $9584 == 2 +else_jump @AMUNAT_4447 +if +80E1: not player 0 pressed_key 16 +else_jump @AMUNAT_4447 +08D8: $9638 = panel $2423 selected_row +if + 0 > $9638 +else_jump @AMUNAT_4223 +$9638 = 0 + +:AMUNAT_4223 +0084: $AMMU_SELECTED_WEAPON = $9633($9638,3i) // (int) +078C: get_shopping_item_with_textureCRC $AMMU_SELECTED_WEAPON nametag_to s$AMMU_WEAPON_NAME // 8-byte string +0761: get_shopping_item_with_textureCRC $AMMU_SELECTED_WEAPON price_to $AMMU_WEAPON_COST +if +84A3: not $AMMU_SELECTED_WEAPON == 48 // == constant +else_jump @AMUNAT_4292 +0782: get_weapon_with_ID $AMMU_SELECTED_WEAPON weapon_group_to $AMMU_SELECTED_WEAPON_WEAPON_GROUP +0781: get_weapon_with_ID $AMMU_SELECTED_WEAPON model_to $AMMU_SELECTED_WEAPON_MODEL +jump @AMUNAT_4300 + +:AMUNAT_4292 +04AE: $AMMU_SELECTED_WEAPON_MODEL = 373 // = constant + +:AMUNAT_4300 +if + $2424 == 1 +else_jump @AMUNAT_4332 +03E6: remove_text_box +08DA: remove_panel $2423 +$2424 = 0 + +:AMUNAT_4332 +0812: AS_actor $AMMU_SELLER perform_animation "SHP_G_LIFT_IN" IFP "WEAPONS" framedelta 1000.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$AMMU_SELLER_ANIMATION_TIME = 0.0 +if + Actor.Animation($AMMU_SELLER) == "SHP_G_LIFT_IN" +else_jump @AMUNAT_4440 +0613: $AMMU_SELLER_ANIMATION_TIME = actor $AMMU_SELLER animation "SHP_G_LIFT_IN" time + +:AMUNAT_4440 +$9584 = 3 + +:AMUNAT_4447 +if + $9584 == 3 +else_jump @AMUNAT_4547 +if + Actor.Animation($AMMU_SELLER) == "SHP_G_LIFT_IN" +else_jump @AMUNAT_4519 +0613: $AMMU_SELLER_ANIMATION_TIME = actor $AMMU_SELLER animation "SHP_G_LIFT_IN" time + +:AMUNAT_4519 +if + $AMMU_SELLER_ANIMATION_TIME == 1.0 +else_jump @AMUNAT_4547 +$9584 = 4 + +:AMUNAT_4547 +if + $9584 == 4 +else_jump @AMUNAT_4723 +$9543 = Object.Create($AMMU_SELECTED_WEAPON_MODEL, $AMMU_X_SELLER, $AMMU_Y_SELLER, $AMMU_Z_SELLER) +gosub @AMUNAT_8579 +gosub @AMUNAT_9226 +070A: AS_actor $AMMU_SELLER attach_to_object $9543 offset 0.0 0.0 0.0 on_bone 6 16 perform_animation "NULL" IFP_file "NULL" time 0 +Object.KeepInMemory($9543) = False +0812: AS_actor $AMMU_SELLER perform_animation v$9554 IFP "WEAPONS" framedelta 1000.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$AMMU_SELLER_ANIMATION_TIME = 0.0 +if + Actor.Animation($AMMU_SELLER) == v$9554 +else_jump @AMUNAT_4716 +0613: $AMMU_SELLER_ANIMATION_TIME = actor $AMMU_SELLER animation v$9554 time + +:AMUNAT_4716 +$9584 = 5 + +:AMUNAT_4723 +if + $9584 == 5 +else_jump @AMUNAT_4913 +if + Actor.Animation($AMMU_SELLER) == v$9554 +else_jump @AMUNAT_4771 +0613: $AMMU_SELLER_ANIMATION_TIME = actor $AMMU_SELLER animation v$9554 time + +:AMUNAT_4771 +if + $AMMU_SELLER_ANIMATION_TIME == 1.0 +else_jump @AMUNAT_4913 +070B: set_actor $AMMU_SELLER onbone_attached_object_operation 0 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1131 +Object.PutAt($9543, $9585, $9586, $9587) +Object.KeepInMemory($9543) = True +0812: AS_actor $AMMU_SELLER perform_animation v$9558 IFP "WEAPONS" framedelta 1000.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$AMMU_SELLER_ANIMATION_TIME = 0.0 +if + Actor.Animation($AMMU_SELLER) == v$9558 +else_jump @AMUNAT_4906 +0613: $AMMU_SELLER_ANIMATION_TIME = actor $AMMU_SELLER animation v$9558 time + +:AMUNAT_4906 +$9584 = 6 + +:AMUNAT_4913 +if + $9584 == 6 +else_jump @AMUNAT_5178 +if + Actor.Animation($AMMU_SELLER) == v$9558 +else_jump @AMUNAT_4961 +0613: $AMMU_SELLER_ANIMATION_TIME = actor $AMMU_SELLER animation v$9558 time + +:AMUNAT_4961 +if + $AMMU_SELLER_ANIMATION_TIME == 1.0 +else_jump @AMUNAT_5178 +0812: AS_actor $AMMU_SELLER perform_animation "SHP_TRAY_POSE" IFP "WEAPONS" framedelta 1000.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1 // versionB +$AMMU_SELLER_ANIMATION_TIME = 0.0 +if + $2418 == 0 +else_jump @AMUNAT_5061 +gosub @AMUNAT_7252 + +:AMUNAT_5061 +if +84A3: not $AMMU_SELECTED_WEAPON == 48 // == constant +else_jump @AMUNAT_5164 +0084: $9578 = $AMMU_SELECTED_WEAPON_WEAPON_GROUP // (int) +$9578 += 1 +04B8: get_weapon_data_from_actor $PLAYER_ACTOR slot $9578 weapon $9572 ammo $9573 model $9574 +if +803A: not $9572 == $AMMU_SELECTED_WEAPON // (int) +else_jump @AMUNAT_5164 +if + $9573 > 0 +else_jump @AMUNAT_5164 +00BC: show_text_highpriority GXT 'AMMUA' time 5000 flag 1 + +:AMUNAT_5164 +$AMMU_STAGE = 7 +$9584 = 0 + +:AMUNAT_5178 +if + $AMMU_STAGE == 7 +else_jump @AMUNAT_7217 +if + Actor.Dead($AMMU_SELLER) +else_jump @AMUNAT_5257 +gosub @AMUNAT_7893 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$AMMU_INTERIOR_NAME // s$ == short +else_jump @AMUNAT_5250 +gosub @AMUNAT_8155 + +:AMUNAT_5250 +jump @AMUNAT_574 + +:AMUNAT_5257 +if + 1 > $9584 +else_jump @AMUNAT_5300 +if + $2418 == 0 +else_jump @AMUNAT_5300 +gosub @AMUNAT_7252 + +:AMUNAT_5300 +if + $9584 == 0 +else_jump @AMUNAT_5366 +if +00E1: player 0 pressed_key 16 +else_jump @AMUNAT_5342 +$9584 = 5 + +:AMUNAT_5342 +if +00E1: player 0 pressed_key 15 +else_jump @AMUNAT_5366 +$9584 = 1 + +:AMUNAT_5366 +if + $9584 == 1 +else_jump @AMUNAT_5512 +if +80E1: not player 0 pressed_key 15 +else_jump @AMUNAT_5512 +if + $2418 == 1 +else_jump @AMUNAT_5433 +03E6: remove_text_box +08DA: remove_panel $2417 +$2418 = 0 + +:AMUNAT_5433 +0812: AS_actor $AMMU_SELLER perform_animation v$AMMU_SELLER_ANIMATION IFP "WEAPONS" framedelta 1000.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$AMMU_SELLER_ANIMATION_TIME = 0.0 +if + Actor.Animation($AMMU_SELLER) == v$AMMU_SELLER_ANIMATION +else_jump @AMUNAT_5505 +0613: $AMMU_SELLER_ANIMATION_TIME = actor $AMMU_SELLER animation v$AMMU_SELLER_ANIMATION time + +:AMUNAT_5505 +$9584 = 2 + +:AMUNAT_5512 +if + $9584 == 2 +else_jump @AMUNAT_5708 +if + Actor.Animation($AMMU_SELLER) == v$AMMU_SELLER_ANIMATION +else_jump @AMUNAT_5560 +0613: $AMMU_SELLER_ANIMATION_TIME = actor $AMMU_SELLER animation v$AMMU_SELLER_ANIMATION time + +:AMUNAT_5560 +if + $AMMU_SELLER_ANIMATION_TIME == 1.0 +else_jump @AMUNAT_5708 +070A: AS_actor $AMMU_SELLER attach_to_object $9543 offset 0.0 0.0 0.0 on_bone 6 16 perform_animation "NULL" IFP_file "NULL" time 0 +Object.KeepInMemory($9543) = False +0812: AS_actor $AMMU_SELLER perform_animation v$9566 IFP "WEAPONS" framedelta 1000.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$AMMU_SELLER_ANIMATION_TIME = 0.0 +if + Actor.Animation($AMMU_SELLER) == v$9566 +else_jump @AMUNAT_5701 +0613: $AMMU_SELLER_ANIMATION_TIME = actor $AMMU_SELLER animation v$9566 time + +:AMUNAT_5701 +$9584 = 3 + +:AMUNAT_5708 +if + $9584 == 3 +else_jump @AMUNAT_5930 +if + Actor.Animation($AMMU_SELLER) == v$9566 +else_jump @AMUNAT_5756 +0613: $AMMU_SELLER_ANIMATION_TIME = actor $AMMU_SELLER animation v$9566 time + +:AMUNAT_5756 +if + $AMMU_SELLER_ANIMATION_TIME == 1.0 +else_jump @AMUNAT_5930 +070B: set_actor $AMMU_SELLER onbone_attached_object_operation 0 +Object.PutAt($9543, $9585, $9586, $9587) +Object.KeepInMemory($9543) = True +gosub @AMUNAT_8572 +0812: AS_actor $AMMU_SELLER perform_animation "SHP_G_LIFT_OUT" IFP "WEAPONS" framedelta 1000.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$AMMU_SELLER_ANIMATION_TIME = 0.0 +if + Actor.Animation($AMMU_SELLER) == "SHP_G_LIFT_OUT" +else_jump @AMUNAT_5923 +0613: $AMMU_SELLER_ANIMATION_TIME = actor $AMMU_SELLER animation "SHP_G_LIFT_OUT" time + +:AMUNAT_5923 +$9584 = 4 + +:AMUNAT_5930 +if + $9584 == 4 +else_jump @AMUNAT_6093 +if + Actor.Animation($AMMU_SELLER) == "SHP_G_LIFT_OUT" +else_jump @AMUNAT_6004 +0613: $AMMU_SELLER_ANIMATION_TIME = actor $AMMU_SELLER animation "SHP_G_LIFT_OUT" time + +:AMUNAT_6004 +if + $AMMU_SELLER_ANIMATION_TIME == 1.0 +else_jump @AMUNAT_6093 +0812: AS_actor $AMMU_SELLER perform_animation "SHP_TRAY_POSE" IFP "WEAPONS" framedelta 1000.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1 // versionB +$AMMU_SELLER_ANIMATION_TIME = 0.0 +$9584 = 0 +$AMMU_STAGE = 6 + +:AMUNAT_6093 +if + $9584 == 5 +else_jump @AMUNAT_6668 +if +80E1: not player 0 pressed_key 16 +else_jump @AMUNAT_6668 +03D5: remove_text 'AMMUA' +03D5: remove_text 'SHOPNO' +03D5: remove_text 'AMMUC' +03D5: remove_text 'AMMUD' +01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0 +$2544 = 0 +$9596 = 0 +$SHOPS_PLAYER_CASH = Player.Money($PLAYER_CHAR) +if +002C: $SHOPS_PLAYER_CASH >= $AMMU_WEAPON_COST // (int) +else_jump @AMUNAT_6589 +if +84A3: not $AMMU_SELECTED_WEAPON == 48 // == constant +else_jump @AMUNAT_6411 +041A: $9573 = actor $PLAYER_ACTOR weapon $AMMU_SELECTED_WEAPON ammo +if + 9999 > $9573 +else_jump @AMUNAT_6325 +0790: charge_money_for_shopping_item_with_textureCRC $AMMU_SELECTED_WEAPON +09D5: play_sound_of_actor $AMMU_SELLER soundslot 323 unknown_flags 0 0 1 as $10081 // extended 0947 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1052 +$9584 = 6 +33@ = 0 +jump @AMUNAT_6404 + +:AMUNAT_6325 +if + $9596 == 0 +else_jump @AMUNAT_6404 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1053 +00BC: show_text_highpriority GXT 'AMMUC' time 5000 flag 1 +09D5: play_sound_of_actor $AMMU_SELLER soundslot 322 unknown_flags 0 0 1 as $10081 // extended 0947 +$9584 = 0 +$9596 = 1 + +:AMUNAT_6404 +jump @AMUNAT_6582 + +:AMUNAT_6411 +04DD: $9594 = actor $PLAYER_ACTOR armour +0945: get_player $PLAYER_CHAR max_armour_to $9595 +if +001C: $9595 > $9594 // (int) +else_jump @AMUNAT_6503 +09D5: play_sound_of_actor $AMMU_SELLER soundslot 323 unknown_flags 0 0 1 as $10081 // extended 0947 +0790: charge_money_for_shopping_item_with_textureCRC $AMMU_SELECTED_WEAPON +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1052 +$9584 = 6 +33@ = 0 +jump @AMUNAT_6582 + +:AMUNAT_6503 +if + $9596 == 0 +else_jump @AMUNAT_6582 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1053 +09D5: play_sound_of_actor $AMMU_SELLER soundslot 322 unknown_flags 0 0 1 as $10081 // extended 0947 +00BC: show_text_highpriority GXT 'AMMUD' time 5000 flag 1 +$9584 = 0 +$9596 = 1 + +:AMUNAT_6582 +jump @AMUNAT_6668 + +:AMUNAT_6589 +if + $2544 == 0 +else_jump @AMUNAT_6668 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1053 +09D5: play_sound_of_actor $AMMU_SELLER soundslot 324 unknown_flags 0 0 1 as $10081 // extended 0947 +00BC: show_text_highpriority GXT 'SHOPNO' time 5000 flag 1 +$9584 = 0 +$2544 = 1 + +:AMUNAT_6668 +if + $9584 == 6 +else_jump @AMUNAT_7100 +if + $2418 == 1 +else_jump @AMUNAT_6718 +08DA: remove_panel $2417 +03E6: remove_text_box +$2418 = 0 + +:AMUNAT_6718 +if + $2422 == 0 +else_jump @AMUNAT_7086 +08D4: $2421 = create_panel_with_title 'AMMUN' position 29.0 20.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 +08D6: set_panel $2421 column 0 alignment 1 +08DB: set_panel $2421 column 0 header 'WEAPON' data 'BOUGHT' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' +08D6: set_panel $2421 column 1 alignment 0 +08DB: set_panel $2421 column 1 header 'COST' data 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' +08EE: set_panel $2421 column 1 row 0 text_1number GXT 'DOLLAR' number $AMMU_WEAPON_COST +09DB: set_panel $2421 column 0 width 140 +09DB: set_panel $2421 column 1 width 46 +$2422 = 1 + +:AMUNAT_7086 +33@ = 0 +$9584 = 7 + +:AMUNAT_7100 +if + $9584 == 7 +else_jump @AMUNAT_7217 +if + 33@ >= 1000 +else_jump @AMUNAT_7217 +if + $2422 == 1 +else_jump @AMUNAT_7167 +08DA: remove_panel $2421 +$2422 = 0 + +:AMUNAT_7167 +$9584 = 0 +if + 1 > $9584 +else_jump @AMUNAT_7217 +if + $2418 == 0 +else_jump @AMUNAT_7217 +gosub @AMUNAT_7252 + +:AMUNAT_7217 +jump @AMUNAT_7231 + +:AMUNAT_7224 +gosub @AMUNAT_8155 + +:AMUNAT_7231 +jump @AMUNAT_7245 + +:AMUNAT_7238 +gosub @AMUNAT_8155 + +:AMUNAT_7245 +jump @AMUNAT_574 + +:AMUNAT_7252 +if + $2418 == 0 +else_jump @AMUNAT_7891 +0512: show_permanent_text_box 'AMMU_H3' +if +04A3: $CURRENT_LANGUAGE == 0 // == constant +else_jump @AMUNAT_7343 +08D4: $2417 = create_panel_with_title 'AMMUN' position 29.0 95.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 +jump @AMUNAT_7584 + +:AMUNAT_7343 +if +04A3: $CURRENT_LANGUAGE == 1 // == constant +else_jump @AMUNAT_7405 +08D4: $2417 = create_panel_with_title 'AMMUN' position 29.0 95.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 +jump @AMUNAT_7584 + +:AMUNAT_7405 +if +04A3: $CURRENT_LANGUAGE == 2 // == constant +else_jump @AMUNAT_7467 +08D4: $2417 = create_panel_with_title 'AMMUN' position 29.0 95.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 +jump @AMUNAT_7584 + +:AMUNAT_7467 +if +04A3: $CURRENT_LANGUAGE == 3 // == constant +else_jump @AMUNAT_7529 +08D4: $2417 = create_panel_with_title 'AMMUN' position 29.0 95.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 +jump @AMUNAT_7584 + +:AMUNAT_7529 +if +04A3: $CURRENT_LANGUAGE == 4 // == constant +else_jump @AMUNAT_7584 +08D4: $2417 = create_panel_with_title 'AMMUN' position 29.0 95.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 + +:AMUNAT_7584 +08D6: set_panel $2417 column 0 alignment 1 +08DB: set_panel $2417 column 0 header 'WEAPON' data s$AMMU_WEAPON_NAME 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' +08D6: set_panel $2417 column 1 alignment 0 +08DB: set_panel $2417 column 1 header 'COST' data 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' +08EE: set_panel $2417 column 1 row 0 text_1number GXT 'DOLLAR' number $AMMU_WEAPON_COST +09DB: set_panel $2417 column 0 width 140 +09DB: set_panel $2417 column 1 width 46 +$2418 = 1 + +:AMUNAT_7891 +return + +:AMUNAT_7893 +if + $2420 == 1 +else_jump @AMUNAT_7925 +03E6: remove_text_box +08DA: remove_panel $2419 +$2420 = 0 + +:AMUNAT_7925 +if + $2424 == 1 +else_jump @AMUNAT_7957 +03E6: remove_text_box +08DA: remove_panel $2423 +$2424 = 0 + +:AMUNAT_7957 +if + $2418 == 1 +else_jump @AMUNAT_7989 +03E6: remove_text_box +08DA: remove_panel $2417 +$2418 = 0 + +:AMUNAT_7989 +if + $2422 == 1 +else_jump @AMUNAT_8019 +08DA: remove_panel $2421 +$2422 = 0 + +:AMUNAT_8019 +if + $AMMU_STAGE >= 1 +else_jump @AMUNAT_8039 +03E6: remove_text_box + +:AMUNAT_8039 +03D5: remove_text 'AMMUA' +03D5: remove_text 'SHOPNO' +03D5: remove_text 'AMMUC' +03D5: remove_text 'AMMUD' +$2420 = 0 +$2424 = 0 +$9544 = 0 +$9584 = 0 +$2418 = 0 +$2422 = 0 +$2545 = 0 +$2544 = 0 +$9596 = 0 +$AMMU_STAGE = 2 +return + +:AMUNAT_8155 +if + $2420 == 1 +else_jump @AMUNAT_8187 +03E6: remove_text_box +08DA: remove_panel $2419 +$2420 = 0 + +:AMUNAT_8187 +if + $2424 == 1 +else_jump @AMUNAT_8219 +03E6: remove_text_box +08DA: remove_panel $2423 +$2424 = 0 + +:AMUNAT_8219 +if + $2418 == 1 +else_jump @AMUNAT_8251 +03E6: remove_text_box +08DA: remove_panel $2417 +$2418 = 0 + +:AMUNAT_8251 +if + $2422 == 1 +else_jump @AMUNAT_8281 +08DA: remove_panel $2421 +$2422 = 0 + +:AMUNAT_8281 +if + $AMMU_STAGE >= 1 +else_jump @AMUNAT_8301 +03E6: remove_text_box + +:AMUNAT_8301 +03D5: remove_text 'AMMUA' +03D5: remove_text 'SHOPNO' +03D5: remove_text 'AMMUC' +03D5: remove_text 'AMMUD' +$2420 = 0 +$2424 = 0 +$FLAG_AMMU_SELLER_ATTACK_PLAYER = 0 +$9544 = 0 +$9584 = 0 +$2418 = 0 +$2422 = 0 +$2545 = 0 +$2544 = 0 +$9596 = 0 +$AMMU_STAGE = 0 +Model.Destroy(346) +Model.Destroy(347) +Model.Destroy(348) +Model.Destroy(349) +Model.Destroy(350) +Model.Destroy(351) +Model.Destroy(342) +Model.Destroy(352) +Model.Destroy(353) +Model.Destroy(372) +Model.Destroy(355) +Model.Destroy(356) +Model.Destroy(357) +Model.Destroy(358) +Model.Destroy(373) +Model.Destroy(363) +Model.Destroy(364) +03F0: enable_text_draw 0 +Model.Destroy($SELLER_MODEL) +Actor.DestroyInstantly($AMMU_SELLER) +08F8: display_stat_update_box 1 +0581: enable_radar 1 +09BD: allow_other_threads_to_display_text_boxes 0 +if + $5274 == 1 +else_jump @AMUNAT_8569 +03E5: show_text_box 'ANR_56' +$5274 = 0 + +:AMUNAT_8569 +end_thread +hex + 78 +end + +:AMUNAT_8572 +Object.Destroy($9543) +return + +:AMUNAT_8579 +if or +04A3: $AMMU_SELECTED_WEAPON_MODEL == 349 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 351 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 355 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 356 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 358 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 357 // == constant +else_jump @AMUNAT_8732 +06D1: v$9554 = "SHP_2H_LIFT" // v$ = string +06D1: v$9558 = "SHP_2H_LIFT_END" // v$ = string +0086: $9585 = $AMMU_X_SELLER // (float) +$9585 += 0.231 +0086: $9586 = $AMMU_Y_SELLER // (float) +$9586 += 0.636 +0086: $9587 = $AMMU_Z_SELLER // (float) +$9587 += 1.053 + +:AMUNAT_8732 +if +04A3: $AMMU_SELECTED_WEAPON_MODEL == 350 // == constant +else_jump @AMUNAT_8845 +06D1: v$9554 = "SHP_2H_LIFT" // v$ = string +06D1: v$9558 = "SHP_2H_LIFT_END" // v$ = string +0086: $9585 = $AMMU_X_SELLER // (float) +$9585 += 0.231 +0086: $9586 = $AMMU_Y_SELLER // (float) +$9586 += 0.636 +0086: $9587 = $AMMU_Z_SELLER // (float) +$9587 += 1.053 + +:AMUNAT_8845 +if or +04A3: $AMMU_SELECTED_WEAPON_MODEL == 346 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 347 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 348 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 352 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 353 // == constant +else_jump @AMUNAT_8990 +06D1: v$9554 = "SHP_1H_LIFT" // v$ = string +06D1: v$9558 = "SHP_1H_LIFT_END" // v$ = string +0086: $9585 = $AMMU_X_SELLER // (float) +$9585 += 0.108 +0086: $9586 = $AMMU_Y_SELLER // (float) +$9586 += 0.654 +0086: $9587 = $AMMU_Z_SELLER // (float) +$9587 += 1.053 + +:AMUNAT_8990 +if or +04A3: $AMMU_SELECTED_WEAPON_MODEL == 363 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 372 // == constant +else_jump @AMUNAT_9111 +06D1: v$9554 = "SHP_1H_LIFT" // v$ = string +06D1: v$9558 = "SHP_1H_LIFT_END" // v$ = string +0086: $9585 = $AMMU_X_SELLER // (float) +$9585 += 0.108 +0086: $9586 = $AMMU_Y_SELLER // (float) +$9586 += 0.654 +0086: $9587 = $AMMU_Z_SELLER // (float) +$9587 += 1.053 + +:AMUNAT_9111 +if +04A3: $AMMU_SELECTED_WEAPON_MODEL == 373 // == constant +else_jump @AMUNAT_9224 +06D1: v$9554 = "SHP_AR_LIFT" // v$ = string +06D1: v$9558 = "SHP_AR_LIFT_END" // v$ = string +0086: $9585 = $AMMU_X_SELLER // (float) +$9585 += 0.175 +0086: $9586 = $AMMU_Y_SELLER // (float) +$9586 += 0.676 +0086: $9587 = $AMMU_Z_SELLER // (float) +$9587 += 1.5 + +:AMUNAT_9224 +return + +:AMUNAT_9226 +if or +04A3: $AMMU_SELECTED_WEAPON_MODEL == 349 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 351 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 355 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 356 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 358 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 357 // == constant +else_jump @AMUNAT_9321 +06D1: v$AMMU_SELLER_ANIMATION = "SHP_2H_RET_S" // v$ = string +06D1: v$9566 = "SHP_2H_RET" // v$ = string + +:AMUNAT_9321 +if +04A3: $AMMU_SELECTED_WEAPON_MODEL == 350 // == constant +else_jump @AMUNAT_9376 +06D1: v$AMMU_SELLER_ANIMATION = "SHP_2H_RET_S" // v$ = string +06D1: v$9566 = "SHP_2H_RET" // v$ = string + +:AMUNAT_9376 +if or +04A3: $AMMU_SELECTED_WEAPON_MODEL == 346 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 347 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 348 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 352 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 353 // == constant +else_jump @AMUNAT_9463 +06D1: v$AMMU_SELLER_ANIMATION = "SHP_1H_RET_S" // v$ = string +06D1: v$9566 = "SHP_1H_RET" // v$ = string + +:AMUNAT_9463 +if or +04A3: $AMMU_SELECTED_WEAPON_MODEL == 363 // == constant +04A3: $AMMU_SELECTED_WEAPON_MODEL == 372 // == constant +else_jump @AMUNAT_9526 +06D1: v$AMMU_SELLER_ANIMATION = "SHP_1H_RET_S" // v$ = string +06D1: v$9566 = "SHP_1H_RET" // v$ = string + +:AMUNAT_9526 +if +04A3: $AMMU_SELECTED_WEAPON_MODEL == 373 // == constant +else_jump @AMUNAT_9581 +06D1: v$AMMU_SELLER_ANIMATION = "SHP_AR_RET_S" // v$ = string +06D1: v$9566 = "SHP_AR_RET" // v$ = string + +:AMUNAT_9581 +return + +:AMUNAT_9583 +$9597 = 0 +$9616 = 0 +$2515 = 0 +$9598 = 0 +$9599 = 0 +$9600 = 0 +$9601 = 0 +$9602 = 0 +$9603 = 0 +$9604 = 0 +$9605 = 0 +$9606 = 0 +$9607 = 0 +$9608 = 0 +$9609 = 0 +$9610 = 0 +$9611 = 0 +$9612 = 0 +$9613 = 0 +$9614 = 0 +$9615 = 0 + +:AMUNAT_9730 +if +001C: $AMMU_AVAILABLE_WEAPONS > $9597 // (int) +else_jump @AMUNAT_10369 +0760: store_shopping_data_index $9597 textureCRC_to $AMMU_SELECTED_WEAPON +0871: init_jump_table $AMMU_SELECTED_WEAPON total_jumps 16 default_jump 0 @AMUNAT_10355 jumps 16 @AMUNAT_10272 22 @AMUNAT_9885 23 @AMUNAT_9885 24 @AMUNAT_9885 25 @AMUNAT_9961 26 @AMUNAT_9961 27 @AMUNAT_9961 +0872: jump_table_jumps 28 @AMUNAT_10037 29 @AMUNAT_10113 30 @AMUNAT_10189 31 @AMUNAT_10189 32 @AMUNAT_10037 33 @AMUNAT_10265 34 @AMUNAT_10265 39 @AMUNAT_10272 48 @AMUNAT_10279 + +:AMUNAT_9885 +0084: $9617($9598,3i) = $AMMU_SELECTED_WEAPON // (int) +$9598 += 1 +if + $9607 == 0 +else_jump @AMUNAT_9954 +05A9: $2450($9616,12s) = 'GUN1' // s$ +$9616 += 1 +$9607 = 1 + +:AMUNAT_9954 +jump @AMUNAT_10355 + +:AMUNAT_9961 +0084: $9620($9599,3i) = $AMMU_SELECTED_WEAPON // (int) +$9599 += 1 +if + $9608 == 0 +else_jump @AMUNAT_10030 +05A9: $2450($9616,12s) = 'GUN2' // s$ +$9616 += 1 +$9608 = 1 + +:AMUNAT_10030 +jump @AMUNAT_10355 + +:AMUNAT_10037 +0084: $9623($9600,2i) = $AMMU_SELECTED_WEAPON // (int) +$9600 += 1 +if + $9609 == 0 +else_jump @AMUNAT_10106 +05A9: $2450($9616,12s) = 'GUN3' // s$ +$9616 += 1 +$9609 = 1 + +:AMUNAT_10106 +jump @AMUNAT_10355 + +:AMUNAT_10113 +0084: $9625($9601,1i) = $AMMU_SELECTED_WEAPON // (int) +$9601 += 1 +if + $9610 == 0 +else_jump @AMUNAT_10182 +05A9: $2450($9616,12s) = 'GUN4' // s$ +$9616 += 1 +$9610 = 1 + +:AMUNAT_10182 +jump @AMUNAT_10355 + +:AMUNAT_10189 +0084: $9626($9602,2i) = $AMMU_SELECTED_WEAPON // (int) +$9602 += 1 +if + $9611 == 0 +else_jump @AMUNAT_10258 +05A9: $2450($9616,12s) = 'GUN5' // s$ +$9616 += 1 +$9611 = 1 + +:AMUNAT_10258 +jump @AMUNAT_10355 + +:AMUNAT_10265 +jump @AMUNAT_10355 + +:AMUNAT_10272 +jump @AMUNAT_10355 + +:AMUNAT_10279 +0084: $9632($9605,1i) = $AMMU_SELECTED_WEAPON // (int) +$9605 += 1 +if + $9614 == 0 +else_jump @AMUNAT_10348 +05A9: $2450($9616,12s) = 'GUN8' // s$ +$9616 += 1 +$9614 = 1 + +:AMUNAT_10348 +jump @AMUNAT_10355 + +:AMUNAT_10355 +$9597 += 1 +jump @AMUNAT_9730 + +:AMUNAT_10369 +0084: $2515 = $9616 // (int) + +:AMUNAT_10377 +if + 12 > $2515 +else_jump @AMUNAT_10449 +$2438($2515,12i) = -1 +$2426($2515,12i) = 0 +05A9: $2450($2515,12s) = 'DUMMY' // s$ +$2515 += 1 +jump @AMUNAT_10377 + +:AMUNAT_10449 +return + +:AMUNAT_10451 +if + $2420 == 0 +else_jump @AMUNAT_10851 +0512: show_permanent_text_box 'AMMU_H' +if +04A3: $CURRENT_LANGUAGE == 0 // == constant +else_jump @AMUNAT_10542 +08D4: $2419 = create_panel_with_title 'AMMUN' position 29.0 145.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +jump @AMUNAT_10783 + +:AMUNAT_10542 +if +04A3: $CURRENT_LANGUAGE == 1 // == constant +else_jump @AMUNAT_10604 +08D4: $2419 = create_panel_with_title 'AMMUN' position 29.0 145.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +jump @AMUNAT_10783 + +:AMUNAT_10604 +if +04A3: $CURRENT_LANGUAGE == 2 // == constant +else_jump @AMUNAT_10666 +08D4: $2419 = create_panel_with_title 'AMMUN' position 29.0 165.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +jump @AMUNAT_10783 + +:AMUNAT_10666 +if +04A3: $CURRENT_LANGUAGE == 3 // == constant +else_jump @AMUNAT_10728 +08D4: $2419 = create_panel_with_title 'AMMUN' position 29.0 145.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +jump @AMUNAT_10783 + +:AMUNAT_10728 +if +04A3: $CURRENT_LANGUAGE == 4 // == constant +else_jump @AMUNAT_10783 +08D4: $2419 = create_panel_with_title 'AMMUN' position 29.0 145.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 + +:AMUNAT_10783 +08D6: set_panel $2419 column 0 alignment 1 +08DB: set_panel $2419 column 0 header 'DUMMY' data s$2450[0] s$2450[1] s$2450[2] s$2450[3] s$2450[4] s$2450[5] s$2450[6] s$2450[7] s$2450[8] s$2450[9] s$2450[10] s$2450[11] +$2420 = 1 + +:AMUNAT_10851 +return + +:AMUNAT_10853 +$9636 = 0 +if +05AD: s$9549 == 'GUN1' // s$ == short +else_jump @AMUNAT_10958 + +:AMUNAT_10885 +if +001C: $9598 > $9636 // (int) +else_jump @AMUNAT_10958 +078C: get_shopping_item_with_textureCRC $9617($9636,3i) nametag_to s$AMMU_WEAPON_NAME // 8-byte string +05A9: $2450($9636,12s) = s$AMMU_WEAPON_NAME // s$ +0084: $9633($9636,3i) = $9617($9636,3i) // (int) +$9636 += 1 +jump @AMUNAT_10885 + +:AMUNAT_10958 +if +05AD: s$9549 == 'GUN2' // s$ == short +else_jump @AMUNAT_11056 + +:AMUNAT_10983 +if +001C: $9599 > $9636 // (int) +else_jump @AMUNAT_11056 +078C: get_shopping_item_with_textureCRC $9620($9636,3i) nametag_to s$AMMU_WEAPON_NAME // 8-byte string +05A9: $2450($9636,12s) = s$AMMU_WEAPON_NAME // s$ +0084: $9633($9636,3i) = $9620($9636,3i) // (int) +$9636 += 1 +jump @AMUNAT_10983 + +:AMUNAT_11056 +if +05AD: s$9549 == 'GUN3' // s$ == short +else_jump @AMUNAT_11154 + +:AMUNAT_11081 +if +001C: $9600 > $9636 // (int) +else_jump @AMUNAT_11154 +078C: get_shopping_item_with_textureCRC $9623($9636,2i) nametag_to s$AMMU_WEAPON_NAME // 8-byte string +05A9: $2450($9636,12s) = s$AMMU_WEAPON_NAME // s$ +0084: $9633($9636,3i) = $9623($9636,2i) // (int) +$9636 += 1 +jump @AMUNAT_11081 + +:AMUNAT_11154 +if +05AD: s$9549 == 'GUN4' // s$ == short +else_jump @AMUNAT_11252 + +:AMUNAT_11179 +if +001C: $9601 > $9636 // (int) +else_jump @AMUNAT_11252 +078C: get_shopping_item_with_textureCRC $9625($9636,1i) nametag_to s$AMMU_WEAPON_NAME // 8-byte string +05A9: $2450($9636,12s) = s$AMMU_WEAPON_NAME // s$ +0084: $9633($9636,3i) = $9625($9636,1i) // (int) +$9636 += 1 +jump @AMUNAT_11179 + +:AMUNAT_11252 +if +05AD: s$9549 == 'GUN5' // s$ == short +else_jump @AMUNAT_11350 + +:AMUNAT_11277 +if +001C: $9602 > $9636 // (int) +else_jump @AMUNAT_11350 +078C: get_shopping_item_with_textureCRC $9626($9636,2i) nametag_to s$AMMU_WEAPON_NAME // 8-byte string +05A9: $2450($9636,12s) = s$AMMU_WEAPON_NAME // s$ +0084: $9633($9636,3i) = $9626($9636,2i) // (int) +$9636 += 1 +jump @AMUNAT_11277 + +:AMUNAT_11350 +if +05AD: s$9549 == 'GUN8' // s$ == short +else_jump @AMUNAT_11448 + +:AMUNAT_11375 +if +001C: $9605 > $9636 // (int) +else_jump @AMUNAT_11448 +078C: get_shopping_item_with_textureCRC $9632($9636,1i) nametag_to s$AMMU_WEAPON_NAME // 8-byte string +05A9: $2450($9636,12s) = s$AMMU_WEAPON_NAME // s$ +0084: $9633($9636,3i) = $9632($9636,1i) // (int) +$9636 += 1 +jump @AMUNAT_11375 + +:AMUNAT_11448 +0084: $2515 = $9636 // (int) + +:AMUNAT_11456 +if + 12 > $2515 +else_jump @AMUNAT_11528 +$2438($2515,12i) = -1 +$2426($2515,12i) = 0 +05A9: $2450($2515,12s) = 'DUMMY' // s$ +$2515 += 1 +jump @AMUNAT_11456 + +:AMUNAT_11528 +if + $2424 == 0 +else_jump @AMUNAT_11928 +0512: show_permanent_text_box 'AMMU_H2' +if +04A3: $CURRENT_LANGUAGE == 0 // == constant +else_jump @AMUNAT_11619 +08D4: $2423 = create_panel_with_title 'AMMUN' position 29.0 145.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +jump @AMUNAT_11860 + +:AMUNAT_11619 +if +04A3: $CURRENT_LANGUAGE == 1 // == constant +else_jump @AMUNAT_11681 +08D4: $2423 = create_panel_with_title 'AMMUN' position 29.0 145.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +jump @AMUNAT_11860 + +:AMUNAT_11681 +if +04A3: $CURRENT_LANGUAGE == 2 // == constant +else_jump @AMUNAT_11743 +08D4: $2423 = create_panel_with_title 'AMMUN' position 29.0 165.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +jump @AMUNAT_11860 + +:AMUNAT_11743 +if +04A3: $CURRENT_LANGUAGE == 3 // == constant +else_jump @AMUNAT_11805 +08D4: $2423 = create_panel_with_title 'AMMUN' position 29.0 145.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +jump @AMUNAT_11860 + +:AMUNAT_11805 +if +04A3: $CURRENT_LANGUAGE == 4 // == constant +else_jump @AMUNAT_11860 +08D4: $2423 = create_panel_with_title 'AMMUN' position 29.0 145.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 + +:AMUNAT_11860 +08D6: set_panel $2423 column 0 alignment 1 +08DB: set_panel $2423 column 0 header 'DUMMY' data s$2450[0] s$2450[1] s$2450[2] s$2450[3] s$2450[4] s$2450[5] s$2450[6] s$2450[7] s$2450[8] s$2450[9] s$2450[10] s$2450[11] +$2424 = 1 + +:AMUNAT_11928 +return +end_thread + +//-------------External script 1 (BLACKJ)--------------- + +:BLACKJ +thread 'BLACKJ' +2@ = 0 +3@ = 0 +4@ = 0 +5@ = 0 +22@ = 0 +23@ = 0 +24@ = 0 +if + 3@ == -1 +else_jump @BLACKJ_214 +0@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0) +1@ = Actor.Create(Fireman, 7, 0.0, 0.0, 0.0) +$9217 = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0) +$9218 = Actor.Create(Fireman, 7, 0.0, 0.0, 0.0) +$9208[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0) +Actor.SetImmunities(1@, 1, 1, 1, 1, 1) +Actor.LockInCurrentPosition(1@) = True + +:BLACKJ_214 +29@ = -99 + +:BLACKJ_221 +wait 0 +if + $PLAYER_IN_INTERIOR == 0 +else_jump @BLACKJ_2501 +if +03CA: object 0@ exists +else_jump @BLACKJ_2485 +if +0977: player_in_radius_of_object 0@ external_script_trigger +else_jump @BLACKJ_2469 +if + $9217 == 0 +else_jump @BLACKJ_2381 +if + Player.Defined($PLAYER_CHAR) +else_jump @BLACKJ_2365 +if + 2@ == 0 +else_jump @BLACKJ_1114 +if + 3@ == 0 +else_jump @BLACKJ_890 +0209: 10@ = random_int_in_ranges 0 2 +if + 10@ == 0 +else_jump @BLACKJ_387 +04AF: 26@ = 171 // = constant +jump @BLACKJ_395 + +:BLACKJ_387 +04AF: 26@ = 171 // = constant + +:BLACKJ_395 +if + not Model.Available(26@) +else_jump @BLACKJ_416 +Model.Load(26@) + +:BLACKJ_416 +if +84EE: not animation "CASINO" loaded +else_jump @BLACKJ_447 +04ED: load_animation "CASINO" + +:BLACKJ_447 +if + 29@ == -99 +else_jump @BLACKJ_883 +0653: 13@ = float_stat 81 +if + $9207 == 0 +else_jump @BLACKJ_696 +if + 1.0 > 13@ +else_jump @BLACKJ_532 +29@ = 100 +30@ = 1 +jump @BLACKJ_682 + +:BLACKJ_532 +if + 10.0 > 13@ +else_jump @BLACKJ_575 +29@ = 1000 +30@ = 10 +jump @BLACKJ_682 + +:BLACKJ_575 +if + 100.0 > 13@ +else_jump @BLACKJ_618 +29@ = 10000 +30@ = 100 +jump @BLACKJ_682 + +:BLACKJ_618 +if + 1000.0 > 13@ +else_jump @BLACKJ_664 +29@ = 100000 +30@ = 1000 +jump @BLACKJ_682 + +:BLACKJ_664 +29@ = 1000000 +30@ = 10000 + +:BLACKJ_682 +$9207 += 1 +jump @BLACKJ_883 + +:BLACKJ_696 +0209: 10@ = random_int_in_ranges 0 5 +0871: init_jump_table 10@ total_jumps 5 default_jump 0 @BLACKJ_883 jumps 0 @BLACKJ_768 1 @BLACKJ_789 2 @BLACKJ_811 3 @BLACKJ_833 4 @BLACKJ_858 -1 @BLACKJ_883 -1 @BLACKJ_883 + +:BLACKJ_768 +29@ = 100 +30@ = 1 +jump @BLACKJ_883 + +:BLACKJ_789 +29@ = 1000 +30@ = 10 +jump @BLACKJ_883 + +:BLACKJ_811 +29@ = 10000 +30@ = 100 +jump @BLACKJ_883 + +:BLACKJ_833 +29@ = 100000 +30@ = 1000 +jump @BLACKJ_883 + +:BLACKJ_858 +29@ = 1000000 +30@ = 10000 +jump @BLACKJ_883 + +:BLACKJ_883 +3@ += 1 + +:BLACKJ_890 +if + 3@ == 1 +else_jump @BLACKJ_941 +if and + Model.Available(26@) +04EE: animation "CASINO" loaded +else_jump @BLACKJ_941 +3@ += 1 + +:BLACKJ_941 +if + 3@ == 2 +else_jump @BLACKJ_1114 +if +856D: not actor 1@ defined +else_jump @BLACKJ_1100 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 0.4 0.0 +02CE: $TEMPVAR_FLOAT_3 = ground_z_at $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +1@ = Actor.Create(Fireman, 26@, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Actor.SetImmunities(1@, 1, 1, 1, 1, 1) +060B: set_actor 1@ decision_maker_to 65542 +$TEMPVAR_ANGLE = Object.Angle(0@) +$TEMPVAR_ANGLE += 180.0 +Actor.Angle(1@) = $TEMPVAR_ANGLE +Model.Destroy(26@) +0A0A: unknown_object 0@ flag 1 + +:BLACKJ_1100 +2@ += 1 +3@ = 0 + +:BLACKJ_1114 +if + 2@ == 1 +else_jump @BLACKJ_2358 +if + not Actor.Dead(1@) +else_jump @BLACKJ_2358 +if + $9470 == 0 +else_jump @BLACKJ_2309 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 0.4 0.0 +if +00FF: actor 1@ sphere 0 in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.4 0.4 2.0 on_foot +else_jump @BLACKJ_2253 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 -1.5 0.0 +if +00FF: actor $PLAYER_ACTOR sphere 0 in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.5 0.5 2.0 on_foot +else_jump @BLACKJ_2197 +if +044B: actor $PLAYER_ACTOR on_foot +else_jump @BLACKJ_2190 +if + 22@ == 0 +else_jump @BLACKJ_2166 +if +00E1: player 0 pressed_key 15 +else_jump @BLACKJ_1913 +$BJACK_PLAYER_CASH = Player.Money($PLAYER_CHAR) +gosub @BLACKJ_33798 +0058: $BJACK_PLAYER_CASH += $MAX_WAGER // (int) +if +001E: $BJACK_PLAYER_CASH > 30@ // (int) +else_jump @BLACKJ_1883 +10@ = 0 +0653: 13@ = float_stat 81 +if + 29@ == 1000000 +else_jump @BLACKJ_1487 +if + 1000.0 > 13@ +else_jump @BLACKJ_1480 +00BC: show_text_highpriority GXT 'GAMBSTA' time 5000 flag 1 +10@ = 1 + +:BLACKJ_1480 +jump @BLACKJ_1692 + +:BLACKJ_1487 +if + 29@ == 100000 +else_jump @BLACKJ_1559 +if + 100.0 > 13@ +else_jump @BLACKJ_1552 +00BC: show_text_highpriority GXT 'GAMBSTA' time 5000 flag 1 +10@ = 1 + +:BLACKJ_1552 +jump @BLACKJ_1692 + +:BLACKJ_1559 +if + 29@ == 10000 +else_jump @BLACKJ_1629 +if + 10.0 > 13@ +else_jump @BLACKJ_1622 +00BC: show_text_highpriority GXT 'GAMBSTA' time 5000 flag 1 +10@ = 1 + +:BLACKJ_1622 +jump @BLACKJ_1692 + +:BLACKJ_1629 +if + 29@ == 1000 +else_jump @BLACKJ_1692 +if + 1.0 > 13@ +else_jump @BLACKJ_1692 +00BC: show_text_highpriority GXT 'GAMBSTA' time 5000 flag 1 +10@ = 1 + +:BLACKJ_1692 +if + 10@ == 0 +else_jump @BLACKJ_1782 +if + 21@ == 1 +else_jump @BLACKJ_1739 +00BE: text_clear_all +03E6: remove_text_box +21@ = 0 + +:BLACKJ_1739 +2@ = 0 +3@ = 0 +008A: $9217 = 0@ // (int) +$9205 = 0 +22@ = 1 +jump @BLACKJ_1876 + +:BLACKJ_1782 +if + not Actor.Dead(1@) +else_jump @BLACKJ_1876 +0209: 10@ = random_int_in_ranges 0 2 +if + 10@ == 0 +else_jump @BLACKJ_1854 +09D6: unknown_set_actor 1@ sound 5850 flags 1 1 0 +0967: actor 1@ move_mouth 2000 ms +jump @BLACKJ_1876 + +:BLACKJ_1854 +09D6: unknown_set_actor 1@ sound 5851 flags 1 1 0 +0967: actor 1@ move_mouth 2000 ms + +:BLACKJ_1876 +jump @BLACKJ_1906 + +:BLACKJ_1883 +00BC: show_text_highpriority GXT 'BJ_2' time 5000 flag 1 +gosub @BLACKJ_18333 + +:BLACKJ_1906 +jump @BLACKJ_2159 + +:BLACKJ_1913 +if + not 21@ == 1 +else_jump @BLACKJ_2159 +if and +8A2A: not text_box 'SGPUNT' displayed +8A2A: not text_box 'SGGAMB' displayed +8A2A: not text_box 'SGPROF' displayed +8A2A: not text_box 'SGHIRO' displayed +else_jump @BLACKJ_2159 +0989: set_text_boxes_width 200 +0871: init_jump_table 29@ total_jumps 5 default_jump 0 @BLACKJ_2152 jumps 100 @BLACKJ_2062 1000 @BLACKJ_2080 10000 @BLACKJ_2098 100000 @BLACKJ_2116 1000000 @BLACKJ_2134 -1 @BLACKJ_2152 -1 @BLACKJ_2152 + +:BLACKJ_2062 +0512: show_permanent_text_box 'BJ_1A' +jump @BLACKJ_2152 + +:BLACKJ_2080 +0512: show_permanent_text_box 'BJ_1B' +jump @BLACKJ_2152 + +:BLACKJ_2098 +0512: show_permanent_text_box 'BJ_1C' +jump @BLACKJ_2152 + +:BLACKJ_2116 +0512: show_permanent_text_box 'BJ_1D' +jump @BLACKJ_2152 + +:BLACKJ_2134 +0512: show_permanent_text_box 'BJ_1E' +jump @BLACKJ_2152 + +:BLACKJ_2152 +21@ = 1 + +:BLACKJ_2159 +jump @BLACKJ_2190 + +:BLACKJ_2166 +if +80E1: not player 0 pressed_key 15 +else_jump @BLACKJ_2190 +22@ = 0 + +:BLACKJ_2190 +jump @BLACKJ_2246 + +:BLACKJ_2197 +if + 21@ == 1 +else_jump @BLACKJ_2246 +03D5: remove_text 'BJ_2' +03D5: remove_text 'GAMBSTA' +03E6: remove_text_box +21@ = 0 + +:BLACKJ_2246 +jump @BLACKJ_2302 + +:BLACKJ_2253 +if + 21@ == 1 +else_jump @BLACKJ_2302 +03D5: remove_text 'BJ_2' +03D5: remove_text 'GAMBSTA' +03E6: remove_text_box +21@ = 0 + +:BLACKJ_2302 +jump @BLACKJ_2358 + +:BLACKJ_2309 +if + 21@ == 1 +else_jump @BLACKJ_2358 +03D5: remove_text 'BJ_2' +03D5: remove_text 'GAMBSTA' +03E6: remove_text_box +21@ = 0 + +:BLACKJ_2358 +jump @BLACKJ_2374 + +:BLACKJ_2365 +gosub @BLACKJ_2517 +end_thread + +:BLACKJ_2374 +jump @BLACKJ_2462 + +:BLACKJ_2381 +if +003C: $9217 == 0@ // (int) +else_jump @BLACKJ_2462 +if + Player.Defined($PLAYER_CHAR) +else_jump @BLACKJ_2462 +if + 5@ == 0 +else_jump @BLACKJ_2448 +gosub @BLACKJ_2571 +jump @BLACKJ_2462 + +:BLACKJ_2448 +gosub @BLACKJ_34597 +$9217 = 0 + +:BLACKJ_2462 +jump @BLACKJ_2478 + +:BLACKJ_2469 +gosub @BLACKJ_2517 +end_thread + +:BLACKJ_2478 +jump @BLACKJ_2494 + +:BLACKJ_2485 +gosub @BLACKJ_2517 +end_thread + +:BLACKJ_2494 +jump @BLACKJ_2510 + +:BLACKJ_2501 +gosub @BLACKJ_2517 +end_thread + +:BLACKJ_2510 +jump @BLACKJ_221 + +:BLACKJ_2517 +if +03CA: object 0@ exists +else_jump @BLACKJ_2540 +0A0A: unknown_object 0@ flag 0 + +:BLACKJ_2540 +Actor.RemoveReferences(1@) +04EF: release_animation "CASINO" +$9207 -= 1 +2@ = 0 +return + +:BLACKJ_2571 +if +0736: is_keyboard_key_just_pressed 32 +else_jump @BLACKJ_2620 +31@ += 1 +if + 31@ > 5 +else_jump @BLACKJ_2618 +31@ = 0 + +:BLACKJ_2618 +086A: NOP + +:BLACKJ_2620 +if + 31@ == 1 +else_jump @BLACKJ_2876 +008A: $9219 = 2@ // (int) +008A: $9220 = 3@ // (int) +008A: $9221 = 4@ // (int) +0084: $9222 = $BJACK_PLAYER_TOTAL1 // (int) +0084: $9223 = $BJACK_PLAYER_TOTAL1_B // (int) +0084: $9224 = $BJACK_PLAYER_TOTAL2 // (int) +0084: $9225 = $BJACK_PLAYER_TOTAL2_B // (int) +0084: $9226 = $BJACK_DEALER_TOTAL // (int) +0084: $9227 = $BJACK_DEALER_TOTAL2 // (int) +065D: NOP $9219 "M_STAGE" +065D: NOP $9220 "M_GOALS" +065D: NOP $9221 "M_GOALS2" +065D: NOP $9222 "PLAYER_TOTAL1" +065D: NOP $9223 "PLAYER_TOTAL1_B" +065D: NOP $9224 "PLAYER_TOTAL2" +065D: NOP $9225 "PLAYER_TOTAL2_B" +065D: NOP $9226 "DEALER_TOTAL" +065D: NOP $9227 "DEALER_TOTAL2" + +:BLACKJ_2876 +if + 31@ == 2 +else_jump @BLACKJ_3186 +0084: $9219 = $BJACK_PLAYER_CANNOT_SPLIT // (int) +0084: $9220 = $BJACK_PLAYER_HAS_SPLIT // (int) +0084: $9221 = $BJACK_PLAYER_CANNOT_DOUBLE // (int) +0084: $9222 = $BJACK_PLAYER_HAS_DOUBLED1 // (int) +0084: $9223 = $BJACK_PLAYER_HAS_DOUBLED2 // (int) +0084: $9224 = $BJACK_PLAYER_HAS_STUCKED1 // (int) +0084: $9225 = $BJACK_PLAYER_HAS_STUCKED2 // (int) +0084: $9226 = $BJACK_PLAYER_HAS_HIT1 // (int) +0084: $9227 = $BJACK_DEALER_HAS_STUCK // (int) +065D: NOP $9219 "PLAYER_CANNOT_SPLIT" +065D: NOP $9220 "PLAYER_HAS_SPLIT" +065D: NOP $9221 "PLAYER_CANNOT_DOUBLE" +065D: NOP $9222 "PLAYER_HAS_DOUBLED1" +065D: NOP $9223 "PLAYER_HAS_DOUBLED2" +065D: NOP $9224 "PLAYER_HAS_STUCK1" +065D: NOP $9225 "PLAYER_HAS_STUCK2" +065D: NOP $9226 "PLAYER_HAS_HIT" +065D: NOP $9227 "DEALER_HAS_STUCK" + +:BLACKJ_3186 +if + 31@ == 3 +else_jump @BLACKJ_3479 +0084: $9219 = $BJACK_PLAYER_HAS_QUIT // (int) +0084: $9220 = $BJACK_PLAYER_HAS_WON1 // (int) +0084: $9221 = $BJACK_PLAYER_HAS_WON2 // (int) +0084: $9222 = $BJACK_PLAYER_HAS_INPUT // (int) +0084: $9223 = $BJACK_DEALER_WINS_BY_DEFAULT // (int) +0084: $9224 = $BJACK_DEALER_GOT_ACE // (int) +0084: $9225 = $BJACK_PLAYER_GOT_ACE1 // (int) +0084: $9226 = $BJACK_PLAYER_GOT_ACE2 // (int) +0084: $9227 = $BJACK_PLAYER_GOT_BJACK // (int) +065D: NOP $9219 "PLAYER_HAS_QUIT" +065D: NOP $9220 "PLAYER_HAS_WON1" +065D: NOP $9221 "PLAYER_HAS_WON2" +065D: NOP $9222 "PLAYER_HAS_INPUT" +065D: NOP $9223 "DEALER_WINS_BY_DEFAULT" +065D: NOP $9224 "DEALER_GOT_ACE" +065D: NOP $9225 "PLAYER_GOT_ACE1" +065D: NOP $9226 "PLAYER_GOT_ACE2" +065D: NOP $9227 "PLAYER_GOT_BJ" + +:BLACKJ_3479 +if + 31@ == 4 +else_jump @BLACKJ_3717 +0084: $9219 = $BJACK_PLAYER_CASH // (int) +008A: $9220 = 30@ // (int) +008A: $9221 = 29@ // (int) +0084: $9222 = $BJACK_LAST_BET // (int) +0084: $9223 = $BJACK_BET1 // (int) +0084: $9224 = $BJACK_BET2 // (int) +0084: $9225 = $BJACK_BET_STEP // (int) +0084: $9226 = $BJACK_HALF_BET // (int) +0084: $9227 = $BJACK_REFUND // (int) +065D: NOP $9219 "BJ_PLAYERS_CASH" +065D: NOP $9220 "MIN_BET" +065D: NOP $9221 "MAX_BET" +065D: NOP $9222 "BJ_LAST_BET" +065D: NOP $9223 "BJ_BET1" +065D: NOP $9224 "BJ_BET2" +065D: NOP $9225 "BJ_BET_STEP" +065D: NOP $9226 "BJ_HALF_BET" +065D: NOP $9227 "BJ_REFUND" + +:BLACKJ_3717 +if + 31@ == 5 +else_jump @BLACKJ_3818 +0084: $9219 = $BJACK_PLAYER_GOT_BJACK // (int) +0084: $9220 = $BJACK_PAYOUT // (int) +0084: $9221 = $BJACK_INITIAL_STAKE // (int) +065D: NOP $9219 "PLAYER_GOT_BJ" +065D: NOP $9220 "BJ_PAYOUT" +065D: NOP $9221 "BJ_INITIAL_STAKE" + +:BLACKJ_3818 +6@ += 1 +if + 6@ > 9 +else_jump @BLACKJ_3850 +6@ = 0 + +:BLACKJ_3850 +01BD: 7@ = current_time_in_ms +0085: 9@ = 7@ // (int) +0062: 9@ -= 8@ // (int) +0085: 8@ = 7@ // (int) +if or +0A2A: text_box 'SGPUNT' displayed +0A2A: text_box 'SGGAMB' displayed +0A2A: text_box 'SGPROF' displayed +0A2A: text_box 'SGHIRO' displayed +else_jump @BLACKJ_4403 +if + not $9206 == 1 +else_jump @BLACKJ_4117 +if + not Actor.Dead(1@) +else_jump @BLACKJ_4103 +0209: 10@ = random_int_in_ranges 0 3 +0871: init_jump_table 10@ total_jumps 3 default_jump 0 @BLACKJ_4103 jumps 0 @BLACKJ_4040 1 @BLACKJ_4061 2 @BLACKJ_4082 -1 @BLACKJ_4103 -1 @BLACKJ_4103 -1 @BLACKJ_4103 -1 @BLACKJ_4103 + +:BLACKJ_4040 +09D6: unknown_set_actor 1@ sound 5820 flags 1 1 0 +jump @BLACKJ_4103 + +:BLACKJ_4061 +09D6: unknown_set_actor 1@ sound 5821 flags 1 1 0 +jump @BLACKJ_4103 + +:BLACKJ_4082 +09D6: unknown_set_actor 1@ sound 5822 flags 1 1 0 +jump @BLACKJ_4103 + +:BLACKJ_4103 +$9206 = 1 +32@ = 0 + +:BLACKJ_4117 +if + 23@ == 0 +else_jump @BLACKJ_4168 +if +00E1: player 0 pressed_key 16 +else_jump @BLACKJ_4161 +03E6: remove_text_box +23@ = 1 + +:BLACKJ_4161 +jump @BLACKJ_4210 + +:BLACKJ_4168 +if +80E1: not player 0 pressed_key 16 +else_jump @BLACKJ_4210 +if + not 23@ == 0 +else_jump @BLACKJ_4210 +23@ = 0 + +:BLACKJ_4210 +if + 25@ == 0 +else_jump @BLACKJ_4261 +if +00E1: player 0 pressed_key 17 +else_jump @BLACKJ_4254 +03E6: remove_text_box +25@ = 1 + +:BLACKJ_4254 +jump @BLACKJ_4303 + +:BLACKJ_4261 +if +80E1: not player 0 pressed_key 17 +else_jump @BLACKJ_4303 +if + not 25@ == 0 +else_jump @BLACKJ_4303 +25@ = 0 + +:BLACKJ_4303 +if + 24@ == 0 +else_jump @BLACKJ_4354 +if +00E1: player 0 pressed_key 14 +else_jump @BLACKJ_4347 +03E6: remove_text_box +24@ = 1 + +:BLACKJ_4347 +jump @BLACKJ_4396 + +:BLACKJ_4354 +if +80E1: not player 0 pressed_key 14 +else_jump @BLACKJ_4396 +if + not 24@ == 0 +else_jump @BLACKJ_4396 +24@ = 0 + +:BLACKJ_4396 +jump @BLACKJ_4428 + +:BLACKJ_4403 +if + not $9206 == 0 +else_jump @BLACKJ_4428 +$9206 = 0 + +:BLACKJ_4428 +0871: init_jump_table 2@ total_jumps 7 default_jump 0 @BLACKJ_4589 jumps 0 @BLACKJ_4491 1 @BLACKJ_4505 2 @BLACKJ_4519 3 @BLACKJ_4533 4 @BLACKJ_4547 5 @BLACKJ_4561 6 @BLACKJ_4575 + +:BLACKJ_4491 +gosub @BLACKJ_5053 +jump @BLACKJ_4589 + +:BLACKJ_4505 +gosub @BLACKJ_7746 +jump @BLACKJ_4589 + +:BLACKJ_4519 +gosub @BLACKJ_9645 +jump @BLACKJ_4589 + +:BLACKJ_4533 +gosub @BLACKJ_10219 +jump @BLACKJ_4589 + +:BLACKJ_4547 +gosub @BLACKJ_10652 +jump @BLACKJ_4589 + +:BLACKJ_4561 +gosub @BLACKJ_15387 +jump @BLACKJ_4589 + +:BLACKJ_4575 +gosub @BLACKJ_15909 +jump @BLACKJ_4589 + +:BLACKJ_4589 +if +0736: is_keyboard_key_just_pressed 85 +else_jump @BLACKJ_4684 +$BJACK_FLAG_CARD_CHEAT += 1 +if + $BJACK_FLAG_CARD_CHEAT > 1 +else_jump @BLACKJ_4664 +$BJACK_FLAG_CARD_CHEAT = 0 +0663: printint "CARD_CHEAT_OFF" $BJACK_FLAG_CARD_CHEAT +jump @BLACKJ_4684 + +:BLACKJ_4664 +0663: printint "CARD_CHEAT_ON" $BJACK_FLAG_CARD_CHEAT + +:BLACKJ_4684 +if + not $BJACK_FLAG_CARD_CHEAT == 0 +else_jump @BLACKJ_4830 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @BLACKJ_4766 +$BJACK_CHEAT_CARD_ID += 1 +if + $BJACK_CHEAT_CARD_ID > 52 +else_jump @BLACKJ_4750 +$BJACK_CHEAT_CARD_ID = 1 + +:BLACKJ_4750 +0663: printint "NEXT_CARD" $BJACK_CHEAT_CARD_ID + +:BLACKJ_4766 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @BLACKJ_4830 +$BJACK_CHEAT_CARD_ID -= 1 +if + 1 > $BJACK_CHEAT_CARD_ID +else_jump @BLACKJ_4814 +$BJACK_CHEAT_CARD_ID = 52 + +:BLACKJ_4814 +0663: printint "NEXT_CARD" $BJACK_CHEAT_CARD_ID + +:BLACKJ_4830 +if + 22@ == 0 +else_jump @BLACKJ_5004 +if and +00E1: player 0 pressed_key 15 + not 2@ == 2 +else_jump @BLACKJ_4997 +if + not Actor.Dead(1@) +else_jump @BLACKJ_4950 +0209: 10@ = random_int_in_ranges 0 2 +if + 10@ == 0 +else_jump @BLACKJ_4936 +09D6: unknown_set_actor 1@ sound 5852 flags 1 1 0 +jump @BLACKJ_4950 + +:BLACKJ_4936 +09D6: unknown_set_actor 1@ sound 5853 flags 1 1 0 + +:BLACKJ_4950 +5@ = 1 +22@ = 1 +if + not $BJACK_REFUND == 0 +else_jump @BLACKJ_4990 +Player.Money($PLAYER_CHAR) += $BJACK_REFUND + +:BLACKJ_4990 +$BJACK_LAST_BET = 0 + +:BLACKJ_4997 +jump @BLACKJ_5028 + +:BLACKJ_5004 +if +80E1: not player 0 pressed_key 15 +else_jump @BLACKJ_5028 +22@ = 0 + +:BLACKJ_5028 +if + Actor.Dead(1@) +else_jump @BLACKJ_5051 +5@ = 1 + +:BLACKJ_5051 +return + +:BLACKJ_5053 +if + 3@ == 0 +else_jump @BLACKJ_5988 +09BD: allow_other_threads_to_display_text_boxes 1 +Player.CanMove($PLAYER_CHAR) = False +$9325 = 0 +$BJACK_CARD_WIDTH = 51.0 +$BJACK_CARD_HEIGHT = 64.0 +$9087[0] = 233.0 +$9095[0] = 381.0 +$9103[0] = 233.0 +$9111[0] = 311.0 +$9119[0] = 233.0 +$9127[0] = 381.0 +$BJACK_X_PLAYER_SPRITE[0] = 226.0 +$BJACK_Y_PLAYER_SPRITE[0] = 60.0 +$BJACK_BORDER_WIDTH = 6.0 +$BJACK_X_SCREENPOS[0] = 29.0 +$BJACK_Y_SCREENPOS[0] = 220.0 +0871: init_jump_table $CURRENT_LANGUAGE total_jumps 1 default_jump 1 @BLACKJ_5309 jumps 3 @BLACKJ_5282 -1 @BLACKJ_5336 -1 @BLACKJ_5336 -1 @BLACKJ_5336 -1 @BLACKJ_5336 -1 @BLACKJ_5336 -1 @BLACKJ_5336 + +:BLACKJ_5282 +$BJACK_X_SCREENPOS[1] = 173.98 +$BJACK_Y_SCREENPOS[1] = 409.0 +jump @BLACKJ_5336 + +:BLACKJ_5309 +$BJACK_X_SCREENPOS[1] = 157.0 +$BJACK_Y_SCREENPOS[1] = 409.0 +jump @BLACKJ_5336 + +:BLACKJ_5336 +$BJACK_X_SCREENPOS[2] = 36.0 +$BJACK_Y_SCREENPOS[2] = 240.0 +$BJACK_X_SCREENPOS[3] = 36.0 +$BJACK_Y_SCREENPOS[3] = 260.0 +$BJACK_X_SCREENPOS[4] = 36.0 +$BJACK_Y_SCREENPOS[4] = 290.0 +$BJACK_X_SCREENPOS[5] = 36.0 +$BJACK_Y_SCREENPOS[5] = 310.0 +$BJACK_X_SCREENPOS[6] = 36.0 +$BJACK_Y_SCREENPOS[6] = 340.0 +$BJACK_X_SCREENPOS[7] = 36.0 +$BJACK_Y_SCREENPOS[7] = 360.0 +$BJACK_X_SCREENPOS[8] = 29.0 +$BJACK_Y_SCREENPOS[8] = 220.0 +0871: init_jump_table $CURRENT_LANGUAGE total_jumps 4 default_jump 1 @BLACKJ_5593 jumps 1 @BLACKJ_5566 2 @BLACKJ_5539 3 @BLACKJ_5539 4 @BLACKJ_5539 -1 @BLACKJ_5620 -1 @BLACKJ_5620 -1 @BLACKJ_5620 + +:BLACKJ_5539 +$BJACK_X_SCREENPOS[9] = 169.0 +$BJACK_Y_SCREENPOS[9] = 409.0 +jump @BLACKJ_5620 + +:BLACKJ_5566 +$BJACK_X_SCREENPOS[9] = 177.0 +$BJACK_Y_SCREENPOS[9] = 409.0 +jump @BLACKJ_5620 + +:BLACKJ_5593 +$BJACK_X_SCREENPOS[9] = 157.0 +$BJACK_Y_SCREENPOS[9] = 409.0 +jump @BLACKJ_5620 + +:BLACKJ_5620 +$BJACK_X_SCREENPOS[10] = 36.0 +$BJACK_Y_SCREENPOS[10] = 240.0 +$BJACK_X_SCREENPOS[11] = 36.0 +$BJACK_Y_SCREENPOS[11] = 260.0 +$BJACK_X_SCREENPOS[12] = 36.0 +$BJACK_Y_SCREENPOS[12] = 290.0 +$BJACK_X_SCREENPOS[13] = 40.0 +$BJACK_Y_SCREENPOS[13] = 310.0 +$BJACK_X_SCREENPOS[14] = 40.0 +$BJACK_Y_SCREENPOS[14] = 310.0 +$BJACK_X_SCREENPOS[15] = 36.0 +$BJACK_Y_SCREENPOS[15] = 340.0 +$BJACK_X_SCREENPOS[16] = 40.0 +$BJACK_Y_SCREENPOS[16] = 360.0 +$BJACK_X_SCREENPOS[17] = 40.0 +$BJACK_Y_SCREENPOS[17] = 360.0 +$BJACK_X_SCREENPOS[18] = 40.0 +$BJACK_Y_SCREENPOS[18] = 360.0 +$BJACK_X_SCREENPOS[19] = 40.0 +$BJACK_Y_SCREENPOS[19] = 360.0 +$BJACK_X_SCREENPOS[20] = 40.0 +$BJACK_Y_SCREENPOS[20] = 382.0 +$BJACK_X_SCREENPOS[21] = 40.0 +$BJACK_Y_SCREENPOS[21] = 382.0 +$BJACK_X_SCREENPOS[22] = 209.0 +$BJACK_Y_SCREENPOS[22] = 293.0 +$BJACK_X_SCREENPOS[23] = 209.0 +$BJACK_Y_SCREENPOS[23] = 361.0 +$BJACK_X_SCREENPOS[24] = 1.0 +$BJACK_Y_SCREENPOS[24] = 4.0 +$BJACK_X_SCREENPOS[25] = 320.0 +$BJACK_Y_SCREENPOS[25] = 197.0 +$BJACK_X_SCREENPOS[26] = 320.0 +$BJACK_Y_SCREENPOS[26] = 233.0 +gosub @BLACKJ_32419 +Model.Load(#BLCK_JACK) +04ED: load_animation "CASINO" +3@ += 1 + +:BLACKJ_5988 +if + 3@ == 1 +else_jump @BLACKJ_6038 +if and + Model.Available(#BLCK_JACK) +04EE: animation "CASINO" loaded +else_jump @BLACKJ_6038 +3@ += 1 + +:BLACKJ_6038 +if + 3@ == 2 +else_jump @BLACKJ_7582 +03F0: enable_text_draw 1 +0390: load_txd_dictionary 'LD_CARD' +038F: load_texture "CD1C" as 1 // Load dictionary with 0390 first +038F: load_texture "CD2C" as 2 // Load dictionary with 0390 first +038F: load_texture "CD3C" as 3 // Load dictionary with 0390 first +038F: load_texture "CD4C" as 4 // Load dictionary with 0390 first +038F: load_texture "CD5C" as 5 // Load dictionary with 0390 first +038F: load_texture "CD6C" as 6 // Load dictionary with 0390 first +038F: load_texture "CD7C" as 7 // Load dictionary with 0390 first +038F: load_texture "CD8C" as 8 // Load dictionary with 0390 first +038F: load_texture "CD9C" as 9 // Load dictionary with 0390 first +038F: load_texture "CD10C" as 10 // Load dictionary with 0390 first +038F: load_texture "CD11C" as 11 // Load dictionary with 0390 first +038F: load_texture "CD12C" as 12 // Load dictionary with 0390 first +038F: load_texture "CD13C" as 13 // Load dictionary with 0390 first +038F: load_texture "CD1D" as 14 // Load dictionary with 0390 first +038F: load_texture "CD2D" as 15 // Load dictionary with 0390 first +038F: load_texture "CD3D" as 16 // Load dictionary with 0390 first +038F: load_texture "CD4D" as 17 // Load dictionary with 0390 first +038F: load_texture "CD5D" as 18 // Load dictionary with 0390 first +038F: load_texture "CD6D" as 19 // Load dictionary with 0390 first +038F: load_texture "CD7D" as 20 // Load dictionary with 0390 first +038F: load_texture "CD8D" as 21 // Load dictionary with 0390 first +038F: load_texture "CD9D" as 22 // Load dictionary with 0390 first +038F: load_texture "CD10D" as 23 // Load dictionary with 0390 first +038F: load_texture "CD11D" as 24 // Load dictionary with 0390 first +038F: load_texture "CD12D" as 25 // Load dictionary with 0390 first +038F: load_texture "CD13D" as 26 // Load dictionary with 0390 first +038F: load_texture "CD1S" as 27 // Load dictionary with 0390 first +038F: load_texture "CD2S" as 28 // Load dictionary with 0390 first +038F: load_texture "CD3S" as 29 // Load dictionary with 0390 first +038F: load_texture "CD4S" as 30 // Load dictionary with 0390 first +038F: load_texture "CD5S" as 31 // Load dictionary with 0390 first +038F: load_texture "CD6S" as 32 // Load dictionary with 0390 first +038F: load_texture "CD7S" as 33 // Load dictionary with 0390 first +038F: load_texture "CD8S" as 34 // Load dictionary with 0390 first +038F: load_texture "CD9S" as 35 // Load dictionary with 0390 first +038F: load_texture "CD10S" as 36 // Load dictionary with 0390 first +038F: load_texture "CD11S" as 37 // Load dictionary with 0390 first +038F: load_texture "CD12S" as 38 // Load dictionary with 0390 first +038F: load_texture "CD13S" as 39 // Load dictionary with 0390 first +038F: load_texture "CD1H" as 40 // Load dictionary with 0390 first +038F: load_texture "CD2H" as 41 // Load dictionary with 0390 first +038F: load_texture "CD3H" as 42 // Load dictionary with 0390 first +038F: load_texture "CD4H" as 43 // Load dictionary with 0390 first +038F: load_texture "CD5H" as 44 // Load dictionary with 0390 first +038F: load_texture "CD6H" as 45 // Load dictionary with 0390 first +038F: load_texture "CD7H" as 46 // Load dictionary with 0390 first +038F: load_texture "CD8H" as 47 // Load dictionary with 0390 first +038F: load_texture "CD9H" as 48 // Load dictionary with 0390 first +038F: load_texture "CD10H" as 49 // Load dictionary with 0390 first +038F: load_texture "CD11H" as 50 // Load dictionary with 0390 first +038F: load_texture "CD12H" as 51 // Load dictionary with 0390 first +038F: load_texture "CD13H" as 52 // Load dictionary with 0390 first +038F: load_texture "CDBACK" as 53 // Load dictionary with 0390 first +059D: shuffle_card_decks 6 +0581: enable_radar 0 +03AD: NOP 0 // set_rubbish +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 0.4 0.0 +$TEMPVAR_ANGLE = Object.Angle(0@) +$TEMPVAR_ANGLE += 180.0 +02CE: $TEMPVAR_FLOAT_3 = ground_z_at $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +$TEMPVAR_FLOAT_3 += -0.4 +if + not Actor.Dead(1@) +else_jump @BLACKJ_6745 +0792: disembark_instantly_actor 1@ +Actor.PutAt(1@, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Actor.Angle(1@) = $TEMPVAR_ANGLE + +:BLACKJ_6745 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.319 -1.633 0.141 +02CE: $TEMPVAR_FLOAT_3 = ground_z_at $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +$TEMPVAR_FLOAT_3 += -0.4 +Actor.PutAt($PLAYER_ACTOR, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +if + not Actor.Dead(1@) +else_jump @BLACKJ_6836 +0639: AS_actor $PLAYER_ACTOR rotate_to_actor 1@ + +:BLACKJ_6836 +if +03CA: object 0@ exists +else_jump @BLACKJ_6949 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset -0.438 -2.243 1.16 +Camera.SetPosition($TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3, 0.0, 0.0, 0.0) +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset -0.282 -1.326 0.794 +Camera.PointAt($TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3, 2) + +:BLACKJ_6949 +if +03CA: object 0@ exists +else_jump @BLACKJ_7575 +$9216 = -0.14 +$BJACK_X_CHIP_OFFSET[0] = 0.0 +$BJACK_Y_CHIP_OFFSET[0] = -0.885 +0086: $BJACK_Z_CHIP_OFFSET[0] = $9216 // (float) +$BJACK_X_CHIP_OFFSET[1] = 0.045 +$BJACK_Y_CHIP_OFFSET[1] = -0.935 +0086: $BJACK_Z_CHIP_OFFSET[1] = $9216 // (float) +$BJACK_X_CHIP_OFFSET[2] = -0.05 +$BJACK_Y_CHIP_OFFSET[2] = -0.93 +0086: $BJACK_Z_CHIP_OFFSET[2] = $9216 // (float) +$BJACK_X_CHIP_OFFSET[3] = -0.01 +$BJACK_Y_CHIP_OFFSET[3] = -0.98 +0086: $BJACK_Z_CHIP_OFFSET[3] = $9216 // (float) +$BJACK_X_CHIP_OFFSET[4] = 0.06 +$BJACK_Y_CHIP_OFFSET[4] = -0.995 +0086: $BJACK_Z_CHIP_OFFSET[4] = $9216 // (float) +$BJACK_X_CHIP_OFFSET[5] = 0.02 +$BJACK_Y_CHIP_OFFSET[5] = -1.075 +0086: $BJACK_Z_CHIP_OFFSET[5] = $9216 // (float) +$BJACK_X_CHIP_OFFSET[6] = -0.07 +$BJACK_Y_CHIP_OFFSET[6] = -1.03 +0086: $BJACK_Z_CHIP_OFFSET[6] = $9216 // (float) +$BJACK_X_CHIP_OFFSET[7] = 0.065 +$BJACK_Y_CHIP_OFFSET[7] = -1.05 +0086: $BJACK_Z_CHIP_OFFSET[7] = $9216 // (float) +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset $BJACK_X_CHIP_OFFSET[0] $BJACK_Y_CHIP_OFFSET[0] $9216 +$9208[0] = Object.Init(#CHIP_STACK07, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($9208[0]) = $TEMPVAR_ANGLE +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset $BJACK_X_CHIP_OFFSET[1] $BJACK_Y_CHIP_OFFSET[1] $9216 +$9208[1] = Object.Init(#CHIP_STACK08, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($9208[1]) = $TEMPVAR_ANGLE +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset $BJACK_X_CHIP_OFFSET[2] $BJACK_Y_CHIP_OFFSET[2] $9216 +$9208[2] = Object.Init(#CHIP_STACK09, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($9208[2]) = $TEMPVAR_ANGLE +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset $BJACK_X_CHIP_OFFSET[3] $BJACK_Y_CHIP_OFFSET[3] $9216 +$9208[3] = Object.Init(#CHIP_STACK10, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($9208[3]) = $TEMPVAR_ANGLE +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset $BJACK_X_CHIP_OFFSET[4] $BJACK_Y_CHIP_OFFSET[4] $9216 +$9208[4] = Object.Init(#CHIP_STACK11, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($9208[4]) = $TEMPVAR_ANGLE +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset $BJACK_X_CHIP_OFFSET[5] $BJACK_Y_CHIP_OFFSET[5] $9216 +$9208[5] = Object.Init(#CHIP_STACK12, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($9208[5]) = $TEMPVAR_ANGLE +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset $BJACK_X_CHIP_OFFSET[6] $BJACK_Y_CHIP_OFFSET[6] $9216 +$9208[6] = Object.Init(#CHIP_STACK13, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($9208[6]) = $TEMPVAR_ANGLE +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset $BJACK_X_CHIP_OFFSET[7] $BJACK_Y_CHIP_OFFSET[7] $9216 +$9208[7] = Object.Init(#CHIP_STACK14, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($9208[7]) = $TEMPVAR_ANGLE + +:BLACKJ_7575 +3@ = 99 + +:BLACKJ_7582 +if + 3@ == 99 +else_jump @BLACKJ_7744 +if + not Actor.Dead(1@) +else_jump @BLACKJ_7730 +0209: 10@ = random_int_in_ranges 0 2 +0871: init_jump_table 10@ total_jumps 2 default_jump 0 @BLACKJ_7730 jumps 0 @BLACKJ_7688 1 @BLACKJ_7709 -1 @BLACKJ_7730 -1 @BLACKJ_7730 -1 @BLACKJ_7730 -1 @BLACKJ_7730 -1 @BLACKJ_7730 + +:BLACKJ_7688 +09D6: unknown_set_actor 1@ sound 5809 flags 1 1 0 +jump @BLACKJ_7730 + +:BLACKJ_7709 +09D6: unknown_set_actor 1@ sound 5810 flags 1 1 0 +jump @BLACKJ_7730 + +:BLACKJ_7730 +2@ += 1 +3@ = 0 + +:BLACKJ_7744 +return + +:BLACKJ_7746 +if + 3@ == 0 +else_jump @BLACKJ_8353 +$BJACK_CARD_ID = 0 +10@ = 0 + +:BLACKJ_7778 +if + 8 > 10@ +else_jump @BLACKJ_7843 +$9141(10@,8i) = 0 +$9149(10@,8i) = 0 +$9157(10@,8i) = 0 +10@ += 1 +jump @BLACKJ_7778 + +:BLACKJ_7843 +$BJACK_PLAYER_CANNOT_SPLIT = 0 +$BJACK_PLAYER_HAS_SPLIT = 0 +$BJACK_PLAYER_CANNOT_DOUBLE = 0 +$BJACK_PLAYER_HAS_DOUBLED1 = 0 +$BJACK_PLAYER_HAS_DOUBLED2 = 0 +$BJACK_PLAYER_HAS_STUCKED1 = 0 +$BJACK_PLAYER_HAS_STUCKED2 = 0 +$BJACK_PLAYER_HAS_HIT1 = 0 +$BJACK_DEALER_HAS_STUCK = 0 +$BJACK_PLAYER_HAS_QUIT = 0 +$BJACK_PLAYER_HAS_WON1 = 0 +$BJACK_PLAYER_HAS_WON2 = 0 +$BJACK_PLAYER_HAS_INPUT = 0 +$BJACK_DEALER_WINS_BY_DEFAULT = 0 +$BJACK_PLAYER_TOTAL1 = 0 +$BJACK_PLAYER_TOTAL1_B = 0 +$BJACK_PLAYER_TOTAL2 = 0 +$BJACK_PLAYER_TOTAL2_B = 0 +$BJACK_DEALER_TOTAL = 0 +$BJACK_DEALER_TOTAL2 = 0 +$BJACK_DEALER_GOT_ACE = 0 +$BJACK_PLAYER_GOT_ACE1 = 0 +$BJACK_PLAYER_GOT_ACE2 = 0 +$BJACK_REFUND = 0 +if +001F: 30@ > $9205 // (int) +else_jump @BLACKJ_8038 +008A: $9205 = 30@ // (int) + +:BLACKJ_8038 +0084: $BJACK_BET1 = $9205 // (int) +$BJACK_BET2 = 0 +$BJACK_PLAYER_CASH = Player.Money($PLAYER_CHAR) +gosub @BLACKJ_33798 +0058: $BJACK_PLAYER_CASH += $MAX_WAGER // (int) +if +001C: $BJACK_BET1 > $BJACK_PLAYER_CASH // (int) +else_jump @BLACKJ_8103 +008A: $BJACK_BET1 = 30@ // (int) + +:BLACKJ_8103 +if +001C: $BJACK_BET1 > $BJACK_PLAYER_CASH // (int) +else_jump @BLACKJ_8166 +00BC: show_text_highpriority GXT 'BJ_2' time 5000 flag 1 +gosub @BLACKJ_18333 +5@ = 1 +jump @BLACKJ_9643 +jump @BLACKJ_8335 + +:BLACKJ_8166 +008B: 10@ = $BJACK_BET1 // (int) +10@ *= -1 +Player.Money($PLAYER_CHAR) += 10@ +0084: $BJACK_REFUND = $BJACK_BET1 // (int) +0084: $BJACK_INITIAL_STAKE = $BJACK_BET1 // (int) +if + not Actor.Dead(1@) +else_jump @BLACKJ_8335 +0209: 10@ = random_int_in_ranges 0 2 +0871: init_jump_table 10@ total_jumps 2 default_jump 0 @BLACKJ_8335 jumps 0 @BLACKJ_8293 1 @BLACKJ_8314 -1 @BLACKJ_8335 -1 @BLACKJ_8335 -1 @BLACKJ_8335 -1 @BLACKJ_8335 -1 @BLACKJ_8335 + +:BLACKJ_8293 +09D6: unknown_set_actor 1@ sound 5809 flags 1 1 0 +jump @BLACKJ_8335 + +:BLACKJ_8314 +09D6: unknown_set_actor 1@ sound 5810 flags 1 1 0 +jump @BLACKJ_8335 + +:BLACKJ_8335 +end_thread_named 'CASHWIN' +3@ += 1 + +:BLACKJ_8353 +if + 3@ == 1 +else_jump @BLACKJ_9572 +if +876F: not text_priority_displayed +else_jump @BLACKJ_9497 +if and +8A2A: not text_box 'SGPUNT' displayed +8A2A: not text_box 'SGGAMB' displayed +8A2A: not text_box 'SGPROF' displayed +8A2A: not text_box 'SGHIRO' displayed +else_jump @BLACKJ_8468 +if +88FE: not text_box_displayed +else_jump @BLACKJ_8468 +0989: set_text_boxes_width 200 +0512: show_permanent_text_box 'BJ_H1' + +:BLACKJ_8468 +$BJACK_PLAYER_CASH = Player.Money($PLAYER_CHAR) +gosub @BLACKJ_33798 +0058: $BJACK_PLAYER_CASH += $MAX_WAGER // (int) +if +00E1: player 0 pressed_key 14 +else_jump @BLACKJ_8917 +if and + not 24@ == 1 + not 24@ == -1 +else_jump @BLACKJ_8866 +if + $BJACK_BET1 >= 10000 +else_jump @BLACKJ_8567 +$BJACK_BET_STEP = 1000 +jump @BLACKJ_8671 + +:BLACKJ_8567 +if + $BJACK_BET1 >= 1000 +else_jump @BLACKJ_8600 +$BJACK_BET_STEP = 100 +jump @BLACKJ_8671 + +:BLACKJ_8600 +if + $BJACK_BET1 >= 100 +else_jump @BLACKJ_8632 +$BJACK_BET_STEP = 10 +jump @BLACKJ_8671 + +:BLACKJ_8632 +if + $BJACK_BET1 == 0 +else_jump @BLACKJ_8664 +$BJACK_BET_STEP = 2 +jump @BLACKJ_8671 + +:BLACKJ_8664 +$BJACK_BET_STEP = 1 + +:BLACKJ_8671 +if +001C: $BJACK_BET_STEP > $BJACK_PLAYER_CASH // (int) +else_jump @BLACKJ_8698 +0084: $BJACK_BET_STEP = $BJACK_PLAYER_CASH // (int) + +:BLACKJ_8698 +008B: 10@ = $BJACK_BET1 // (int) +005C: 10@ += $BJACK_BET_STEP // (int) +if +001D: 10@ > 29@ // (int) +else_jump @BLACKJ_8749 +008A: $BJACK_BET_STEP = 29@ // (int) +0060: $BJACK_BET_STEP -= $BJACK_BET1 // (int) + +:BLACKJ_8749 +if + 0 > $BJACK_BET_STEP +else_jump @BLACKJ_8774 +$BJACK_BET_STEP *= -1 + +:BLACKJ_8774 +0058: $BJACK_BET1 += $BJACK_BET_STEP // (int) +0058: $BJACK_REFUND += $BJACK_BET_STEP // (int) +0058: $BJACK_INITIAL_STAKE += $BJACK_BET_STEP // (int) +$BJACK_BET_STEP *= -1 +Player.Money($PLAYER_CHAR) += $BJACK_BET_STEP +24@ += 1 +if + 24@ > 1 +else_jump @BLACKJ_8852 +24@ = 2 +jump @BLACKJ_8859 + +:BLACKJ_8852 +32@ = 0 + +:BLACKJ_8859 +jump @BLACKJ_8910 + +:BLACKJ_8866 +if + 24@ == 1 +else_jump @BLACKJ_8910 +if + 32@ > 500 +else_jump @BLACKJ_8910 +24@ = 2 + +:BLACKJ_8910 +jump @BLACKJ_9316 + +:BLACKJ_8917 +if + not 25@ == 0 +else_jump @BLACKJ_8942 +25@ = 0 + +:BLACKJ_8942 +if +00E1: player 0 pressed_key 17 +else_jump @BLACKJ_9291 +if + not 25@ == 1 +else_jump @BLACKJ_9258 +if + $BJACK_BET1 > 10000 +else_jump @BLACKJ_9011 +$BJACK_BET_STEP = -1000 +jump @BLACKJ_9083 + +:BLACKJ_9011 +if + $BJACK_BET1 > 1000 +else_jump @BLACKJ_9044 +$BJACK_BET_STEP = -100 +jump @BLACKJ_9083 + +:BLACKJ_9044 +if + $BJACK_BET1 > 100 +else_jump @BLACKJ_9076 +$BJACK_BET_STEP = -10 +jump @BLACKJ_9083 + +:BLACKJ_9076 +$BJACK_BET_STEP = -1 + +:BLACKJ_9083 +008B: 10@ = $BJACK_BET1 // (int) +0058: $BJACK_BET1 += $BJACK_BET_STEP // (int) +if +001F: 30@ > $BJACK_BET1 // (int) +else_jump @BLACKJ_9140 +$BJACK_BET1 = 0 +008A: $BJACK_BET_STEP = 10@ // (int) +$BJACK_BET_STEP *= -1 + +:BLACKJ_9140 +if +001F: 30@ > $BJACK_BET1 // (int) +else_jump @BLACKJ_9174 +008A: $BJACK_BET1 = 30@ // (int) +jump @BLACKJ_9205 + +:BLACKJ_9174 +$BJACK_BET_STEP *= -1 +0060: $BJACK_REFUND -= $BJACK_BET_STEP // (int) +0060: $BJACK_INITIAL_STAKE -= $BJACK_BET_STEP // (int) +Player.Money($PLAYER_CHAR) += $BJACK_BET_STEP + +:BLACKJ_9205 +25@ += 1 +if + 25@ > 1 +else_jump @BLACKJ_9244 +25@ = 2 +jump @BLACKJ_9251 + +:BLACKJ_9244 +32@ = 0 + +:BLACKJ_9251 +jump @BLACKJ_9284 + +:BLACKJ_9258 +if + 32@ > 500 +else_jump @BLACKJ_9284 +25@ = 2 + +:BLACKJ_9284 +jump @BLACKJ_9316 + +:BLACKJ_9291 +if + not 25@ == 0 +else_jump @BLACKJ_9316 +25@ = 0 + +:BLACKJ_9316 +if + 23@ == 0 +else_jump @BLACKJ_9434 +if +00E1: player 0 pressed_key 16 +else_jump @BLACKJ_9427 +0084: $9205 = $BJACK_BET1 // (int) +0623: add $BJACK_BET1 to_integer_stat 35 +008F: 13@ = integer $BJACK_BET1 to_float +13@ *= 0.001 +0624: add 13@ to_float_stat 81 +$BJACK_REFUND = 0 +0084: $BJACK_LAST_BET = $BJACK_BET1 // (int) +gosub @BLACKJ_24887 +23@ = 1 +3@ = 99 + +:BLACKJ_9427 +jump @BLACKJ_9458 + +:BLACKJ_9434 +if +80E1: not player 0 pressed_key 16 +else_jump @BLACKJ_9458 +23@ = 0 + +:BLACKJ_9458 +gosub @BLACKJ_23234 +if + not 3@ == 99 +else_jump @BLACKJ_9490 +3@ += 1 + +:BLACKJ_9490 +jump @BLACKJ_9572 + +:BLACKJ_9497 +if + 23@ == 0 +else_jump @BLACKJ_9548 +if +00E1: player 0 pressed_key 16 +else_jump @BLACKJ_9541 +23@ = 1 +00BE: text_clear_all + +:BLACKJ_9541 +jump @BLACKJ_9572 + +:BLACKJ_9548 +if +80E1: not player 0 pressed_key 16 +else_jump @BLACKJ_9572 +23@ = 0 + +:BLACKJ_9572 +if + 3@ == 2 +else_jump @BLACKJ_9604 +gosub @BLACKJ_24887 +3@ = 1 + +:BLACKJ_9604 +if + 3@ == 99 +else_jump @BLACKJ_9643 +gosub @BLACKJ_10593 +3@ = 0 +2@ += 1 + +:BLACKJ_9643 +return + +:BLACKJ_9645 +if + 3@ == 0 +else_jump @BLACKJ_9703 +gosub @BLACKJ_29794 +if + not $BJACK_CARD_ID == 0 +else_jump @BLACKJ_9696 +0084: $9149[0] = $BJACK_CARD_ID // (int) + +:BLACKJ_9696 +3@ += 1 + +:BLACKJ_9703 +if + 3@ == 1 +else_jump @BLACKJ_9773 +if + not Actor.Dead(1@) +else_jump @BLACKJ_9773 +062E: get_actor 1@ task 1541 status_store_to 10@ // ret 7 if not found +if +04A4: 10@ == 7 // == constant +else_jump @BLACKJ_9773 +3@ += 1 + +:BLACKJ_9773 +if + 3@ == 2 +else_jump @BLACKJ_9831 +gosub @BLACKJ_29794 +if + not $BJACK_CARD_ID == 0 +else_jump @BLACKJ_9824 +0084: $9141[0] = $BJACK_CARD_ID // (int) + +:BLACKJ_9824 +3@ += 1 + +:BLACKJ_9831 +if + 3@ == 3 +else_jump @BLACKJ_9901 +if + not Actor.Dead(1@) +else_jump @BLACKJ_9901 +062E: get_actor 1@ task 1541 status_store_to 10@ // ret 7 if not found +if +04A4: 10@ == 7 // == constant +else_jump @BLACKJ_9901 +3@ += 1 + +:BLACKJ_9901 +if + 3@ == 4 +else_jump @BLACKJ_9959 +gosub @BLACKJ_29794 +if + not $BJACK_CARD_ID == 0 +else_jump @BLACKJ_9952 +0084: $9149[1] = $BJACK_CARD_ID // (int) + +:BLACKJ_9952 +3@ += 1 + +:BLACKJ_9959 +if + 3@ == 5 +else_jump @BLACKJ_10029 +if + not Actor.Dead(1@) +else_jump @BLACKJ_10029 +062E: get_actor 1@ task 1541 status_store_to 10@ // ret 7 if not found +if +04A4: 10@ == 7 // == constant +else_jump @BLACKJ_10029 +3@ += 1 + +:BLACKJ_10029 +if + 3@ == 6 +else_jump @BLACKJ_10087 +gosub @BLACKJ_29794 +if + not $BJACK_CARD_ID == 0 +else_jump @BLACKJ_10080 +0084: $9141[1] = $BJACK_CARD_ID // (int) + +:BLACKJ_10080 +3@ += 1 + +:BLACKJ_10087 +if + 3@ == 7 +else_jump @BLACKJ_10157 +if + not Actor.Dead(1@) +else_jump @BLACKJ_10157 +062E: get_actor 1@ task 1541 status_store_to 10@ // ret 7 if not found +if +04A4: 10@ == 7 // == constant +else_jump @BLACKJ_10157 +3@ = 99 + +:BLACKJ_10157 +if + 3@ == 99 +else_jump @BLACKJ_10196 +21@ = 0 +3@ = 0 +2@ += 1 + +:BLACKJ_10196 +gosub @BLACKJ_31250 +gosub @BLACKJ_29895 +gosub @BLACKJ_25173 +return + +:BLACKJ_10219 +gosub @BLACKJ_10593 +if + 3@ == 0 +else_jump @BLACKJ_10382 +gosub @BLACKJ_31250 +$BJACK_PLAYER_GOT_BJACK = 0 +$9189 = 0 +if or + $BJACK_PLAYER_TOTAL1 == 21 + $BJACK_DEALER_TOTAL == 21 +else_jump @BLACKJ_10375 +if + $BJACK_PLAYER_TOTAL1 == 21 +else_jump @BLACKJ_10315 +$BJACK_PLAYER_GOT_BJACK = 1 + +:BLACKJ_10315 +if + $BJACK_DEALER_TOTAL == 21 +else_jump @BLACKJ_10340 +$9189 = 1 + +:BLACKJ_10340 +$BJACK_PLAYER_HAS_STUCKED1 = 1 +$BJACK_DEALER_HAS_STUCK = 1 +2@ += 2 +3@ = 0 +jump @BLACKJ_10382 + +:BLACKJ_10375 +3@ = 99 + +:BLACKJ_10382 +if + 3@ == 99 +else_jump @BLACKJ_10428 +3@ = 0 +4@ = 0 +21@ = 0 +2@ += 1 + +:BLACKJ_10428 +gosub @BLACKJ_31250 +gosub @BLACKJ_29895 +gosub @BLACKJ_25173 +if + $BJACK_PLAYER_GOT_BJACK == 0 +else_jump @BLACKJ_10481 +gosub @BLACKJ_18486 +jump @BLACKJ_10591 + +:BLACKJ_10481 +if + not $BJACK_DEALER_TOTAL == 21 +else_jump @BLACKJ_10584 +if + not Actor.Dead(1@) +else_jump @BLACKJ_10577 +0209: 10@ = random_int_in_ranges 0 2 +if + 10@ == 0 +else_jump @BLACKJ_10563 +09D6: unknown_set_actor 1@ sound 5811 flags 1 1 0 +jump @BLACKJ_10577 + +:BLACKJ_10563 +09D6: unknown_set_actor 1@ sound 5812 flags 1 1 0 + +:BLACKJ_10577 +jump @BLACKJ_10591 + +:BLACKJ_10584 +gosub @BLACKJ_18486 + +:BLACKJ_10591 +return + +:BLACKJ_10593 +if and +8A2A: not text_box 'SGPUNT' displayed +8A2A: not text_box 'SGGAMB' displayed +8A2A: not text_box 'SGPROF' displayed +8A2A: not text_box 'SGHIRO' displayed +else_jump @BLACKJ_10650 +03E6: remove_text_box + +:BLACKJ_10650 +return + +:BLACKJ_10652 +if + 3@ == 0 +else_jump @BLACKJ_12265 +if + $BJACK_PLAYER_CANNOT_SPLIT == 0 +else_jump @BLACKJ_10838 +0084: $9314 = $9149[0] // (int) +gosub @BLACKJ_32271 +008B: 10@ = $9315 // (int) +0084: $9314 = $9149[1] // (int) +gosub @BLACKJ_32271 +008B: 11@ = $9315 // (int) +if +003B: 10@ == 11@ // (int) +else_jump @BLACKJ_10792 +if + not $9149[2] == 0 +else_jump @BLACKJ_10785 +gosub @BLACKJ_10593 +$BJACK_PLAYER_CANNOT_SPLIT = 1 + +:BLACKJ_10785 +jump @BLACKJ_10806 + +:BLACKJ_10792 +gosub @BLACKJ_10593 +$BJACK_PLAYER_CANNOT_SPLIT = 1 + +:BLACKJ_10806 +if + not $BJACK_PLAYER_HAS_SPLIT == 0 +else_jump @BLACKJ_10838 +gosub @BLACKJ_10593 +$BJACK_PLAYER_CANNOT_SPLIT = 1 + +:BLACKJ_10838 +if + $BJACK_PLAYER_CANNOT_DOUBLE == 0 +else_jump @BLACKJ_11170 +if + $BJACK_PLAYER_HAS_SPLIT == 0 +else_jump @BLACKJ_10969 +if + not $9149[2] == 0 +else_jump @BLACKJ_10906 +gosub @BLACKJ_10593 +$BJACK_PLAYER_CANNOT_DOUBLE = 1 + +:BLACKJ_10906 +$BJACK_PLAYER_CASH = Player.Money($PLAYER_CHAR) +gosub @BLACKJ_33798 +0058: $BJACK_PLAYER_CASH += $MAX_WAGER // (int) +if +001C: $BJACK_BET1 > $BJACK_PLAYER_CASH // (int) +else_jump @BLACKJ_10962 +gosub @BLACKJ_10593 +$BJACK_PLAYER_CANNOT_DOUBLE = 1 + +:BLACKJ_10962 +jump @BLACKJ_11170 + +:BLACKJ_10969 +if + $BJACK_PLAYER_HAS_STUCKED1 == 0 +else_jump @BLACKJ_11082 +if + not $9149[2] == 0 +else_jump @BLACKJ_11019 +gosub @BLACKJ_10593 +$BJACK_PLAYER_CANNOT_DOUBLE = 1 + +:BLACKJ_11019 +$BJACK_PLAYER_CASH = Player.Money($PLAYER_CHAR) +gosub @BLACKJ_33798 +0058: $BJACK_PLAYER_CASH += $MAX_WAGER // (int) +if +001C: $BJACK_BET1 > $BJACK_PLAYER_CASH // (int) +else_jump @BLACKJ_11075 +gosub @BLACKJ_10593 +$BJACK_PLAYER_CANNOT_DOUBLE = 1 + +:BLACKJ_11075 +jump @BLACKJ_11170 + +:BLACKJ_11082 +if + not $9157[2] == 0 +else_jump @BLACKJ_11114 +gosub @BLACKJ_10593 +$BJACK_PLAYER_CANNOT_DOUBLE = 1 + +:BLACKJ_11114 +$BJACK_PLAYER_CASH = Player.Money($PLAYER_CHAR) +gosub @BLACKJ_33798 +0058: $BJACK_PLAYER_CASH += $MAX_WAGER // (int) +if +001C: $BJACK_BET2 > $BJACK_PLAYER_CASH // (int) +else_jump @BLACKJ_11170 +gosub @BLACKJ_10593 +$BJACK_PLAYER_CANNOT_DOUBLE = 1 + +:BLACKJ_11170 +if and +8A2A: not text_box 'SGPUNT' displayed +8A2A: not text_box 'SGGAMB' displayed +8A2A: not text_box 'SGPROF' displayed +8A2A: not text_box 'SGHIRO' displayed +else_jump @BLACKJ_11774 +if and + $BJACK_PLAYER_CANNOT_SPLIT == 0 + $BJACK_PLAYER_CANNOT_DOUBLE == 0 +else_jump @BLACKJ_11286 +if +88FE: not text_box_displayed +else_jump @BLACKJ_11279 +0989: set_text_boxes_width 128 +0512: show_permanent_text_box 'BJ_H3' + +:BLACKJ_11279 +21@ = 1 + +:BLACKJ_11286 +if and + $BJACK_PLAYER_CANNOT_SPLIT == 1 + $BJACK_PLAYER_CANNOT_DOUBLE == 0 +else_jump @BLACKJ_11347 +if +88FE: not text_box_displayed +else_jump @BLACKJ_11340 +0989: set_text_boxes_width 128 +0512: show_permanent_text_box 'BJ_H2' + +:BLACKJ_11340 +21@ = 2 + +:BLACKJ_11347 +if and + $BJACK_PLAYER_CANNOT_SPLIT == 1 + $BJACK_PLAYER_CANNOT_DOUBLE == 1 +else_jump @BLACKJ_11408 +if +88FE: not text_box_displayed +else_jump @BLACKJ_11401 +0989: set_text_boxes_width 128 +0512: show_permanent_text_box 'BJ_H5' + +:BLACKJ_11401 +21@ = 3 + +:BLACKJ_11408 +if and + $BJACK_PLAYER_CANNOT_SPLIT == 1 + $BJACK_PLAYER_CANNOT_DOUBLE == 0 +else_jump @BLACKJ_11469 +if +88FE: not text_box_displayed +else_jump @BLACKJ_11462 +0989: set_text_boxes_width 128 +0512: show_permanent_text_box 'BJ_H2' + +:BLACKJ_11462 +21@ = 2 + +:BLACKJ_11469 +if and + $BJACK_PLAYER_CANNOT_SPLIT == 1 + $BJACK_PLAYER_CANNOT_DOUBLE == 1 +else_jump @BLACKJ_11530 +if +88FE: not text_box_displayed +else_jump @BLACKJ_11523 +0989: set_text_boxes_width 128 +0512: show_permanent_text_box 'BJ_H5' + +:BLACKJ_11523 +21@ = 3 + +:BLACKJ_11530 +if and + $BJACK_PLAYER_CANNOT_SPLIT == 0 + $BJACK_PLAYER_CANNOT_DOUBLE == 0 +else_jump @BLACKJ_11591 +if +88FE: not text_box_displayed +else_jump @BLACKJ_11584 +0989: set_text_boxes_width 128 +0512: show_permanent_text_box 'BJ_H3' + +:BLACKJ_11584 +21@ = 1 + +:BLACKJ_11591 +if and + $BJACK_PLAYER_CANNOT_SPLIT == 1 + $BJACK_PLAYER_CANNOT_DOUBLE == 1 +else_jump @BLACKJ_11652 +if +88FE: not text_box_displayed +else_jump @BLACKJ_11645 +0989: set_text_boxes_width 128 +0512: show_permanent_text_box 'BJ_H5' + +:BLACKJ_11645 +21@ = 3 + +:BLACKJ_11652 +if and + $BJACK_PLAYER_CANNOT_SPLIT == 0 + $BJACK_PLAYER_CANNOT_DOUBLE == 0 +else_jump @BLACKJ_11713 +if +88FE: not text_box_displayed +else_jump @BLACKJ_11706 +0989: set_text_boxes_width 128 +0512: show_permanent_text_box 'BJ_H3' + +:BLACKJ_11706 +21@ = 1 + +:BLACKJ_11713 +if and + $BJACK_PLAYER_CANNOT_SPLIT == 1 + $BJACK_PLAYER_CANNOT_DOUBLE == 0 +else_jump @BLACKJ_11774 +if +88FE: not text_box_displayed +else_jump @BLACKJ_11767 +0989: set_text_boxes_width 128 +0512: show_permanent_text_box 'BJ_H2' + +:BLACKJ_11767 +21@ = 2 + +:BLACKJ_11774 +if +876F: not text_priority_displayed +else_jump @BLACKJ_12190 +if + 25@ == 0 +else_jump @BLACKJ_11864 +if +00E1: player 0 pressed_key 17 +else_jump @BLACKJ_11857 +$BJACK_PLAYER_HAS_HIT1 = 1 +4@ = 0 +3@ += 1 +25@ = 1 +jump @BLACKJ_12265 + +:BLACKJ_11857 +jump @BLACKJ_11888 + +:BLACKJ_11864 +if +80E1: not player 0 pressed_key 17 +else_jump @BLACKJ_11888 +25@ = 0 + +:BLACKJ_11888 +if + $BJACK_PLAYER_CANNOT_SPLIT == 0 +else_jump @BLACKJ_11969 +if + $BJACK_PLAYER_HAS_SPLIT == 0 +else_jump @BLACKJ_11969 +if +00E1: player 0 pressed_key 7 +else_jump @BLACKJ_11969 +$BJACK_PLAYER_HAS_SPLIT = 1 +3@ += 1 +4@ = 0 +jump @BLACKJ_12265 + +:BLACKJ_11969 +if + $BJACK_PLAYER_CANNOT_DOUBLE == 0 +else_jump @BLACKJ_12057 +if +00E1: player 0 pressed_key 14 +else_jump @BLACKJ_12057 +if + $BJACK_PLAYER_HAS_STUCKED1 == 0 +else_jump @BLACKJ_12036 +$BJACK_PLAYER_HAS_DOUBLED1 = 1 +jump @BLACKJ_12043 + +:BLACKJ_12036 +$BJACK_PLAYER_HAS_DOUBLED2 = 1 + +:BLACKJ_12043 +3@ += 1 +jump @BLACKJ_12265 + +:BLACKJ_12057 +if + 23@ == 0 +else_jump @BLACKJ_12159 +if +00E1: player 0 pressed_key 16 +else_jump @BLACKJ_12152 +if + $BJACK_PLAYER_HAS_STUCKED1 == 0 +else_jump @BLACKJ_12124 +$BJACK_PLAYER_HAS_STUCKED1 = 1 +jump @BLACKJ_12131 + +:BLACKJ_12124 +$BJACK_PLAYER_HAS_STUCKED2 = 1 + +:BLACKJ_12131 +23@ = 1 +3@ += 1 +jump @BLACKJ_12265 + +:BLACKJ_12152 +jump @BLACKJ_12183 + +:BLACKJ_12159 +if +80E1: not player 0 pressed_key 16 +else_jump @BLACKJ_12183 +23@ = 0 + +:BLACKJ_12183 +jump @BLACKJ_12265 + +:BLACKJ_12190 +if + 25@ == 0 +else_jump @BLACKJ_12241 +if +00E1: player 0 pressed_key 17 +else_jump @BLACKJ_12234 +25@ = 1 +00BE: text_clear_all + +:BLACKJ_12234 +jump @BLACKJ_12265 + +:BLACKJ_12241 +if +80E1: not player 0 pressed_key 17 +else_jump @BLACKJ_12265 +25@ = 0 + +:BLACKJ_12265 +if + 3@ == 1 +else_jump @BLACKJ_15234 +if + $BJACK_PLAYER_HAS_HIT1 == 1 +else_jump @BLACKJ_12764 +if + 4@ == 0 +else_jump @BLACKJ_12333 +gosub @BLACKJ_29794 +4@ += 1 + +:BLACKJ_12333 +if + 4@ == 1 +else_jump @BLACKJ_12403 +if + not Actor.Dead(1@) +else_jump @BLACKJ_12403 +062E: get_actor 1@ task 1541 status_store_to 10@ // ret 7 if not found +if +04A4: 10@ == 7 // == constant +else_jump @BLACKJ_12403 +4@ += 1 + +:BLACKJ_12403 +if + 4@ == 2 +else_jump @BLACKJ_12732 +if + $BJACK_PLAYER_HAS_SPLIT == 0 +else_jump @BLACKJ_12533 +10@ = 0 + +:BLACKJ_12446 +if + 8 > 10@ +else_jump @BLACKJ_12526 +if + $9149(10@,8i) == 0 +else_jump @BLACKJ_12512 +0084: $9149(10@,8i) = $BJACK_CARD_ID // (int) +10@ = 8 +4@ = 99 + +:BLACKJ_12512 +10@ += 1 +jump @BLACKJ_12446 + +:BLACKJ_12526 +jump @BLACKJ_12732 + +:BLACKJ_12533 +if + $BJACK_PLAYER_HAS_STUCKED1 == 0 +else_jump @BLACKJ_12645 +10@ = 0 + +:BLACKJ_12558 +if + 8 > 10@ +else_jump @BLACKJ_12638 +if + $9149(10@,8i) == 0 +else_jump @BLACKJ_12624 +0084: $9149(10@,8i) = $BJACK_CARD_ID // (int) +10@ = 8 +4@ = 99 + +:BLACKJ_12624 +10@ += 1 +jump @BLACKJ_12558 + +:BLACKJ_12638 +jump @BLACKJ_12732 + +:BLACKJ_12645 +10@ = 0 + +:BLACKJ_12652 +if + 8 > 10@ +else_jump @BLACKJ_12732 +if + $9157(10@,8i) == 0 +else_jump @BLACKJ_12718 +0084: $9157(10@,8i) = $BJACK_CARD_ID // (int) +10@ = 8 +4@ = 99 + +:BLACKJ_12718 +10@ += 1 +jump @BLACKJ_12652 + +:BLACKJ_12732 +if + 4@ == 99 +else_jump @BLACKJ_12764 +$BJACK_PLAYER_HAS_HIT1 = 0 +gosub @BLACKJ_18486 + +:BLACKJ_12764 +10@ = 0 +if + $BJACK_PLAYER_HAS_SPLIT == 1 +else_jump @BLACKJ_12821 +if or + $9157[0] == 0 + $9149[1] == 0 +else_jump @BLACKJ_12821 +10@ = 1 + +:BLACKJ_12821 +if and + $BJACK_PLAYER_HAS_SPLIT == 1 + 10@ == 1 +else_jump @BLACKJ_13296 +if + 4@ == 0 +else_jump @BLACKJ_12973 +008D: $9195 = integer $BJACK_BET1 to_float +008C: $BJACK_HALF_BET = float $9195 to_integer +$BJACK_PLAYER_CASH = Player.Money($PLAYER_CHAR) +gosub @BLACKJ_33798 +0058: $BJACK_PLAYER_CASH += $MAX_WAGER // (int) +if +001C: $BJACK_HALF_BET > $BJACK_PLAYER_CASH // (int) +else_jump @BLACKJ_12966 +$BJACK_PLAYER_HAS_SPLIT = 0 +4@ = 99 +00BC: show_text_highpriority GXT 'BJ_3' time 5000 flag 1 +gosub @BLACKJ_18333 +jump @BLACKJ_12973 + +:BLACKJ_12966 +4@ += 1 + +:BLACKJ_12973 +if + 4@ == 1 +else_jump @BLACKJ_13075 +0623: add $BJACK_HALF_BET to_integer_stat 35 +008F: 13@ = integer $BJACK_HALF_BET to_float +13@ *= 0.001 +0624: add 13@ to_float_stat 81 +$BJACK_HALF_BET *= -1 +Player.Money($PLAYER_CHAR) += $BJACK_HALF_BET +$BJACK_HALF_BET *= -1 +0058: $BJACK_BET1 += $BJACK_HALF_BET // (int) +0058: $BJACK_INITIAL_STAKE += $BJACK_HALF_BET // (int) +gosub @BLACKJ_23234 +4@ += 1 + +:BLACKJ_13075 +if + 4@ == 2 +else_jump @BLACKJ_13130 +0084: $9157[0] = $9149[0] // (int) +0084: $9149[0] = $9149[1] // (int) +$9149[1] = 0 +gosub @BLACKJ_29794 +4@ += 1 + +:BLACKJ_13130 +if + 4@ == 3 +else_jump @BLACKJ_13208 +if + not Actor.Dead(1@) +else_jump @BLACKJ_13208 +062E: get_actor 1@ task 1541 status_store_to 10@ // ret 7 if not found +if +04A4: 10@ == 7 // == constant +else_jump @BLACKJ_13208 +0084: $9149[1] = $BJACK_CARD_ID // (int) +4@ += 1 + +:BLACKJ_13208 +if + 4@ == 4 +else_jump @BLACKJ_13296 +008D: $9195 = integer $BJACK_BET1 to_float +$9195 /= 2.0 +008C: $BJACK_HALF_BET = float $9195 to_integer +0084: $BJACK_BET1 = $BJACK_HALF_BET // (int) +0084: $BJACK_BET2 = $BJACK_HALF_BET // (int) +$BJACK_PLAYER_CANNOT_DOUBLE = 0 +gosub @BLACKJ_10593 +gosub @BLACKJ_18486 +4@ = 99 + +:BLACKJ_13296 +if and + $BJACK_PLAYER_HAS_SPLIT == 1 + $BJACK_PLAYER_HAS_STUCKED1 == 1 + $9157[1] == 0 +else_jump @BLACKJ_13502 +if + 4@ == 0 +else_jump @BLACKJ_13360 +gosub @BLACKJ_29794 +4@ += 1 + +:BLACKJ_13360 +if + 4@ == 1 +else_jump @BLACKJ_13430 +if + not Actor.Dead(1@) +else_jump @BLACKJ_13430 +062E: get_actor 1@ task 1541 status_store_to 10@ // ret 7 if not found +if +04A4: 10@ == 7 // == constant +else_jump @BLACKJ_13430 +4@ += 1 + +:BLACKJ_13430 +if + 4@ == 2 +else_jump @BLACKJ_13484 +0084: $9157[1] = $BJACK_CARD_ID // (int) +$BJACK_PLAYER_CANNOT_DOUBLE = 0 +gosub @BLACKJ_10593 +gosub @BLACKJ_18486 +4@ = 99 + +:BLACKJ_13484 +if + 4@ == 99 +else_jump @BLACKJ_13502 + +:BLACKJ_13502 +if + $BJACK_PLAYER_HAS_SPLIT == 0 +else_jump @BLACKJ_13905 +if and + $BJACK_PLAYER_HAS_DOUBLED1 == 1 + $BJACK_PLAYER_HAS_STUCKED1 == 0 +else_jump @BLACKJ_13898 +if + 4@ == 0 +else_jump @BLACKJ_13672 +008D: $9195 = integer $BJACK_BET1 to_float +008C: $BJACK_HALF_BET = float $9195 to_integer +$BJACK_PLAYER_CASH = Player.Money($PLAYER_CHAR) +gosub @BLACKJ_33798 +0058: $BJACK_PLAYER_CASH += $MAX_WAGER // (int) +if +001C: $BJACK_HALF_BET > $BJACK_PLAYER_CASH // (int) +else_jump @BLACKJ_13665 +$BJACK_PLAYER_HAS_DOUBLED1 = 0 +4@ = 99 +00BC: show_text_highpriority GXT 'BJ_3' time 5000 flag 1 +gosub @BLACKJ_18333 +jump @BLACKJ_13672 + +:BLACKJ_13665 +4@ += 1 + +:BLACKJ_13672 +if + 4@ == 1 +else_jump @BLACKJ_13781 +0623: add $BJACK_HALF_BET to_integer_stat 35 +008F: 13@ = integer $BJACK_HALF_BET to_float +13@ *= 0.001 +0624: add 13@ to_float_stat 81 +$BJACK_HALF_BET *= -1 +Player.Money($PLAYER_CHAR) += $BJACK_HALF_BET +$BJACK_HALF_BET *= -1 +0058: $BJACK_BET1 += $BJACK_HALF_BET // (int) +0058: $BJACK_INITIAL_STAKE += $BJACK_HALF_BET // (int) +gosub @BLACKJ_23234 +gosub @BLACKJ_29794 +4@ += 1 + +:BLACKJ_13781 +if + 4@ == 2 +else_jump @BLACKJ_13851 +if + not Actor.Dead(1@) +else_jump @BLACKJ_13851 +062E: get_actor 1@ task 1541 status_store_to 10@ // ret 7 if not found +if +04A4: 10@ == 7 // == constant +else_jump @BLACKJ_13851 +4@ += 1 + +:BLACKJ_13851 +if + 4@ == 3 +else_jump @BLACKJ_13898 +0084: $9149[2] = $BJACK_CARD_ID // (int) +$BJACK_PLAYER_HAS_STUCKED1 = 1 +gosub @BLACKJ_18486 +4@ = 99 + +:BLACKJ_13898 +jump @BLACKJ_14668 + +:BLACKJ_13905 +if and + $BJACK_PLAYER_HAS_DOUBLED1 == 1 + $BJACK_PLAYER_HAS_STUCKED1 == 0 +else_jump @BLACKJ_14290 +if + 4@ == 0 +else_jump @BLACKJ_14057 +008D: $9195 = integer $BJACK_BET1 to_float +008C: $BJACK_HALF_BET = float $9195 to_integer +$BJACK_PLAYER_CASH = Player.Money($PLAYER_CHAR) +gosub @BLACKJ_33798 +0058: $BJACK_PLAYER_CASH += $MAX_WAGER // (int) +if +001C: $BJACK_HALF_BET > $BJACK_PLAYER_CASH // (int) +else_jump @BLACKJ_14050 +$BJACK_PLAYER_HAS_DOUBLED1 = 0 +00BC: show_text_highpriority GXT 'BJ_3' time 5000 flag 1 +gosub @BLACKJ_18333 +4@ = 99 +jump @BLACKJ_14057 + +:BLACKJ_14050 +4@ += 1 + +:BLACKJ_14057 +if + 4@ == 1 +else_jump @BLACKJ_14166 +0623: add $BJACK_HALF_BET to_integer_stat 35 +008F: 13@ = integer $BJACK_HALF_BET to_float +13@ *= 0.001 +0624: add 13@ to_float_stat 81 +$BJACK_HALF_BET *= -1 +Player.Money($PLAYER_CHAR) += $BJACK_HALF_BET +$BJACK_HALF_BET *= -1 +0058: $BJACK_BET1 += $BJACK_HALF_BET // (int) +0058: $BJACK_INITIAL_STAKE += $BJACK_HALF_BET // (int) +gosub @BLACKJ_23234 +gosub @BLACKJ_29794 +4@ += 1 + +:BLACKJ_14166 +if + 4@ == 2 +else_jump @BLACKJ_14236 +if + not Actor.Dead(1@) +else_jump @BLACKJ_14236 +062E: get_actor 1@ task 1541 status_store_to 10@ // ret 7 if not found +if +04A4: 10@ == 7 // == constant +else_jump @BLACKJ_14236 +4@ += 1 + +:BLACKJ_14236 +if + 4@ == 3 +else_jump @BLACKJ_14290 +0084: $9149[2] = $BJACK_CARD_ID // (int) +$BJACK_PLAYER_HAS_STUCKED1 = 1 +gosub @BLACKJ_18486 +4@ = 0 +jump @BLACKJ_13296 + +:BLACKJ_14290 +if and + $BJACK_PLAYER_HAS_DOUBLED2 == 1 + $BJACK_PLAYER_HAS_STUCKED2 == 0 +else_jump @BLACKJ_14668 +if + 4@ == 0 +else_jump @BLACKJ_14442 +008D: $9195 = integer $BJACK_BET1 to_float +008C: $BJACK_HALF_BET = float $9195 to_integer +$BJACK_PLAYER_CASH = Player.Money($PLAYER_CHAR) +gosub @BLACKJ_33798 +0058: $BJACK_PLAYER_CASH += $MAX_WAGER // (int) +if +001C: $BJACK_HALF_BET > $BJACK_PLAYER_CASH // (int) +else_jump @BLACKJ_14435 +$BJACK_PLAYER_HAS_DOUBLED2 = 0 +4@ = 99 +00BC: show_text_highpriority GXT 'BJ_3' time 5000 flag 1 +gosub @BLACKJ_18333 +jump @BLACKJ_14442 + +:BLACKJ_14435 +4@ += 1 + +:BLACKJ_14442 +if + 4@ == 1 +else_jump @BLACKJ_14551 +0623: add $BJACK_HALF_BET to_integer_stat 35 +008F: 13@ = integer $BJACK_HALF_BET to_float +13@ *= 0.001 +0624: add 13@ to_float_stat 81 +$BJACK_HALF_BET *= -1 +Player.Money($PLAYER_CHAR) += $BJACK_HALF_BET +$BJACK_HALF_BET *= -1 +0058: $BJACK_BET2 += $BJACK_HALF_BET // (int) +0058: $BJACK_INITIAL_STAKE += $BJACK_HALF_BET // (int) +gosub @BLACKJ_23234 +gosub @BLACKJ_29794 +4@ += 1 + +:BLACKJ_14551 +if + 4@ == 2 +else_jump @BLACKJ_14621 +if + not Actor.Dead(1@) +else_jump @BLACKJ_14621 +062E: get_actor 1@ task 1541 status_store_to 10@ // ret 7 if not found +if +04A4: 10@ == 7 // == constant +else_jump @BLACKJ_14621 +4@ += 1 + +:BLACKJ_14621 +if + 4@ == 3 +else_jump @BLACKJ_14668 +0084: $9157[2] = $BJACK_CARD_ID // (int) +$BJACK_PLAYER_HAS_STUCKED2 = 1 +gosub @BLACKJ_18486 +4@ = 99 + +:BLACKJ_14668 +gosub @BLACKJ_31250 +if + $BJACK_PLAYER_HAS_SPLIT == 0 +else_jump @BLACKJ_14750 +if + $BJACK_PLAYER_TOTAL1 > 20 +else_jump @BLACKJ_14718 +$BJACK_PLAYER_HAS_STUCKED1 = 1 + +:BLACKJ_14718 +if + not $9149[4] == 0 +else_jump @BLACKJ_14743 +$BJACK_PLAYER_HAS_STUCKED1 = 1 + +:BLACKJ_14743 +jump @BLACKJ_14896 + +:BLACKJ_14750 +if + $BJACK_PLAYER_HAS_STUCKED1 == 0 +else_jump @BLACKJ_14846 +if + $BJACK_PLAYER_TOTAL1 > 20 +else_jump @BLACKJ_14807 +$BJACK_PLAYER_HAS_STUCKED1 = 1 +4@ = 0 +jump @BLACKJ_13296 + +:BLACKJ_14807 +if + not $9149[4] == 0 +else_jump @BLACKJ_14846 +$BJACK_PLAYER_HAS_STUCKED1 = 1 +4@ = 0 +jump @BLACKJ_13296 + +:BLACKJ_14846 +if + $BJACK_PLAYER_TOTAL2 > 20 +else_jump @BLACKJ_14871 +$BJACK_PLAYER_HAS_STUCKED2 = 1 + +:BLACKJ_14871 +if + not $9157[4] == 0 +else_jump @BLACKJ_14896 +$BJACK_PLAYER_HAS_STUCKED2 = 1 + +:BLACKJ_14896 +if + $BJACK_PLAYER_HAS_SPLIT == 1 +else_jump @BLACKJ_15074 +if and + $BJACK_PLAYER_HAS_STUCKED1 == 1 + $BJACK_PLAYER_HAS_STUCKED2 == 1 +else_jump @BLACKJ_15074 +if and + $BJACK_PLAYER_TOTAL1 == 21 + $9149[2] == 0 +else_jump @BLACKJ_15042 +if or + not $BJACK_PLAYER_TOTAL2 == 21 + not $9157[2] == 0 +else_jump @BLACKJ_15003 +$BJACK_PLAYER_GOT_BJACK = 2 +jump @BLACKJ_15035 + +:BLACKJ_15003 +if and + $BJACK_PLAYER_TOTAL2 == 21 + $9157[2] == 0 +else_jump @BLACKJ_15035 +$BJACK_PLAYER_GOT_BJACK = 4 + +:BLACKJ_15035 +jump @BLACKJ_15074 + +:BLACKJ_15042 +if and + $BJACK_PLAYER_TOTAL2 == 21 + $9157[2] == 0 +else_jump @BLACKJ_15074 +$BJACK_PLAYER_GOT_BJACK = 3 + +:BLACKJ_15074 +if + $BJACK_PLAYER_HAS_SPLIT == 0 +else_jump @BLACKJ_15163 +if + $BJACK_PLAYER_HAS_STUCKED1 == 1 +else_jump @BLACKJ_15124 +3@ = 99 +jump @BLACKJ_15156 + +:BLACKJ_15124 +if + 4@ == 99 +else_jump @BLACKJ_15156 +3@ = 0 +4@ = 0 + +:BLACKJ_15156 +jump @BLACKJ_15234 + +:BLACKJ_15163 +if and + $BJACK_PLAYER_HAS_STUCKED1 == 1 + $BJACK_PLAYER_HAS_STUCKED2 == 1 +else_jump @BLACKJ_15202 +3@ = 99 +jump @BLACKJ_15234 + +:BLACKJ_15202 +if + 4@ == 99 +else_jump @BLACKJ_15234 +3@ = 0 +4@ = 0 + +:BLACKJ_15234 +if + $BJACK_PLAYER_HAS_SPLIT == 1 +else_jump @BLACKJ_15325 +if + $BJACK_PLAYER_HAS_STUCKED1 == 0 +else_jump @BLACKJ_15301 +gosub @BLACKJ_34182 +033E: set_draw_text_position $BJACK_X_SCREENPOS[22] $BJACK_Y_SCREENPOS[22] GXT 'BJ_ARR' +jump @BLACKJ_15325 + +:BLACKJ_15301 +gosub @BLACKJ_34182 +033E: set_draw_text_position $BJACK_X_SCREENPOS[23] $BJACK_Y_SCREENPOS[23] GXT 'BJ_ARR' + +:BLACKJ_15325 +if + 3@ == 99 +else_jump @BLACKJ_15364 +gosub @BLACKJ_10593 +3@ = 0 +2@ += 1 + +:BLACKJ_15364 +gosub @BLACKJ_31250 +gosub @BLACKJ_29895 +gosub @BLACKJ_25173 +return + +:BLACKJ_15387 +if + 3@ == 0 +else_jump @BLACKJ_15540 +if + $BJACK_PLAYER_HAS_SPLIT == 0 +else_jump @BLACKJ_15469 +if + $BJACK_PLAYER_TOTAL1 > 21 +else_jump @BLACKJ_15462 +$BJACK_DEALER_HAS_STUCK = 1 +$BJACK_DEALER_WINS_BY_DEFAULT = 1 +3@ = 99 + +:BLACKJ_15462 +jump @BLACKJ_15515 + +:BLACKJ_15469 +if and + $BJACK_PLAYER_TOTAL1 > 21 + $BJACK_PLAYER_TOTAL2 > 21 +else_jump @BLACKJ_15515 +$BJACK_DEALER_HAS_STUCK = 1 +$BJACK_DEALER_WINS_BY_DEFAULT = 1 +3@ = 99 + +:BLACKJ_15515 +if + not 3@ == 99 +else_jump @BLACKJ_15540 +3@ += 1 + +:BLACKJ_15540 +if + 3@ == 1 +else_jump @BLACKJ_15647 +if + $BJACK_DEALER_TOTAL > 16 +else_jump @BLACKJ_15590 +$BJACK_DEALER_HAS_STUCK = 1 +jump @BLACKJ_15597 + +:BLACKJ_15590 +3@ += 1 + +:BLACKJ_15597 +if + not $9141[4] == 0 +else_jump @BLACKJ_15622 +$BJACK_DEALER_HAS_STUCK = 1 + +:BLACKJ_15622 +if + $BJACK_DEALER_HAS_STUCK == 1 +else_jump @BLACKJ_15647 +3@ = 99 + +:BLACKJ_15647 +if + 3@ == 2 +else_jump @BLACKJ_15679 +gosub @BLACKJ_29794 +3@ += 1 + +:BLACKJ_15679 +if + 3@ == 3 +else_jump @BLACKJ_15749 +if + not Actor.Dead(1@) +else_jump @BLACKJ_15749 +062E: get_actor 1@ task 1541 status_store_to 10@ // ret 7 if not found +if +04A4: 10@ == 7 // == constant +else_jump @BLACKJ_15749 +3@ += 1 + +:BLACKJ_15749 +if + 3@ == 4 +else_jump @BLACKJ_15854 +10@ = 0 + +:BLACKJ_15774 +if + 8 > 10@ +else_jump @BLACKJ_15847 +if + $9141(10@,8i) == 0 +else_jump @BLACKJ_15833 +0084: $9141(10@,8i) = $BJACK_CARD_ID // (int) +10@ = 8 + +:BLACKJ_15833 +10@ += 1 +jump @BLACKJ_15774 + +:BLACKJ_15847 +3@ = 0 + +:BLACKJ_15854 +if + 3@ == 99 +else_jump @BLACKJ_15886 +2@ += 1 +3@ = 0 + +:BLACKJ_15886 +gosub @BLACKJ_31250 +gosub @BLACKJ_29895 +gosub @BLACKJ_25173 +return + +:BLACKJ_15909 +if + 3@ == 0 +else_jump @BLACKJ_17975 +if + $BJACK_PLAYER_HAS_SPLIT == 0 +else_jump @BLACKJ_16171 +if + not $BJACK_PLAYER_TOTAL1 > 21 +else_jump @BLACKJ_16164 +if + $BJACK_DEALER_TOTAL > 21 +else_jump @BLACKJ_15995 +$BJACK_PLAYER_HAS_WON1 = 1 +jump @BLACKJ_16164 + +:BLACKJ_15995 +if +001C: $BJACK_PLAYER_TOTAL1 > $BJACK_DEALER_TOTAL // (int) +else_jump @BLACKJ_16028 +$BJACK_PLAYER_HAS_WON1 = 1 +jump @BLACKJ_16164 + +:BLACKJ_16028 +if +003A: $BJACK_PLAYER_TOTAL1 == $BJACK_DEALER_TOTAL // (int) +else_jump @BLACKJ_16157 +if + $BJACK_PLAYER_GOT_BJACK == 1 +else_jump @BLACKJ_16111 +if + $9189 == 1 +else_jump @BLACKJ_16097 +$BJACK_PLAYER_HAS_WON1 = 2 +jump @BLACKJ_16104 + +:BLACKJ_16097 +$BJACK_PLAYER_HAS_WON1 = 1 + +:BLACKJ_16104 +jump @BLACKJ_16150 + +:BLACKJ_16111 +if + $9189 == 1 +else_jump @BLACKJ_16143 +$BJACK_PLAYER_HAS_WON1 = 0 +jump @BLACKJ_16150 + +:BLACKJ_16143 +$BJACK_PLAYER_HAS_WON1 = 2 + +:BLACKJ_16150 +jump @BLACKJ_16164 + +:BLACKJ_16157 +$BJACK_PLAYER_HAS_WON1 = 0 + +:BLACKJ_16164 +jump @BLACKJ_16623 + +:BLACKJ_16171 +if + not $BJACK_PLAYER_TOTAL1 > 21 +else_jump @BLACKJ_16397 +if + $BJACK_DEALER_TOTAL > 21 +else_jump @BLACKJ_16221 +$BJACK_PLAYER_HAS_WON1 = 1 +jump @BLACKJ_16397 + +:BLACKJ_16221 +if +001C: $BJACK_PLAYER_TOTAL1 > $BJACK_DEALER_TOTAL // (int) +else_jump @BLACKJ_16254 +$BJACK_PLAYER_HAS_WON1 = 1 +jump @BLACKJ_16397 + +:BLACKJ_16254 +if +003A: $BJACK_PLAYER_TOTAL1 == $BJACK_DEALER_TOTAL // (int) +else_jump @BLACKJ_16390 +if or + $BJACK_PLAYER_GOT_BJACK == 2 + $BJACK_PLAYER_GOT_BJACK == 4 +else_jump @BLACKJ_16344 +if + $9189 == 1 +else_jump @BLACKJ_16330 +$BJACK_PLAYER_HAS_WON1 = 2 +jump @BLACKJ_16337 + +:BLACKJ_16330 +$BJACK_PLAYER_HAS_WON1 = 1 + +:BLACKJ_16337 +jump @BLACKJ_16383 + +:BLACKJ_16344 +if + $9189 == 1 +else_jump @BLACKJ_16376 +$BJACK_PLAYER_HAS_WON1 = 0 +jump @BLACKJ_16383 + +:BLACKJ_16376 +$BJACK_PLAYER_HAS_WON1 = 2 + +:BLACKJ_16383 +jump @BLACKJ_16397 + +:BLACKJ_16390 +$BJACK_PLAYER_HAS_WON1 = 0 + +:BLACKJ_16397 +if + not $BJACK_PLAYER_TOTAL2 > 21 +else_jump @BLACKJ_16623 +if + $BJACK_DEALER_TOTAL > 21 +else_jump @BLACKJ_16447 +$BJACK_PLAYER_HAS_WON2 = 1 +jump @BLACKJ_16623 + +:BLACKJ_16447 +if +001C: $BJACK_PLAYER_TOTAL2 > $BJACK_DEALER_TOTAL // (int) +else_jump @BLACKJ_16480 +$BJACK_PLAYER_HAS_WON2 = 1 +jump @BLACKJ_16623 + +:BLACKJ_16480 +if +003A: $BJACK_PLAYER_TOTAL2 == $BJACK_DEALER_TOTAL // (int) +else_jump @BLACKJ_16616 +if or + $BJACK_PLAYER_GOT_BJACK == 3 + $BJACK_PLAYER_GOT_BJACK == 4 +else_jump @BLACKJ_16570 +if + $9189 == 1 +else_jump @BLACKJ_16556 +$BJACK_PLAYER_HAS_WON2 = 2 +jump @BLACKJ_16563 + +:BLACKJ_16556 +$BJACK_PLAYER_HAS_WON2 = 1 + +:BLACKJ_16563 +jump @BLACKJ_16609 + +:BLACKJ_16570 +if + $9189 == 1 +else_jump @BLACKJ_16602 +$BJACK_PLAYER_HAS_WON2 = 0 +jump @BLACKJ_16609 + +:BLACKJ_16602 +$BJACK_PLAYER_HAS_WON2 = 2 + +:BLACKJ_16609 +jump @BLACKJ_16623 + +:BLACKJ_16616 +$BJACK_PLAYER_HAS_WON2 = 0 + +:BLACKJ_16623 +32@ = 0 +$BJACK_PAYOUT = 0 +if + $BJACK_PLAYER_HAS_SPLIT == 0 +else_jump @BLACKJ_16768 +if + $BJACK_PLAYER_HAS_WON1 == 1 +else_jump @BLACKJ_16735 +if + $BJACK_PLAYER_GOT_BJACK == 1 +else_jump @BLACKJ_16713 +$BJACK_PAYOUT = 3 +0068: $BJACK_PAYOUT *= $BJACK_BET1 // (int) +jump @BLACKJ_16728 + +:BLACKJ_16713 +$BJACK_PAYOUT = 2 +0068: $BJACK_PAYOUT *= $BJACK_BET1 // (int) + +:BLACKJ_16728 +jump @BLACKJ_16761 + +:BLACKJ_16735 +if + $BJACK_PLAYER_HAS_WON1 == 2 +else_jump @BLACKJ_16761 +0084: $BJACK_PAYOUT = $BJACK_BET1 // (int) + +:BLACKJ_16761 +jump @BLACKJ_17010 + +:BLACKJ_16768 +if + $BJACK_PLAYER_HAS_WON1 == 1 +else_jump @BLACKJ_16855 +if or + $BJACK_PLAYER_GOT_BJACK == 2 + $BJACK_PLAYER_GOT_BJACK == 4 +else_jump @BLACKJ_16833 +$BJACK_PAYOUT = 3 +0068: $BJACK_PAYOUT *= $BJACK_BET1 // (int) +jump @BLACKJ_16848 + +:BLACKJ_16833 +$BJACK_PAYOUT = 2 +0068: $BJACK_PAYOUT *= $BJACK_BET1 // (int) + +:BLACKJ_16848 +jump @BLACKJ_16881 + +:BLACKJ_16855 +if + $BJACK_PLAYER_HAS_WON1 == 2 +else_jump @BLACKJ_16881 +0084: $BJACK_PAYOUT = $BJACK_BET1 // (int) + +:BLACKJ_16881 +if + $BJACK_PLAYER_HAS_WON2 == 1 +else_jump @BLACKJ_16984 +if or + $BJACK_PLAYER_GOT_BJACK == 3 + $BJACK_PLAYER_GOT_BJACK == 4 +else_jump @BLACKJ_16954 +008B: 10@ = $BJACK_BET2 // (int) +10@ *= 3 +005E: $BJACK_PAYOUT += 10@ // (int) +jump @BLACKJ_16977 + +:BLACKJ_16954 +008B: 10@ = $BJACK_BET2 // (int) +10@ *= 2 +005E: $BJACK_PAYOUT += 10@ // (int) + +:BLACKJ_16977 +jump @BLACKJ_17010 + +:BLACKJ_16984 +if + $BJACK_PLAYER_HAS_WON2 == 2 +else_jump @BLACKJ_17010 +0058: $BJACK_PAYOUT += $BJACK_BET2 // (int) + +:BLACKJ_17010 +008B: 10@ = $BJACK_PAYOUT // (int) +0064: 10@ -= $BJACK_INITIAL_STAKE // (int) +0623: add 10@ to_integer_stat 37 +Player.Money($PLAYER_CHAR) += $BJACK_PAYOUT +create_thread @CASHWIN 10@ 3000 69 +08F8: display_stat_update_box 0 +if + 10@ > 0 +else_jump @BLACKJ_17528 +0627: update_integer_stat 38 to 10@ +0093: 13@ = integer 10@ to_float +0093: 14@ = integer 29@ to_float +0073: 13@ /= 14@ // (float) +$9325 += 1 +if + 5 > $9325 +else_jump @BLACKJ_17363 +if + not Actor.Dead(1@) +else_jump @BLACKJ_17356 +if + 13@ > 0.8 +else_jump @BLACKJ_17188 +0209: 10@ = random_int_in_ranges 0 4 +jump @BLACKJ_17197 + +:BLACKJ_17188 +0209: 10@ = random_int_in_ranges 0 3 + +:BLACKJ_17197 +0871: init_jump_table 10@ total_jumps 4 default_jump 0 @BLACKJ_17356 jumps 0 @BLACKJ_17260 1 @BLACKJ_17281 2 @BLACKJ_17302 3 @BLACKJ_17323 -1 @BLACKJ_17356 -1 @BLACKJ_17356 -1 @BLACKJ_17356 + +:BLACKJ_17260 +09D6: unknown_set_actor 1@ sound 5847 flags 1 1 0 +jump @BLACKJ_17356 + +:BLACKJ_17281 +09D6: unknown_set_actor 1@ sound 5848 flags 1 1 0 +jump @BLACKJ_17356 + +:BLACKJ_17302 +09D6: unknown_set_actor 1@ sound 5849 flags 1 1 0 +jump @BLACKJ_17356 + +:BLACKJ_17323 +if + Player.Defined($PLAYER_CHAR) +else_jump @BLACKJ_17349 +0947: actor $PLAYER_ACTOR speak_from_audio_table 100 store_spoken_phrase_id_to 10@ + +:BLACKJ_17349 +jump @BLACKJ_17356 + +:BLACKJ_17356 +jump @BLACKJ_17521 + +:BLACKJ_17363 +if + not Actor.Dead(1@) +else_jump @BLACKJ_17514 +0209: 10@ = random_int_in_ranges 0 3 +0871: init_jump_table 10@ total_jumps 3 default_jump 0 @BLACKJ_17514 jumps 0 @BLACKJ_17451 1 @BLACKJ_17472 2 @BLACKJ_17493 -1 @BLACKJ_17514 -1 @BLACKJ_17514 -1 @BLACKJ_17514 -1 @BLACKJ_17514 + +:BLACKJ_17451 +09D6: unknown_set_actor 1@ sound 5854 flags 1 1 0 +jump @BLACKJ_17514 + +:BLACKJ_17472 +09D6: unknown_set_actor 1@ sound 5855 flags 1 1 0 +jump @BLACKJ_17514 + +:BLACKJ_17493 +09D6: unknown_set_actor 1@ sound 5856 flags 1 1 0 +jump @BLACKJ_17514 + +:BLACKJ_17514 +$9325 = 0 + +:BLACKJ_17521 +jump @BLACKJ_17950 + +:BLACKJ_17528 +10@ *= -1 +0627: update_integer_stat 39 to 10@ +10@ *= -1 +$9325 = 0 +0093: 13@ = integer 10@ to_float +13@ *= -1.0 +0093: 14@ = integer 29@ to_float +0073: 13@ /= 14@ // (float) +if + not Actor.Dead(1@) +else_jump @BLACKJ_17950 +if + 0 > 10@ +else_jump @BLACKJ_17836 +if + 13@ > 0.8 +else_jump @BLACKJ_17661 +0209: 10@ = random_int_in_ranges 0 4 +jump @BLACKJ_17670 + +:BLACKJ_17661 +0209: 10@ = random_int_in_ranges 0 3 + +:BLACKJ_17670 +0871: init_jump_table 10@ total_jumps 4 default_jump 0 @BLACKJ_17829 jumps 0 @BLACKJ_17733 1 @BLACKJ_17754 2 @BLACKJ_17775 3 @BLACKJ_17796 -1 @BLACKJ_17829 -1 @BLACKJ_17829 -1 @BLACKJ_17829 + +:BLACKJ_17733 +09D6: unknown_set_actor 1@ sound 5817 flags 1 1 0 +jump @BLACKJ_17829 + +:BLACKJ_17754 +09D6: unknown_set_actor 1@ sound 5818 flags 1 1 0 +jump @BLACKJ_17829 + +:BLACKJ_17775 +09D6: unknown_set_actor 1@ sound 5819 flags 1 1 0 +jump @BLACKJ_17829 + +:BLACKJ_17796 +if + Player.Defined($PLAYER_CHAR) +else_jump @BLACKJ_17822 +0947: actor $PLAYER_ACTOR speak_from_audio_table 101 store_spoken_phrase_id_to 10@ + +:BLACKJ_17822 +jump @BLACKJ_17829 + +:BLACKJ_17829 +jump @BLACKJ_17950 + +:BLACKJ_17836 +0209: 10@ = random_int_in_ranges 0 2 +0871: init_jump_table 10@ total_jumps 2 default_jump 0 @BLACKJ_17950 jumps 0 @BLACKJ_17908 1 @BLACKJ_17929 -1 @BLACKJ_17950 -1 @BLACKJ_17950 -1 @BLACKJ_17950 -1 @BLACKJ_17950 -1 @BLACKJ_17950 + +:BLACKJ_17908 +09D6: unknown_set_actor 1@ sound 5815 flags 1 1 0 +jump @BLACKJ_17950 + +:BLACKJ_17929 +09D6: unknown_set_actor 1@ sound 5816 flags 1 1 0 +jump @BLACKJ_17950 + +:BLACKJ_17950 +08F8: display_stat_update_box 1 +$BJACK_INITIAL_STAKE = 0 +gosub @BLACKJ_23234 +3@ += 1 + +:BLACKJ_17975 +if + 3@ == 1 +else_jump @BLACKJ_18106 +if + 32@ > 3000 +else_jump @BLACKJ_18026 +3@ += 1 +jump @BLACKJ_18106 + +:BLACKJ_18026 +if + 23@ == 0 +else_jump @BLACKJ_18082 +if +00E1: player 0 pressed_key 16 +else_jump @BLACKJ_18075 +23@ = 1 +3@ += 1 + +:BLACKJ_18075 +jump @BLACKJ_18106 + +:BLACKJ_18082 +if +80E1: not player 0 pressed_key 16 +else_jump @BLACKJ_18106 +23@ = 0 + +:BLACKJ_18106 +if + 3@ == 2 +else_jump @BLACKJ_18138 +32@ = 0 +3@ += 1 + +:BLACKJ_18138 +if + 3@ == 3 +else_jump @BLACKJ_18278 +if +00E1: player 0 pressed_key 16 +else_jump @BLACKJ_18194 +23@ = 1 +3@ = 99 +jump @BLACKJ_18278 + +:BLACKJ_18194 +if and +8A2A: not text_box 'SGPUNT' displayed +8A2A: not text_box 'SGGAMB' displayed +8A2A: not text_box 'SGPROF' displayed +8A2A: not text_box 'SGHIRO' displayed +else_jump @BLACKJ_18278 +if +88FE: not text_box_displayed +else_jump @BLACKJ_18278 +0989: set_text_boxes_width 128 +0512: show_permanent_text_box 'BJ_H4' + +:BLACKJ_18278 +if + 3@ == 99 +else_jump @BLACKJ_18317 +gosub @BLACKJ_10593 +2@ = 1 +3@ = 0 + +:BLACKJ_18317 +gosub @BLACKJ_29895 +gosub @BLACKJ_25173 +return + +:BLACKJ_18333 +if + not Actor.Dead(1@) +else_jump @BLACKJ_18484 +0209: 10@ = random_int_in_ranges 0 3 +0871: init_jump_table 10@ total_jumps 3 default_jump 0 @BLACKJ_18484 jumps 0 @BLACKJ_18421 1 @BLACKJ_18442 2 @BLACKJ_18463 -1 @BLACKJ_18484 -1 @BLACKJ_18484 -1 @BLACKJ_18484 -1 @BLACKJ_18484 + +:BLACKJ_18421 +09D6: unknown_set_actor 1@ sound 5823 flags 1 1 0 +jump @BLACKJ_18484 + +:BLACKJ_18442 +09D6: unknown_set_actor 1@ sound 5824 flags 1 1 0 +jump @BLACKJ_18484 + +:BLACKJ_18463 +09D6: unknown_set_actor 1@ sound 5825 flags 1 1 0 +jump @BLACKJ_18484 + +:BLACKJ_18484 +return + +:BLACKJ_18486 +gosub @BLACKJ_31250 +if + not Actor.Dead(1@) +else_jump @BLACKJ_21829 +if + $BJACK_PLAYER_HAS_SPLIT == 0 +else_jump @BLACKJ_19624 +if + $BJACK_PLAYER_TOTAL1_B == 0 +else_jump @BLACKJ_19200 +0871: init_jump_table $BJACK_PLAYER_TOTAL1 total_jumps 18 default_jump 1 @BLACKJ_19116 jumps 4 @BLACKJ_18738 5 @BLACKJ_18759 6 @BLACKJ_18780 7 @BLACKJ_18801 8 @BLACKJ_18822 9 @BLACKJ_18843 10 @BLACKJ_18864 +0872: jump_table_jumps 11 @BLACKJ_18885 12 @BLACKJ_18906 13 @BLACKJ_18927 14 @BLACKJ_18948 15 @BLACKJ_18969 16 @BLACKJ_18990 17 @BLACKJ_19011 18 @BLACKJ_19032 19 @BLACKJ_19053 +0872: jump_table_jumps 20 @BLACKJ_19074 21 @BLACKJ_19095 -1 @BLACKJ_19185 -1 @BLACKJ_19185 -1 @BLACKJ_19185 -1 @BLACKJ_19185 -1 @BLACKJ_19185 -1 @BLACKJ_19185 -1 @BLACKJ_19185 + +:BLACKJ_18738 +09D6: unknown_set_actor 1@ sound 5841 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_18759 +09D6: unknown_set_actor 1@ sound 5842 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_18780 +09D6: unknown_set_actor 1@ sound 5843 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_18801 +09D6: unknown_set_actor 1@ sound 5844 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_18822 +09D6: unknown_set_actor 1@ sound 5845 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_18843 +09D6: unknown_set_actor 1@ sound 5846 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_18864 +09D6: unknown_set_actor 1@ sound 5829 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_18885 +09D6: unknown_set_actor 1@ sound 5830 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_18906 +09D6: unknown_set_actor 1@ sound 5831 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_18927 +09D6: unknown_set_actor 1@ sound 5832 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_18948 +09D6: unknown_set_actor 1@ sound 5833 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_18969 +09D6: unknown_set_actor 1@ sound 5834 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_18990 +09D6: unknown_set_actor 1@ sound 5835 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_19011 +09D6: unknown_set_actor 1@ sound 5836 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_19032 +09D6: unknown_set_actor 1@ sound 5837 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_19053 +09D6: unknown_set_actor 1@ sound 5838 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_19074 +09D6: unknown_set_actor 1@ sound 5839 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_19095 +09D6: unknown_set_actor 1@ sound 5840 flags 1 1 0 +jump @BLACKJ_19185 + +:BLACKJ_19116 +0209: 10@ = random_int_in_ranges 0 2 +if + 10@ == 0 +else_jump @BLACKJ_19164 +09D6: unknown_set_actor 1@ sound 5813 flags 1 1 0 +jump @BLACKJ_19178 + +:BLACKJ_19164 +09D6: unknown_set_actor 1@ sound 5814 flags 1 1 0 + +:BLACKJ_19178 +jump @BLACKJ_19185 + +:BLACKJ_19185 +0967: actor 1@ move_mouth 1500 ms +jump @BLACKJ_19617 + +:BLACKJ_19200 +0871: init_jump_table $BJACK_PLAYER_TOTAL1 total_jumps 10 default_jump 1 @BLACKJ_19540 jumps 12 @BLACKJ_19328 13 @BLACKJ_19349 14 @BLACKJ_19370 15 @BLACKJ_19391 16 @BLACKJ_19412 17 @BLACKJ_19433 18 @BLACKJ_19454 +0872: jump_table_jumps 19 @BLACKJ_19475 20 @BLACKJ_19496 21 @BLACKJ_19517 -1 @BLACKJ_19609 -1 @BLACKJ_19609 -1 @BLACKJ_19609 -1 @BLACKJ_19609 -1 @BLACKJ_19609 -1 @BLACKJ_19609 + +:BLACKJ_19328 +09D6: unknown_set_actor 1@ sound 5801 flags 1 1 0 +jump @BLACKJ_19609 + +:BLACKJ_19349 +09D6: unknown_set_actor 1@ sound 5802 flags 1 1 0 +jump @BLACKJ_19609 + +:BLACKJ_19370 +09D6: unknown_set_actor 1@ sound 5803 flags 1 1 0 +jump @BLACKJ_19609 + +:BLACKJ_19391 +09D6: unknown_set_actor 1@ sound 5804 flags 1 1 0 +jump @BLACKJ_19609 + +:BLACKJ_19412 +09D6: unknown_set_actor 1@ sound 5805 flags 1 1 0 +jump @BLACKJ_19609 + +:BLACKJ_19433 +09D6: unknown_set_actor 1@ sound 5806 flags 1 1 0 +jump @BLACKJ_19609 + +:BLACKJ_19454 +09D6: unknown_set_actor 1@ sound 5807 flags 1 1 0 +jump @BLACKJ_19609 + +:BLACKJ_19475 +09D6: unknown_set_actor 1@ sound 5808 flags 1 1 0 +jump @BLACKJ_19609 + +:BLACKJ_19496 +09D6: unknown_set_actor 1@ sound 5800 flags 1 1 0 +jump @BLACKJ_19609 + +:BLACKJ_19517 +09D6: unknown_set_actor 1@ sound 65535 flags 1 1 0 +jump @BLACKJ_19609 + +:BLACKJ_19540 +0209: 10@ = random_int_in_ranges 0 2 +if + 10@ == 0 +else_jump @BLACKJ_19588 +09D6: unknown_set_actor 1@ sound 5813 flags 1 1 0 +jump @BLACKJ_19602 + +:BLACKJ_19588 +09D6: unknown_set_actor 1@ sound 5814 flags 1 1 0 + +:BLACKJ_19602 +jump @BLACKJ_19609 + +:BLACKJ_19609 +0967: actor 1@ move_mouth 3000 ms + +:BLACKJ_19617 +jump @BLACKJ_21829 + +:BLACKJ_19624 +if + $BJACK_PLAYER_HAS_STUCKED1 == 0 +else_jump @BLACKJ_20739 +if + $BJACK_PLAYER_TOTAL1_B == 0 +else_jump @BLACKJ_20315 +0871: init_jump_table $BJACK_PLAYER_TOTAL1 total_jumps 18 default_jump 1 @BLACKJ_20231 jumps 4 @BLACKJ_19853 5 @BLACKJ_19874 6 @BLACKJ_19895 7 @BLACKJ_19916 8 @BLACKJ_19937 9 @BLACKJ_19958 10 @BLACKJ_19979 +0872: jump_table_jumps 11 @BLACKJ_20000 12 @BLACKJ_20021 13 @BLACKJ_20042 14 @BLACKJ_20063 15 @BLACKJ_20084 16 @BLACKJ_20105 17 @BLACKJ_20126 18 @BLACKJ_20147 19 @BLACKJ_20168 +0872: jump_table_jumps 20 @BLACKJ_20189 21 @BLACKJ_20210 -1 @BLACKJ_20300 -1 @BLACKJ_20300 -1 @BLACKJ_20300 -1 @BLACKJ_20300 -1 @BLACKJ_20300 -1 @BLACKJ_20300 -1 @BLACKJ_20300 + +:BLACKJ_19853 +09D6: unknown_set_actor 1@ sound 5841 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_19874 +09D6: unknown_set_actor 1@ sound 5842 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_19895 +09D6: unknown_set_actor 1@ sound 5843 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_19916 +09D6: unknown_set_actor 1@ sound 5844 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_19937 +09D6: unknown_set_actor 1@ sound 5845 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_19958 +09D6: unknown_set_actor 1@ sound 5846 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_19979 +09D6: unknown_set_actor 1@ sound 5829 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_20000 +09D6: unknown_set_actor 1@ sound 5830 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_20021 +09D6: unknown_set_actor 1@ sound 5831 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_20042 +09D6: unknown_set_actor 1@ sound 5832 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_20063 +09D6: unknown_set_actor 1@ sound 5833 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_20084 +09D6: unknown_set_actor 1@ sound 5834 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_20105 +09D6: unknown_set_actor 1@ sound 5835 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_20126 +09D6: unknown_set_actor 1@ sound 5836 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_20147 +09D6: unknown_set_actor 1@ sound 5837 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_20168 +09D6: unknown_set_actor 1@ sound 5838 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_20189 +09D6: unknown_set_actor 1@ sound 5839 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_20210 +09D6: unknown_set_actor 1@ sound 5840 flags 1 1 0 +jump @BLACKJ_20300 + +:BLACKJ_20231 +0209: 10@ = random_int_in_ranges 0 2 +if + 10@ == 0 +else_jump @BLACKJ_20279 +09D6: unknown_set_actor 1@ sound 5813 flags 1 1 0 +jump @BLACKJ_20293 + +:BLACKJ_20279 +09D6: unknown_set_actor 1@ sound 5814 flags 1 1 0 + +:BLACKJ_20293 +jump @BLACKJ_20300 + +:BLACKJ_20300 +0967: actor 1@ move_mouth 1500 ms +jump @BLACKJ_20732 + +:BLACKJ_20315 +0871: init_jump_table $BJACK_PLAYER_TOTAL1 total_jumps 10 default_jump 1 @BLACKJ_20655 jumps 12 @BLACKJ_20443 13 @BLACKJ_20464 14 @BLACKJ_20485 15 @BLACKJ_20506 16 @BLACKJ_20527 17 @BLACKJ_20548 18 @BLACKJ_20569 +0872: jump_table_jumps 19 @BLACKJ_20590 20 @BLACKJ_20611 21 @BLACKJ_20632 -1 @BLACKJ_20724 -1 @BLACKJ_20724 -1 @BLACKJ_20724 -1 @BLACKJ_20724 -1 @BLACKJ_20724 -1 @BLACKJ_20724 + +:BLACKJ_20443 +09D6: unknown_set_actor 1@ sound 5801 flags 1 1 0 +jump @BLACKJ_20724 + +:BLACKJ_20464 +09D6: unknown_set_actor 1@ sound 5802 flags 1 1 0 +jump @BLACKJ_20724 + +:BLACKJ_20485 +09D6: unknown_set_actor 1@ sound 5803 flags 1 1 0 +jump @BLACKJ_20724 + +:BLACKJ_20506 +09D6: unknown_set_actor 1@ sound 5804 flags 1 1 0 +jump @BLACKJ_20724 + +:BLACKJ_20527 +09D6: unknown_set_actor 1@ sound 5805 flags 1 1 0 +jump @BLACKJ_20724 + +:BLACKJ_20548 +09D6: unknown_set_actor 1@ sound 5806 flags 1 1 0 +jump @BLACKJ_20724 + +:BLACKJ_20569 +09D6: unknown_set_actor 1@ sound 5807 flags 1 1 0 +jump @BLACKJ_20724 + +:BLACKJ_20590 +09D6: unknown_set_actor 1@ sound 5808 flags 1 1 0 +jump @BLACKJ_20724 + +:BLACKJ_20611 +09D6: unknown_set_actor 1@ sound 5800 flags 1 1 0 +jump @BLACKJ_20724 + +:BLACKJ_20632 +09D6: unknown_set_actor 1@ sound 65535 flags 1 1 0 +jump @BLACKJ_20724 + +:BLACKJ_20655 +0209: 10@ = random_int_in_ranges 0 2 +if + 10@ == 0 +else_jump @BLACKJ_20703 +09D6: unknown_set_actor 1@ sound 5813 flags 1 1 0 +jump @BLACKJ_20717 + +:BLACKJ_20703 +09D6: unknown_set_actor 1@ sound 5814 flags 1 1 0 + +:BLACKJ_20717 +jump @BLACKJ_20724 + +:BLACKJ_20724 +0967: actor 1@ move_mouth 3000 ms + +:BLACKJ_20732 +jump @BLACKJ_21829 + +:BLACKJ_20739 +if + $BJACK_PLAYER_TOTAL2_B == 0 +else_jump @BLACKJ_21412 +0871: init_jump_table $BJACK_PLAYER_TOTAL2 total_jumps 18 default_jump 1 @BLACKJ_21328 jumps 4 @BLACKJ_20950 5 @BLACKJ_20971 6 @BLACKJ_20992 7 @BLACKJ_21013 8 @BLACKJ_21034 9 @BLACKJ_21055 10 @BLACKJ_21076 +0872: jump_table_jumps 11 @BLACKJ_21097 12 @BLACKJ_21118 13 @BLACKJ_21139 14 @BLACKJ_21160 15 @BLACKJ_21181 16 @BLACKJ_21202 17 @BLACKJ_21223 18 @BLACKJ_21244 19 @BLACKJ_21265 +0872: jump_table_jumps 20 @BLACKJ_21286 21 @BLACKJ_21307 -1 @BLACKJ_21397 -1 @BLACKJ_21397 -1 @BLACKJ_21397 -1 @BLACKJ_21397 -1 @BLACKJ_21397 -1 @BLACKJ_21397 -1 @BLACKJ_21397 + +:BLACKJ_20950 +09D6: unknown_set_actor 1@ sound 5841 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_20971 +09D6: unknown_set_actor 1@ sound 5842 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_20992 +09D6: unknown_set_actor 1@ sound 5843 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21013 +09D6: unknown_set_actor 1@ sound 5844 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21034 +09D6: unknown_set_actor 1@ sound 5845 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21055 +09D6: unknown_set_actor 1@ sound 5846 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21076 +09D6: unknown_set_actor 1@ sound 5829 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21097 +09D6: unknown_set_actor 1@ sound 5830 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21118 +09D6: unknown_set_actor 1@ sound 5831 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21139 +09D6: unknown_set_actor 1@ sound 5832 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21160 +09D6: unknown_set_actor 1@ sound 5833 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21181 +09D6: unknown_set_actor 1@ sound 5834 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21202 +09D6: unknown_set_actor 1@ sound 5835 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21223 +09D6: unknown_set_actor 1@ sound 5836 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21244 +09D6: unknown_set_actor 1@ sound 5837 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21265 +09D6: unknown_set_actor 1@ sound 5838 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21286 +09D6: unknown_set_actor 1@ sound 5839 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21307 +09D6: unknown_set_actor 1@ sound 5840 flags 1 1 0 +jump @BLACKJ_21397 + +:BLACKJ_21328 +0209: 10@ = random_int_in_ranges 0 2 +if + 10@ == 0 +else_jump @BLACKJ_21376 +09D6: unknown_set_actor 1@ sound 5813 flags 1 1 0 +jump @BLACKJ_21390 + +:BLACKJ_21376 +09D6: unknown_set_actor 1@ sound 5814 flags 1 1 0 + +:BLACKJ_21390 +jump @BLACKJ_21397 + +:BLACKJ_21397 +0967: actor 1@ move_mouth 1500 ms +jump @BLACKJ_21829 + +:BLACKJ_21412 +0871: init_jump_table $BJACK_PLAYER_TOTAL2 total_jumps 10 default_jump 1 @BLACKJ_21752 jumps 12 @BLACKJ_21540 13 @BLACKJ_21561 14 @BLACKJ_21582 15 @BLACKJ_21603 16 @BLACKJ_21624 17 @BLACKJ_21645 18 @BLACKJ_21666 +0872: jump_table_jumps 19 @BLACKJ_21687 20 @BLACKJ_21708 21 @BLACKJ_21729 -1 @BLACKJ_21821 -1 @BLACKJ_21821 -1 @BLACKJ_21821 -1 @BLACKJ_21821 -1 @BLACKJ_21821 -1 @BLACKJ_21821 + +:BLACKJ_21540 +09D6: unknown_set_actor 1@ sound 5801 flags 1 1 0 +jump @BLACKJ_21821 + +:BLACKJ_21561 +09D6: unknown_set_actor 1@ sound 5802 flags 1 1 0 +jump @BLACKJ_21821 + +:BLACKJ_21582 +09D6: unknown_set_actor 1@ sound 5803 flags 1 1 0 +jump @BLACKJ_21821 + +:BLACKJ_21603 +09D6: unknown_set_actor 1@ sound 5804 flags 1 1 0 +jump @BLACKJ_21821 + +:BLACKJ_21624 +09D6: unknown_set_actor 1@ sound 5805 flags 1 1 0 +jump @BLACKJ_21821 + +:BLACKJ_21645 +09D6: unknown_set_actor 1@ sound 5806 flags 1 1 0 +jump @BLACKJ_21821 + +:BLACKJ_21666 +09D6: unknown_set_actor 1@ sound 5807 flags 1 1 0 +jump @BLACKJ_21821 + +:BLACKJ_21687 +09D6: unknown_set_actor 1@ sound 5808 flags 1 1 0 +jump @BLACKJ_21821 + +:BLACKJ_21708 +09D6: unknown_set_actor 1@ sound 5800 flags 1 1 0 +jump @BLACKJ_21821 + +:BLACKJ_21729 +09D6: unknown_set_actor 1@ sound 65535 flags 1 1 0 +jump @BLACKJ_21821 + +:BLACKJ_21752 +0209: 10@ = random_int_in_ranges 0 2 +if + 10@ == 0 +else_jump @BLACKJ_21800 +09D6: unknown_set_actor 1@ sound 5813 flags 1 1 0 +jump @BLACKJ_21814 + +:BLACKJ_21800 +09D6: unknown_set_actor 1@ sound 5814 flags 1 1 0 + +:BLACKJ_21814 +jump @BLACKJ_21821 + +:BLACKJ_21821 +0967: actor 1@ move_mouth 3000 ms + +:BLACKJ_21829 +return +if +0736: is_keyboard_key_just_pressed 67 +else_jump @BLACKJ_21896 +$9307 += 1 +if + $9307 > 7 +else_jump @BLACKJ_21878 +$9307 = 0 + +:BLACKJ_21878 +0663: printint "BJ_CHIP_NUM" $9307 + +:BLACKJ_21896 +if +03CA: object 0@ exists +else_jump @BLACKJ_22215 +if +03CA: object $9208($9307,8i) exists +else_jump @BLACKJ_22215 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset $BJACK_X_CHIP_OFFSET($9307,8f) $BJACK_Y_CHIP_OFFSET($9307,8f) $BJACK_Z_CHIP_OFFSET($9307,8f) +Object.PutAt($9208($9307,8i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +if +0736: is_keyboard_key_just_pressed 131 +else_jump @BLACKJ_22015 +$BJACK_Z_CHIP_OFFSET($9307,8f) += 0.005 + +:BLACKJ_22015 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @BLACKJ_22045 +$BJACK_Z_CHIP_OFFSET($9307,8f) += -0.005 + +:BLACKJ_22045 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @BLACKJ_22075 +$BJACK_X_CHIP_OFFSET($9307,8f) += 0.005 + +:BLACKJ_22075 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @BLACKJ_22105 +$BJACK_X_CHIP_OFFSET($9307,8f) += -0.005 + +:BLACKJ_22105 +if +0736: is_keyboard_key_just_pressed 139 +else_jump @BLACKJ_22135 +$BJACK_Y_CHIP_OFFSET($9307,8f) += 0.005 + +:BLACKJ_22135 +if +0736: is_keyboard_key_just_pressed 145 +else_jump @BLACKJ_22165 +$BJACK_Y_CHIP_OFFSET($9307,8f) += -0.005 + +:BLACKJ_22165 +if +0736: is_keyboard_key_just_pressed 69 +else_jump @BLACKJ_22190 +$9216 += 0.005 + +:BLACKJ_22190 +if +0736: is_keyboard_key_just_pressed 68 +else_jump @BLACKJ_22215 +$9216 += -0.005 + +:BLACKJ_22215 +if +0736: is_keyboard_key_just_pressed 137 +else_jump @BLACKJ_23232 +03A9: save_newline_to_debug_file +05B6: 1 // CURRENT_WANTED_LIST = +03A9: save_newline_to_debug_file +10@ = 0 + +:BLACKJ_22372 +if + 8 > 10@ +else_jump @BLACKJ_23232 +05B6: 2 // MODID, STATUS, PAYOUT, EXP NAME, CROSS OUT +03A7: save_int_to_debug_file 10@ +05B6: 3 // +03A8: save_float_to_debug_file $BJACK_X_CHIP_OFFSET(10@,8f) +03A9: save_newline_to_debug_file +05B6: 4 // +03A7: save_int_to_debug_file 10@ +05B6: 5 // +03A8: save_float_to_debug_file $BJACK_Y_CHIP_OFFSET(10@,8f) +03A9: save_newline_to_debug_file +05B6: 6 // +03A7: save_int_to_debug_file 10@ +05B6: 7 // IMPORT DETAILS +03A8: save_float_to_debug_file $BJACK_Z_CHIP_OFFSET(10@,8f) +03A9: save_newline_to_debug_file +10@ += 1 +jump @BLACKJ_22372 + +:BLACKJ_23232 +return + +:BLACKJ_23234 +008B: 12@ = $BJACK_INITIAL_STAKE // (int) +0093: 13@ = integer 12@ to_float +13@ /= 1.0 +if + 13@ > 10.0 +else_jump @BLACKJ_23291 +13@ = 10.0 + +:BLACKJ_23291 +0092: 11@ = float 13@ to_integer +0093: 14@ = integer 11@ to_float +14@ *= 0.013 +if + 11@ > 0 +else_jump @BLACKJ_23345 +14@ += 0.0 + +:BLACKJ_23345 +0089: 13@ = $9216 // (float) +005B: 13@ += 14@ // (float) +11@ *= -1 +005A: 12@ += 11@ // (int) +if +03CA: object $9208[0] exists +else_jump @BLACKJ_23447 +Object.StorePos($9208[0], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 13@ 13@ $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 0.0 13@ +Object.PutAt($9208[0], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:BLACKJ_23447 +0093: 13@ = integer 12@ to_float +13@ /= 5.0 +if + 13@ > 10.0 +else_jump @BLACKJ_23496 +13@ = 10.0 + +:BLACKJ_23496 +0092: 11@ = float 13@ to_integer +0093: 14@ = integer 11@ to_float +14@ *= 0.013 +if + 11@ > 0 +else_jump @BLACKJ_23550 +14@ += 0.0 + +:BLACKJ_23550 +0089: 13@ = $9216 // (float) +005B: 13@ += 14@ // (float) +11@ *= -5 +005A: 12@ += 11@ // (int) +if +03CA: object $9208[1] exists +else_jump @BLACKJ_23652 +Object.StorePos($9208[1], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 13@ 13@ $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 0.0 13@ +Object.PutAt($9208[1], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:BLACKJ_23652 +0093: 13@ = integer 12@ to_float +13@ /= 10.0 +if + 13@ > 10.0 +else_jump @BLACKJ_23701 +13@ = 10.0 + +:BLACKJ_23701 +0092: 11@ = float 13@ to_integer +0093: 14@ = integer 11@ to_float +14@ *= 0.013 +if + 11@ > 0 +else_jump @BLACKJ_23755 +14@ += 0.0 + +:BLACKJ_23755 +0089: 13@ = $9216 // (float) +005B: 13@ += 14@ // (float) +11@ *= -10 +005A: 12@ += 11@ // (int) +if +03CA: object $9208[2] exists +else_jump @BLACKJ_23857 +Object.StorePos($9208[2], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 13@ 13@ $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 0.0 13@ +Object.PutAt($9208[2], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:BLACKJ_23857 +0093: 13@ = integer 12@ to_float +13@ /= 50.0 +if + 13@ > 10.0 +else_jump @BLACKJ_23906 +13@ = 10.0 + +:BLACKJ_23906 +0092: 11@ = float 13@ to_integer +0093: 14@ = integer 11@ to_float +14@ *= 0.013 +if + 11@ > 0 +else_jump @BLACKJ_23960 +14@ += 0.0 + +:BLACKJ_23960 +0089: 13@ = $9216 // (float) +005B: 13@ += 14@ // (float) +11@ *= -50 +005A: 12@ += 11@ // (int) +if +03CA: object $9208[3] exists +else_jump @BLACKJ_24062 +Object.StorePos($9208[3], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 13@ 13@ $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 0.0 13@ +Object.PutAt($9208[3], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:BLACKJ_24062 +0093: 13@ = integer 12@ to_float +13@ /= 100.0 +if + 13@ > 10.0 +else_jump @BLACKJ_24111 +13@ = 10.0 + +:BLACKJ_24111 +0092: 11@ = float 13@ to_integer +0093: 14@ = integer 11@ to_float +14@ *= 0.013 +if + 11@ > 0 +else_jump @BLACKJ_24165 +14@ += 0.0 + +:BLACKJ_24165 +0089: 13@ = $9216 // (float) +005B: 13@ += 14@ // (float) +11@ *= -100 +005A: 12@ += 11@ // (int) +if +03CA: object $9208[4] exists +else_jump @BLACKJ_24267 +Object.StorePos($9208[4], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 13@ 13@ $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 0.0 13@ +Object.PutAt($9208[4], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:BLACKJ_24267 +0093: 13@ = integer 12@ to_float +13@ /= 200.0 +if + 13@ > 10.0 +else_jump @BLACKJ_24316 +13@ = 10.0 + +:BLACKJ_24316 +0092: 11@ = float 13@ to_integer +0093: 14@ = integer 11@ to_float +14@ *= 0.013 +if + 11@ > 0 +else_jump @BLACKJ_24370 +14@ += 0.0 + +:BLACKJ_24370 +0089: 13@ = $9216 // (float) +005B: 13@ += 14@ // (float) +11@ *= -200 +005A: 12@ += 11@ // (int) +if +03CA: object $9208[5] exists +else_jump @BLACKJ_24473 +Object.StorePos($9208[5], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 13@ 13@ $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 0.0 13@ +Object.PutAt($9208[5], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:BLACKJ_24473 +0093: 13@ = integer 12@ to_float +13@ /= 500.0 +if + 13@ > 10.0 +else_jump @BLACKJ_24522 +13@ = 10.0 + +:BLACKJ_24522 +0092: 11@ = float 13@ to_integer +0093: 14@ = integer 11@ to_float +14@ *= 0.013 +if + 11@ > 0 +else_jump @BLACKJ_24576 +14@ += 0.0 + +:BLACKJ_24576 +0089: 13@ = $9216 // (float) +005B: 13@ += 14@ // (float) +11@ *= -500 +005A: 12@ += 11@ // (int) +if +03CA: object $9208[6] exists +else_jump @BLACKJ_24679 +Object.StorePos($9208[6], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 13@ 13@ $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 0.0 13@ +Object.PutAt($9208[6], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:BLACKJ_24679 +0093: 13@ = integer 12@ to_float +13@ /= 1000.0 +if + 13@ > 10.0 +else_jump @BLACKJ_24728 +13@ = 10.0 + +:BLACKJ_24728 +0092: 11@ = float 13@ to_integer +0093: 14@ = integer 11@ to_float +14@ *= 0.013 +if + 11@ > 0 +else_jump @BLACKJ_24782 +14@ += 0.0 + +:BLACKJ_24782 +0089: 13@ = $9216 // (float) +005B: 13@ += 14@ // (float) +11@ *= -1000 +005A: 12@ += 11@ // (int) +if +03CA: object $9208[7] exists +else_jump @BLACKJ_24885 +Object.StorePos($9208[7], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 13@ 13@ $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 0.0 13@ +Object.PutAt($9208[7], $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:BLACKJ_24885 +return + +:BLACKJ_24887 +03E3: set_texture_to_be_drawn_antialiased 0 +0937: text_draw_box_cornerA $BJACK_X_SCREENPOS[0] $BJACK_Y_SCREENPOS[0] cornerB $BJACK_X_SCREENPOS[1] $BJACK_Y_SCREENPOS[1] GXT_reference 'BJ_TITL' style 2 +gosub @BLACKJ_34072 +03E3: set_texture_to_be_drawn_antialiased 0 +0340: set_text_draw_RGBA 134 155 184 255 +033E: set_draw_text_position $BJACK_X_SCREENPOS[2] $BJACK_Y_SCREENPOS[2] GXT 'BJ_01' +gosub @BLACKJ_34072 +03E3: set_texture_to_be_drawn_antialiased 0 +033F: set_text_draw_letter_size 0.625 2.788 +045A: draw_text_1number $BJACK_X_SCREENPOS[3] $BJACK_Y_SCREENPOS[3] GXT 'DOLLAR' number $BJACK_INITIAL_STAKE +gosub @BLACKJ_34072 +03E3: set_texture_to_be_drawn_antialiased 0 +0340: set_text_draw_RGBA 134 155 184 255 +033E: set_draw_text_position $BJACK_X_SCREENPOS[4] $BJACK_Y_SCREENPOS[4] GXT 'BJ_02' +gosub @BLACKJ_34072 +03E3: set_texture_to_be_drawn_antialiased 0 +033F: set_text_draw_letter_size 0.625 2.788 +045A: draw_text_1number $BJACK_X_SCREENPOS[5] $BJACK_Y_SCREENPOS[5] GXT 'DOLLAR' number 30@ +gosub @BLACKJ_34072 +03E3: set_texture_to_be_drawn_antialiased 0 +0340: set_text_draw_RGBA 134 155 184 255 +033E: set_draw_text_position $BJACK_X_SCREENPOS[6] $BJACK_Y_SCREENPOS[6] GXT 'BJ_03' +gosub @BLACKJ_34072 +03E3: set_texture_to_be_drawn_antialiased 0 +033F: set_text_draw_letter_size 0.625 2.788 +045A: draw_text_1number $BJACK_X_SCREENPOS[7] $BJACK_Y_SCREENPOS[7] GXT 'DOLLAR' number 29@ +return + +:BLACKJ_25173 +03E3: set_texture_to_be_drawn_antialiased 0 +0937: text_draw_box_cornerA $BJACK_X_SCREENPOS[8] $BJACK_Y_SCREENPOS[8] cornerB $BJACK_X_SCREENPOS[9] $BJACK_Y_SCREENPOS[9] GXT_reference 'BJ_TITL' style 2 +gosub @BLACKJ_34072 +03E3: set_texture_to_be_drawn_antialiased 0 +0340: set_text_draw_RGBA 134 155 184 255 +033E: set_draw_text_position $BJACK_X_SCREENPOS[10] $BJACK_Y_SCREENPOS[10] GXT 'BJ_01' +gosub @BLACKJ_34072 +03E3: set_texture_to_be_drawn_antialiased 0 +033F: set_text_draw_letter_size 0.625 2.788 +045A: draw_text_1number $BJACK_X_SCREENPOS[11] $BJACK_Y_SCREENPOS[11] GXT 'DOLLAR' number $BJACK_INITIAL_STAKE +gosub @BLACKJ_34072 +03E3: set_texture_to_be_drawn_antialiased 0 +0340: set_text_draw_RGBA 134 155 184 255 +033E: set_draw_text_position $BJACK_X_SCREENPOS[12] $BJACK_Y_SCREENPOS[12] GXT 'BJ_04' +gosub @BLACKJ_34072 +03E3: set_texture_to_be_drawn_antialiased 0 +033F: set_text_draw_letter_size 0.625 2.788 +if + 2@ > 4 +else_jump @BLACKJ_25487 +if + $BJACK_DEALER_TOTAL2 == 0 +else_jump @BLACKJ_25457 +if + $BJACK_DEALER_TOTAL > 21 +else_jump @BLACKJ_25430 +033E: set_draw_text_position $BJACK_X_SCREENPOS[13] $BJACK_Y_SCREENPOS[13] GXT 'BJ_BUST' +jump @BLACKJ_25450 + +:BLACKJ_25430 +045A: draw_text_1number $BJACK_X_SCREENPOS[13] $BJACK_Y_SCREENPOS[13] GXT 'BJ_0' number $BJACK_DEALER_TOTAL + +:BLACKJ_25450 +jump @BLACKJ_25480 + +:BLACKJ_25457 +045B: draw_text_2numbers $BJACK_X_SCREENPOS[14] $BJACK_Y_SCREENPOS[14] GXT 'BJ_OR2' numbers $BJACK_DEALER_TOTAL $BJACK_DEALER_TOTAL2 + +:BLACKJ_25480 +jump @BLACKJ_25504 + +:BLACKJ_25487 +033E: set_draw_text_position $BJACK_X_SCREENPOS[13] $BJACK_Y_SCREENPOS[13] GXT 'BJ_HIDE' + +:BLACKJ_25504 +gosub @BLACKJ_34072 +03E3: set_texture_to_be_drawn_antialiased 0 +0340: set_text_draw_RGBA 134 155 184 255 +033E: set_draw_text_position $BJACK_X_SCREENPOS[15] $BJACK_Y_SCREENPOS[15] GXT 'BJ_05' +if + $BJACK_PLAYER_TOTAL2 == 0 +else_jump @BLACKJ_25704 +gosub @BLACKJ_34072 +03E3: set_texture_to_be_drawn_antialiased 0 +033F: set_text_draw_letter_size 0.625 2.788 +if + $BJACK_PLAYER_TOTAL1_B == 0 +else_jump @BLACKJ_25674 +if + $BJACK_PLAYER_TOTAL1 > 21 +else_jump @BLACKJ_25647 +033E: set_draw_text_position $BJACK_X_SCREENPOS[16] $BJACK_Y_SCREENPOS[16] GXT 'BJ_BUST' +jump @BLACKJ_25667 + +:BLACKJ_25647 +045A: draw_text_1number $BJACK_X_SCREENPOS[16] $BJACK_Y_SCREENPOS[16] GXT 'BJ_0' number $BJACK_PLAYER_TOTAL1 + +:BLACKJ_25667 +jump @BLACKJ_25697 + +:BLACKJ_25674 +045B: draw_text_2numbers $BJACK_X_SCREENPOS[17] $BJACK_Y_SCREENPOS[17] GXT 'BJ_OR2' numbers $BJACK_PLAYER_TOTAL1 $BJACK_PLAYER_TOTAL1_B + +:BLACKJ_25697 +jump @BLACKJ_25970 + +:BLACKJ_25704 +gosub @BLACKJ_34072 +03E3: set_texture_to_be_drawn_antialiased 0 +033F: set_text_draw_letter_size 0.625 2.788 +if + $BJACK_PLAYER_TOTAL1_B == 0 +else_jump @BLACKJ_25814 +if + $BJACK_PLAYER_TOTAL1 > 21 +else_jump @BLACKJ_25787 +033E: set_draw_text_position $BJACK_X_SCREENPOS[18] $BJACK_Y_SCREENPOS[18] GXT 'BJ_BUST' +jump @BLACKJ_25807 + +:BLACKJ_25787 +045A: draw_text_1number $BJACK_X_SCREENPOS[18] $BJACK_Y_SCREENPOS[18] GXT 'BJ_0' number $BJACK_PLAYER_TOTAL1 + +:BLACKJ_25807 +jump @BLACKJ_25837 + +:BLACKJ_25814 +045B: draw_text_2numbers $BJACK_X_SCREENPOS[19] $BJACK_Y_SCREENPOS[19] GXT 'BJ_OR2' numbers $BJACK_PLAYER_TOTAL1 $BJACK_PLAYER_TOTAL1_B + +:BLACKJ_25837 +gosub @BLACKJ_34072 +03E3: set_texture_to_be_drawn_antialiased 0 +033F: set_text_draw_letter_size 0.625 2.788 +if + $BJACK_PLAYER_TOTAL2_B == 0 +else_jump @BLACKJ_25947 +if + $BJACK_PLAYER_TOTAL2 > 21 +else_jump @BLACKJ_25920 +033E: set_draw_text_position $BJACK_X_SCREENPOS[20] $BJACK_Y_SCREENPOS[20] GXT 'BJ_BUST' +jump @BLACKJ_25940 + +:BLACKJ_25920 +045A: draw_text_1number $BJACK_X_SCREENPOS[20] $BJACK_Y_SCREENPOS[20] GXT 'BJ_0' number $BJACK_PLAYER_TOTAL2 + +:BLACKJ_25940 +jump @BLACKJ_25970 + +:BLACKJ_25947 +045B: draw_text_2numbers $BJACK_X_SCREENPOS[21] $BJACK_Y_SCREENPOS[21] GXT 'BJ_OR2' numbers $BJACK_PLAYER_TOTAL2 $BJACK_PLAYER_TOTAL2_B + +:BLACKJ_25970 +return +if +0736: is_keyboard_key_just_pressed 76 +else_jump @BLACKJ_26046 +$9308 += 1 +if + $9308 > 26 +else_jump @BLACKJ_26019 +$9308 = -1 + +:BLACKJ_26019 +0663: printint "SCREEN_POSITION_EDIT" $9308 + +:BLACKJ_26046 +if + $9308 > -1 +else_jump @BLACKJ_26184 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @BLACKJ_26094 +$BJACK_X_SCREENPOS($9308,27f) += 1.0 + +:BLACKJ_26094 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @BLACKJ_26124 +$BJACK_X_SCREENPOS($9308,27f) += -1.0 + +:BLACKJ_26124 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @BLACKJ_26154 +$BJACK_Y_SCREENPOS($9308,27f) += -1.0 + +:BLACKJ_26154 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @BLACKJ_26184 +$BJACK_Y_SCREENPOS($9308,27f) += 1.0 + +:BLACKJ_26184 +if + $9308 > -1 +else_jump @BLACKJ_26943 +if +0736: is_keyboard_key_just_pressed 137 +else_jump @BLACKJ_26943 +03A9: save_newline_to_debug_file +05B6: 8 // MODID, IMP NAME +10@ = 0 + +:BLACKJ_26357 +if + 27 > 10@ +else_jump @BLACKJ_26941 +03A9: save_newline_to_debug_file +05B6: 9 // +03A7: save_int_to_debug_file 10@ +05B6: 10 // UNLOCKED_IMPORT_CARS ARRAY +03A8: save_float_to_debug_file $BJACK_X_SCREENPOS(10@,27f) +03A9: save_newline_to_debug_file +05B6: 11 // UNLOCKED_IMPORT_CARS[ +03A7: save_int_to_debug_file 10@ +05B6: 12 // ] = +03A8: save_float_to_debug_file $BJACK_Y_SCREENPOS(10@,27f) +10@ += 1 +jump @BLACKJ_26357 + +:BLACKJ_26941 +03A9: save_newline_to_debug_file + +:BLACKJ_26943 +return +if +0736: is_keyboard_key_just_pressed 66 +else_jump @BLACKJ_27309 +$9309 += 1 +if + $9309 > 7 +else_jump @BLACKJ_26992 +$9309 = 0 + +:BLACKJ_26992 +if + $9309 == 1 +else_jump @BLACKJ_27028 +0662: printstring "EDIT_CARD_SIZE" + +:BLACKJ_27028 +if + $9309 == 2 +else_jump @BLACKJ_27071 +0662: printstring "EDIT_CARD_POSITIONS_X" + +:BLACKJ_27071 +if + $9309 == 3 +else_jump @BLACKJ_27121 +0662: printstring "EDIT_PLAYERS_CARD_POSITION_1" + +:BLACKJ_27121 +if + $9309 == 4 +else_jump @BLACKJ_27172 +0662: printstring "EDIT_PLAYERS_CARD_POSITION_1B" + +:BLACKJ_27172 +if + $9309 == 5 +else_jump @BLACKJ_27222 +0662: printstring "EDIT_PLAYERS_CARD_POSITION_2" + +:BLACKJ_27222 +if + $9309 == 6 +else_jump @BLACKJ_27270 +0662: printstring "EDIT_DEALERS_CARD_POSITION" + +:BLACKJ_27270 +if + $9309 == 7 +else_jump @BLACKJ_27309 +0662: printstring "EDIT_BORDER_WIDTH" + +:BLACKJ_27309 +if + $9309 == 1 +else_jump @BLACKJ_27521 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @BLACKJ_27360 +$BJACK_CARD_HEIGHT += 1.0 +gosub @BLACKJ_32419 + +:BLACKJ_27360 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @BLACKJ_27424 +$BJACK_CARD_HEIGHT += -1.0 +if + 1.0 > $BJACK_CARD_HEIGHT +else_jump @BLACKJ_27417 +$BJACK_CARD_HEIGHT = 1.0 + +:BLACKJ_27417 +gosub @BLACKJ_32419 + +:BLACKJ_27424 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @BLACKJ_27457 +$BJACK_CARD_WIDTH += 1.0 +gosub @BLACKJ_32419 + +:BLACKJ_27457 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @BLACKJ_27521 +$BJACK_CARD_WIDTH += -1.0 +if + 1.0 > $BJACK_CARD_WIDTH +else_jump @BLACKJ_27514 +$BJACK_CARD_WIDTH = 1.0 + +:BLACKJ_27514 +gosub @BLACKJ_32419 + +:BLACKJ_27521 +if + $9309 == 2 +else_jump @BLACKJ_27645 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @BLACKJ_27592 +$9087[0] += 1.0 +$9103[0] += 1.0 +$9119[0] += 1.0 +gosub @BLACKJ_32419 + +:BLACKJ_27592 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @BLACKJ_27645 +$9087[0] += -1.0 +$9103[0] += -1.0 +$9119[0] += -1.0 +gosub @BLACKJ_32419 + +:BLACKJ_27645 +if + $9309 == 3 +else_jump @BLACKJ_27729 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @BLACKJ_27696 +$9095[0] += -1.0 +gosub @BLACKJ_32419 + +:BLACKJ_27696 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @BLACKJ_27729 +$9095[0] += 1.0 +gosub @BLACKJ_32419 + +:BLACKJ_27729 +if + $9309 == 4 +else_jump @BLACKJ_27813 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @BLACKJ_27780 +$9111[0] += -1.0 +gosub @BLACKJ_32419 + +:BLACKJ_27780 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @BLACKJ_27813 +$9111[0] += 1.0 +gosub @BLACKJ_32419 + +:BLACKJ_27813 +if + $9309 == 5 +else_jump @BLACKJ_27897 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @BLACKJ_27864 +$9127[0] += -1.0 +gosub @BLACKJ_32419 + +:BLACKJ_27864 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @BLACKJ_27897 +$9127[0] += 1.0 +gosub @BLACKJ_32419 + +:BLACKJ_27897 +if + $9309 == 6 +else_jump @BLACKJ_28047 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @BLACKJ_27948 +$BJACK_X_PLAYER_SPRITE[0] += 1.0 +gosub @BLACKJ_32419 + +:BLACKJ_27948 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @BLACKJ_27981 +$BJACK_X_PLAYER_SPRITE[0] += -1.0 +gosub @BLACKJ_32419 + +:BLACKJ_27981 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @BLACKJ_28014 +$BJACK_Y_PLAYER_SPRITE[0] += -1.0 +gosub @BLACKJ_32419 + +:BLACKJ_28014 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @BLACKJ_28047 +$BJACK_Y_PLAYER_SPRITE[0] += 1.0 +gosub @BLACKJ_32419 + +:BLACKJ_28047 +if + $9309 == 7 +else_jump @BLACKJ_28117 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @BLACKJ_28091 +$BJACK_BORDER_WIDTH += 1.0 + +:BLACKJ_28091 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @BLACKJ_28117 +$BJACK_BORDER_WIDTH += -1.0 + +:BLACKJ_28117 +if + $9309 > 0 +else_jump @BLACKJ_29792 +if +0736: is_keyboard_key_just_pressed 137 +else_jump @BLACKJ_29792 +03A9: save_newline_to_debug_file +05B6: 13 // EDIT_X1 = +03A9: save_newline_to_debug_file +05B6: 14 // EDIT_Y1 = +03A8: save_float_to_debug_file $BJACK_CARD_WIDTH +03A9: save_newline_to_debug_file +05B6: 15 // EDIT_X2 = +03A8: save_float_to_debug_file $BJACK_CARD_HEIGHT +03A9: save_newline_to_debug_file +05B6: 16 // EDIT_Y2 = +03A8: save_float_to_debug_file $9087[0] +03A9: save_newline_to_debug_file +05B6: 17 // BUTT_ANGLE = +03A8: save_float_to_debug_file $9095[0] +03A9: save_newline_to_debug_file +05B6: 18 // RAISE_CUE = +03A8: save_float_to_debug_file $9103[0] +03A9: save_newline_to_debug_file +05B6: 19 // CUE_X_CORRECTION = +03A8: save_float_to_debug_file $9111[0] +03A9: save_newline_to_debug_file +05B6: 20 // CUE BALL DATA = +03A8: save_float_to_debug_file $9119[0] +03A9: save_newline_to_debug_file +05B6: 21 // BALL +03A8: save_float_to_debug_file $9127[0] +03A9: save_newline_to_debug_file +05B6: 22 // POCKET +03A8: save_float_to_debug_file $BJACK_X_PLAYER_SPRITE[0] +03A9: save_newline_to_debug_file +05B6: 23 // REQUIRED ANGLE = +03A8: save_float_to_debug_file $BJACK_Y_PLAYER_SPRITE[0] +03A9: save_newline_to_debug_file +05B6: 24 // POCKET_PATH_SCORE = +03A8: save_float_to_debug_file $BJACK_BORDER_WIDTH +03A9: save_newline_to_debug_file + +:BLACKJ_29792 +return + +:BLACKJ_29794 +if + $BJACK_FLAG_CARD_CHEAT == 0 +else_jump @BLACKJ_29831 +$BJACK_CARD_ID = 0 +059E: get_card_to $BJACK_CARD_ID +jump @BLACKJ_29839 + +:BLACKJ_29831 +0084: $BJACK_CARD_ID = $BJACK_CHEAT_CARD_ID // (int) + +:BLACKJ_29839 +if + not Actor.Dead(1@) +else_jump @BLACKJ_29893 +0605: actor 1@ perform_animation "DEALONE" IFP "CASINO" framedelta 6.0 loop 0 lockX 0 lockY 0 lockF 0 time 500 + +:BLACKJ_29893 +return + +:BLACKJ_29895 +if +876F: not text_priority_displayed +else_jump @BLACKJ_31248 +if + $BJACK_PLAYER_HAS_SPLIT == 0 +else_jump @BLACKJ_30130 +0089: 13@ = $BJACK_CARD_WIDTH // (float) +13@ /= 2.0 +0086: $TEMPVAR_FLOAT_1 = $9087[0] // (float) +0067: $TEMPVAR_FLOAT_1 -= 13@ // (float) +0061: $TEMPVAR_FLOAT_1 -= $BJACK_BORDER_WIDTH // (float) +0089: 13@ = $BJACK_CARD_HEIGHT // (float) +13@ /= 2.0 +0086: $TEMPVAR_FLOAT_2 = $9095[0] // (float) +0067: $TEMPVAR_FLOAT_2 -= 13@ // (float) +0061: $TEMPVAR_FLOAT_2 -= $BJACK_BORDER_WIDTH // (float) +0089: 13@ = $BJACK_CARD_WIDTH // (float) +13@ /= 2.0 +0089: 17@ = $9087[4] // (float) +005B: 17@ += 13@ // (float) +005D: 17@ += $BJACK_BORDER_WIDTH // (float) +0089: 13@ = $BJACK_CARD_HEIGHT // (float) +13@ /= 2.0 +0089: 18@ = $9095[4] // (float) +005B: 18@ += 13@ // (float) +005D: 18@ += $BJACK_BORDER_WIDTH // (float) +03E3: set_texture_to_be_drawn_antialiased 1 +0937: text_draw_box_cornerA $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 cornerB 17@ 18@ GXT_reference 'DUMMY' style 0 +jump @BLACKJ_30327 + +:BLACKJ_30130 +0089: 13@ = $BJACK_CARD_WIDTH // (float) +13@ /= 2.0 +0086: $TEMPVAR_FLOAT_1 = $9103[0] // (float) +0067: $TEMPVAR_FLOAT_1 -= 13@ // (float) +0061: $TEMPVAR_FLOAT_1 -= $BJACK_BORDER_WIDTH // (float) +0089: 13@ = $BJACK_CARD_HEIGHT // (float) +13@ /= 2.0 +0086: $TEMPVAR_FLOAT_2 = $9111[0] // (float) +0067: $TEMPVAR_FLOAT_2 -= 13@ // (float) +0061: $TEMPVAR_FLOAT_2 -= $BJACK_BORDER_WIDTH // (float) +0089: 13@ = $BJACK_CARD_WIDTH // (float) +13@ /= 2.0 +0089: 17@ = $9119[4] // (float) +005B: 17@ += 13@ // (float) +005D: 17@ += $BJACK_BORDER_WIDTH // (float) +0089: 13@ = $BJACK_CARD_HEIGHT // (float) +13@ /= 2.0 +0089: 18@ = $9127[4] // (float) +005B: 18@ += 13@ // (float) +005D: 18@ += $BJACK_BORDER_WIDTH // (float) +03E3: set_texture_to_be_drawn_antialiased 1 +0937: text_draw_box_cornerA $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 cornerB 17@ 18@ GXT_reference 'DUMMY' style 0 + +:BLACKJ_30327 +if and +8A2A: not text_box 'SGPUNT' displayed +8A2A: not text_box 'SGGAMB' displayed +8A2A: not text_box 'SGPROF' displayed +8A2A: not text_box 'SGHIRO' displayed +else_jump @BLACKJ_30579 +0089: 13@ = $BJACK_CARD_WIDTH // (float) +13@ /= 2.0 +0086: $TEMPVAR_FLOAT_1 = $BJACK_X_PLAYER_SPRITE[0] // (float) +0067: $TEMPVAR_FLOAT_1 -= 13@ // (float) +0061: $TEMPVAR_FLOAT_1 -= $BJACK_BORDER_WIDTH // (float) +0089: 13@ = $BJACK_CARD_HEIGHT // (float) +13@ /= 2.0 +0086: $TEMPVAR_FLOAT_2 = $BJACK_Y_PLAYER_SPRITE[0] // (float) +0067: $TEMPVAR_FLOAT_2 -= 13@ // (float) +0061: $TEMPVAR_FLOAT_2 -= $BJACK_BORDER_WIDTH // (float) +0089: 13@ = $BJACK_CARD_WIDTH // (float) +13@ /= 2.0 +0089: 17@ = $BJACK_X_PLAYER_SPRITE[4] // (float) +005B: 17@ += 13@ // (float) +005D: 17@ += $BJACK_BORDER_WIDTH // (float) +0089: 13@ = $BJACK_CARD_HEIGHT // (float) +13@ /= 2.0 +0089: 18@ = $BJACK_Y_PLAYER_SPRITE[4] // (float) +005B: 18@ += 13@ // (float) +005D: 18@ += $BJACK_BORDER_WIDTH // (float) +03E3: set_texture_to_be_drawn_antialiased 1 +0937: text_draw_box_cornerA $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 cornerB 17@ 18@ GXT_reference 'DUMMY' style 0 + +:BLACKJ_30579 +$9311 = 0 + +:BLACKJ_30586 +if + 8 > $9311 +else_jump @BLACKJ_31248 +if + $BJACK_PLAYER_HAS_SPLIT == 0 +else_jump @BLACKJ_30696 +if + not $9149($9311,8i) == 0 +else_jump @BLACKJ_30689 +03E3: set_texture_to_be_drawn_antialiased 1 +038D: draw_texture $9149($9311,8i) position $9087($9311,8f) $9095($9311,8f) size $BJACK_CARD_WIDTH $BJACK_CARD_HEIGHT RGBA 128 128 128 255 + +:BLACKJ_30689 +jump @BLACKJ_30830 + +:BLACKJ_30696 +if + not $9149($9311,8i) == 0 +else_jump @BLACKJ_30763 +03E3: set_texture_to_be_drawn_antialiased 1 +038D: draw_texture $9149($9311,8i) position $9103($9311,8f) $9111($9311,8f) size $BJACK_CARD_WIDTH $BJACK_CARD_HEIGHT RGBA 128 128 128 255 + +:BLACKJ_30763 +if + not $9157($9311,8i) == 0 +else_jump @BLACKJ_30830 +03E3: set_texture_to_be_drawn_antialiased 1 +038D: draw_texture $9157($9311,8i) position $9119($9311,8f) $9127($9311,8f) size $BJACK_CARD_WIDTH $BJACK_CARD_HEIGHT RGBA 128 128 128 255 + +:BLACKJ_30830 +if and +8A2A: not text_box 'SGPUNT' displayed +8A2A: not text_box 'SGGAMB' displayed +8A2A: not text_box 'SGPROF' displayed +8A2A: not text_box 'SGHIRO' displayed +else_jump @BLACKJ_31229 +if + not $9141($9311,8i) == 0 +else_jump @BLACKJ_31222 +if + $9311 == 0 +else_jump @BLACKJ_31177 +if + $BJACK_PLAYER_HAS_SPLIT == 0 +else_jump @BLACKJ_31060 +if + $BJACK_PLAYER_HAS_STUCKED1 == 0 +else_jump @BLACKJ_31008 +03E3: set_texture_to_be_drawn_antialiased 1 +038D: draw_texture 53 position $BJACK_X_PLAYER_SPRITE($9311,8f) $BJACK_Y_PLAYER_SPRITE($9311,8f) size $BJACK_CARD_WIDTH $BJACK_CARD_HEIGHT RGBA 128 128 128 255 +jump @BLACKJ_31053 + +:BLACKJ_31008 +03E3: set_texture_to_be_drawn_antialiased 1 +038D: draw_texture $9141($9311,8i) position $BJACK_X_PLAYER_SPRITE($9311,8f) $BJACK_Y_PLAYER_SPRITE($9311,8f) size $BJACK_CARD_WIDTH $BJACK_CARD_HEIGHT RGBA 128 128 128 255 + +:BLACKJ_31053 +jump @BLACKJ_31170 + +:BLACKJ_31060 +if + $BJACK_PLAYER_HAS_STUCKED2 == 0 +else_jump @BLACKJ_31125 +03E3: set_texture_to_be_drawn_antialiased 1 +038D: draw_texture 53 position $BJACK_X_PLAYER_SPRITE($9311,8f) $BJACK_Y_PLAYER_SPRITE($9311,8f) size $BJACK_CARD_WIDTH $BJACK_CARD_HEIGHT RGBA 128 128 128 255 +jump @BLACKJ_31170 + +:BLACKJ_31125 +03E3: set_texture_to_be_drawn_antialiased 1 +038D: draw_texture $9141($9311,8i) position $BJACK_X_PLAYER_SPRITE($9311,8f) $BJACK_Y_PLAYER_SPRITE($9311,8f) size $BJACK_CARD_WIDTH $BJACK_CARD_HEIGHT RGBA 128 128 128 255 + +:BLACKJ_31170 +jump @BLACKJ_31222 + +:BLACKJ_31177 +03E3: set_texture_to_be_drawn_antialiased 1 +038D: draw_texture $9141($9311,8i) position $BJACK_X_PLAYER_SPRITE($9311,8f) $BJACK_Y_PLAYER_SPRITE($9311,8f) size $BJACK_CARD_WIDTH $BJACK_CARD_HEIGHT RGBA 128 128 128 255 + +:BLACKJ_31222 +jump @BLACKJ_31234 + +:BLACKJ_31229 +0989: set_text_boxes_width 200 + +:BLACKJ_31234 +$9311 += 1 +jump @BLACKJ_30586 + +:BLACKJ_31248 +return + +:BLACKJ_31250 +$BJACK_DEALER_TOTAL = 0 +$BJACK_DEALER_TOTAL2 = 0 +$BJACK_PLAYER_TOTAL1 = 0 +$BJACK_PLAYER_TOTAL1_B = 0 +$BJACK_PLAYER_TOTAL2 = 0 +$BJACK_PLAYER_TOTAL2_B = 0 +$BJACK_DEALER_GOT_ACE = 0 +$BJACK_PLAYER_GOT_ACE1 = 0 +$BJACK_PLAYER_GOT_ACE2 = 0 +$9312 = 0 + +:BLACKJ_31320 +if + 8 > $9312 +else_jump @BLACKJ_31805 +if + not $9141($9312,8i) == 0 +else_jump @BLACKJ_31489 +0084: $9313 = $9141($9312,8i) // (int) +0084: $9314 = $9313 // (int) +gosub @BLACKJ_32080 +0084: $9313 = $9315 // (int) +if + $9313 == 1 +else_jump @BLACKJ_31473 +if + $BJACK_DEALER_GOT_ACE == 0 +else_jump @BLACKJ_31452 +$BJACK_DEALER_TOTAL += 11 +$BJACK_DEALER_GOT_ACE = 1 +jump @BLACKJ_31459 + +:BLACKJ_31452 +$BJACK_DEALER_TOTAL += 1 + +:BLACKJ_31459 +$BJACK_DEALER_TOTAL2 += 1 +jump @BLACKJ_31489 + +:BLACKJ_31473 +0058: $BJACK_DEALER_TOTAL += $9313 // (int) +0058: $BJACK_DEALER_TOTAL2 += $9313 // (int) + +:BLACKJ_31489 +if + not $9149($9312,8i) == 0 +else_jump @BLACKJ_31640 +0084: $9313 = $9149($9312,8i) // (int) +0084: $9314 = $9313 // (int) +gosub @BLACKJ_32080 +0084: $9313 = $9315 // (int) +if + $9313 == 1 +else_jump @BLACKJ_31624 +if + $BJACK_PLAYER_GOT_ACE1 == 0 +else_jump @BLACKJ_31603 +$BJACK_PLAYER_TOTAL1 += 11 +$BJACK_PLAYER_GOT_ACE1 = 1 +jump @BLACKJ_31610 + +:BLACKJ_31603 +$BJACK_PLAYER_TOTAL1 += 1 + +:BLACKJ_31610 +$BJACK_PLAYER_TOTAL1_B += 1 +jump @BLACKJ_31640 + +:BLACKJ_31624 +0058: $BJACK_PLAYER_TOTAL1 += $9313 // (int) +0058: $BJACK_PLAYER_TOTAL1_B += $9313 // (int) + +:BLACKJ_31640 +if + not $9157($9312,8i) == 0 +else_jump @BLACKJ_31791 +0084: $9313 = $9157($9312,8i) // (int) +0084: $9314 = $9313 // (int) +gosub @BLACKJ_32080 +0084: $9313 = $9315 // (int) +if + $9313 == 1 +else_jump @BLACKJ_31775 +if + $BJACK_PLAYER_GOT_ACE2 == 0 +else_jump @BLACKJ_31754 +$BJACK_PLAYER_TOTAL2 += 11 +$BJACK_PLAYER_GOT_ACE2 = 1 +jump @BLACKJ_31761 + +:BLACKJ_31754 +$BJACK_PLAYER_TOTAL2 += 1 + +:BLACKJ_31761 +$BJACK_PLAYER_TOTAL2_B += 1 +jump @BLACKJ_31791 + +:BLACKJ_31775 +0058: $BJACK_PLAYER_TOTAL2 += $9313 // (int) +0058: $BJACK_PLAYER_TOTAL2_B += $9313 // (int) + +:BLACKJ_31791 +$9312 += 1 +jump @BLACKJ_31320 + +:BLACKJ_31805 +if +001C: $BJACK_DEALER_TOTAL > $BJACK_DEALER_TOTAL2 // (int) +else_jump @BLACKJ_31889 +if + $BJACK_DEALER_TOTAL > 21 +else_jump @BLACKJ_31857 +0084: $BJACK_DEALER_TOTAL = $BJACK_DEALER_TOTAL2 // (int) +$BJACK_DEALER_TOTAL2 = 0 + +:BLACKJ_31857 +if + $BJACK_DEALER_TOTAL == 21 +else_jump @BLACKJ_31882 +$BJACK_DEALER_TOTAL2 = 0 + +:BLACKJ_31882 +jump @BLACKJ_31896 + +:BLACKJ_31889 +$BJACK_DEALER_TOTAL2 = 0 + +:BLACKJ_31896 +if +001C: $BJACK_PLAYER_TOTAL1 > $BJACK_PLAYER_TOTAL1_B // (int) +else_jump @BLACKJ_31980 +if + $BJACK_PLAYER_TOTAL1 > 21 +else_jump @BLACKJ_31948 +0084: $BJACK_PLAYER_TOTAL1 = $BJACK_PLAYER_TOTAL1_B // (int) +$BJACK_PLAYER_TOTAL1_B = 0 + +:BLACKJ_31948 +if + $BJACK_PLAYER_TOTAL1 == 21 +else_jump @BLACKJ_31973 +$BJACK_PLAYER_TOTAL1_B = 0 + +:BLACKJ_31973 +jump @BLACKJ_31987 + +:BLACKJ_31980 +$BJACK_PLAYER_TOTAL1_B = 0 + +:BLACKJ_31987 +if +001C: $BJACK_PLAYER_TOTAL2 > $BJACK_PLAYER_TOTAL2_B // (int) +else_jump @BLACKJ_32071 +if + $BJACK_PLAYER_TOTAL2 > 21 +else_jump @BLACKJ_32039 +0084: $BJACK_PLAYER_TOTAL2 = $BJACK_PLAYER_TOTAL2_B // (int) +$BJACK_PLAYER_TOTAL2_B = 0 + +:BLACKJ_32039 +if + $BJACK_PLAYER_TOTAL2 == 21 +else_jump @BLACKJ_32064 +$BJACK_PLAYER_TOTAL2_B = 0 + +:BLACKJ_32064 +jump @BLACKJ_32078 + +:BLACKJ_32071 +$BJACK_PLAYER_TOTAL2_B = 0 + +:BLACKJ_32078 +return + +:BLACKJ_32080 +if + 14 > $9314 +else_jump @BLACKJ_32106 +0084: $9315 = $9314 // (int) + +:BLACKJ_32106 +if and + 27 > $9314 + $9314 > 13 +else_jump @BLACKJ_32146 +0084: $9315 = $9314 // (int) +$9315 -= 13 + +:BLACKJ_32146 +if and + 40 > $9314 + $9314 > 26 +else_jump @BLACKJ_32186 +0084: $9315 = $9314 // (int) +$9315 -= 26 + +:BLACKJ_32186 +if and + 53 > $9314 + $9314 > 39 +else_jump @BLACKJ_32226 +0084: $9315 = $9314 // (int) +$9315 -= 39 + +:BLACKJ_32226 +if + 14 > $9315 +else_jump @BLACKJ_32269 +if + $9315 > 10 +else_jump @BLACKJ_32269 +$9315 = 10 + +:BLACKJ_32269 +return + +:BLACKJ_32271 +if + 14 > $9314 +else_jump @BLACKJ_32297 +0084: $9315 = $9314 // (int) + +:BLACKJ_32297 +if and + 27 > $9314 + $9314 > 13 +else_jump @BLACKJ_32337 +0084: $9315 = $9314 // (int) +$9315 -= 13 + +:BLACKJ_32337 +if and + 40 > $9314 + $9314 > 26 +else_jump @BLACKJ_32377 +0084: $9315 = $9314 // (int) +$9315 -= 26 + +:BLACKJ_32377 +if and + 53 > $9314 + $9314 > 39 +else_jump @BLACKJ_32417 +0084: $9315 = $9314 // (int) +$9315 -= 39 + +:BLACKJ_32417 +return + +:BLACKJ_32419 +0086: $9119[0] = $9087[0] // (float) +0086: $9127[0] = $9095[0] // (float) +0086: $9103[0] = $9087[0] // (float) +0086: $9111[0] = $9095[0] // (float) +0061: $9111[0] -= $BJACK_CARD_HEIGHT // (float) +0061: $9111[0] -= $BJACK_BORDER_WIDTH // (float) +10@ = 0 + +:BLACKJ_32474 +if + 8 > 10@ +else_jump @BLACKJ_32803 +if + 5 > 10@ +else_jump @BLACKJ_32693 +0086: $9137 = $BJACK_CARD_WIDTH // (float) +0059: $9137 += $BJACK_BORDER_WIDTH // (float) +0091: $9139 = integer 10@ to_float +0069: $9139 *= $9137 // (float) +0086: $9087(10@,8f) = $9087[0] // (float) +0059: $9087(10@,8f) += $9139 // (float) +0086: $9095(10@,8f) = $9095[0] // (float) +0086: $9103(10@,8f) = $9103[0] // (float) +0059: $9103(10@,8f) += $9139 // (float) +0086: $9111(10@,8f) = $9111[0] // (float) +0086: $9119(10@,8f) = $9119[0] // (float) +0059: $9119(10@,8f) += $9139 // (float) +0086: $9127(10@,8f) = $9127[0] // (float) +0086: $BJACK_X_PLAYER_SPRITE(10@,8f) = $BJACK_X_PLAYER_SPRITE[0] // (float) +0059: $BJACK_X_PLAYER_SPRITE(10@,8f) += $9139 // (float) +0086: $BJACK_Y_PLAYER_SPRITE(10@,8f) = $BJACK_Y_PLAYER_SPRITE[0] // (float) +jump @BLACKJ_32789 + +:BLACKJ_32693 +0086: $9087(10@,8f) = $9087[4] // (float) +0086: $9095(10@,8f) = $9095[4] // (float) +0086: $9103(10@,8f) = $9103[4] // (float) +0086: $9111(10@,8f) = $9111[4] // (float) +0086: $9119(10@,8f) = $9119[4] // (float) +0086: $9127(10@,8f) = $9127[4] // (float) +0086: $BJACK_X_PLAYER_SPRITE(10@,8f) = $BJACK_X_PLAYER_SPRITE[4] // (float) +0086: $BJACK_Y_PLAYER_SPRITE(10@,8f) = $BJACK_Y_PLAYER_SPRITE[4] // (float) + +:BLACKJ_32789 +10@ += 1 +jump @BLACKJ_32474 + +:BLACKJ_32803 +return +0454: store_debug_camera_position_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +if +03CA: object 0@ exists +else_jump @BLACKJ_32854 +Object.StorePos(0@, $9316, $9317, $9318) +$TEMPVAR_ANGLE = Object.Angle(0@) + +:BLACKJ_32854 +$TEMPVAR_ANGLE *= -1.0 +02F7: 13@ = cosine $TEMPVAR_ANGLE // (float) +02F6: 14@ = sine $TEMPVAR_ANGLE // (float) +0086: $9319 = $TEMPVAR_FLOAT_1 // (float) +0061: $9319 -= $9316 // (float) +0086: $9320 = $TEMPVAR_FLOAT_2 // (float) +0061: $9320 -= $9317 // (float) +0086: $9321 = $TEMPVAR_FLOAT_3 // (float) +0061: $9321 -= $9318 // (float) +0086: $9322 = $9319 // (float) +006D: $9322 *= 13@ // (float) +0086: $9324 = $9320 // (float) +006D: $9324 *= 14@ // (float) +0061: $9322 -= $9324 // (float) +0086: $9323 = $9319 // (float) +006D: $9323 *= 14@ // (float) +0086: $9324 = $9320 // (float) +006D: $9324 *= 13@ // (float) +0059: $9323 += $9324 // (float) +03A9: save_newline_to_debug_file +05B6: 25 // POCKET_DIST_SCORE = +03A8: save_float_to_debug_file $9322 +03A8: save_float_to_debug_file $9323 +03A8: save_float_to_debug_file $9321 +0463: store_debug_camera_target_point_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +0086: $9319 = $TEMPVAR_FLOAT_1 // (float) +0061: $9319 -= $9316 // (float) +0086: $9320 = $TEMPVAR_FLOAT_2 // (float) +0061: $9320 -= $9317 // (float) +0086: $9321 = $TEMPVAR_FLOAT_3 // (float) +0061: $9321 -= $9318 // (float) +0086: $9322 = $9319 // (float) +006D: $9322 *= 13@ // (float) +0086: $9324 = $9320 // (float) +006D: $9324 *= 14@ // (float) +0061: $9322 -= $9324 // (float) +0086: $9323 = $9319 // (float) +006D: $9323 *= 14@ // (float) +0086: $9324 = $9320 // (float) +006D: $9324 *= 13@ // (float) +0059: $9323 += $9324 // (float) +03A9: save_newline_to_debug_file +05B6: 26 // POCKET_ANGLE_SCORE = +03A8: save_float_to_debug_file $9322 +03A8: save_float_to_debug_file $9323 +03A8: save_float_to_debug_file $9321 +return +Actor.StorePos($PLAYER_ACTOR, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +if +03CA: object 0@ exists +else_jump @BLACKJ_33495 +Object.StorePos(0@, $9316, $9317, $9318) +$TEMPVAR_ANGLE = Object.Angle(0@) + +:BLACKJ_33495 +$TEMPVAR_ANGLE *= -1.0 +02F7: 13@ = cosine $TEMPVAR_ANGLE // (float) +02F6: 14@ = sine $TEMPVAR_ANGLE // (float) +0086: $9319 = $TEMPVAR_FLOAT_1 // (float) +0061: $9319 -= $9316 // (float) +0086: $9320 = $TEMPVAR_FLOAT_2 // (float) +0061: $9320 -= $9317 // (float) +0086: $9321 = $TEMPVAR_FLOAT_3 // (float) +0061: $9321 -= $9318 // (float) +0086: $9322 = $9319 // (float) +006D: $9322 *= 13@ // (float) +0086: $9324 = $9320 // (float) +006D: $9324 *= 14@ // (float) +0061: $9322 -= $9324 // (float) +0086: $9323 = $9319 // (float) +006D: $9323 *= 14@ // (float) +0086: $9324 = $9320 // (float) +006D: $9324 *= 13@ // (float) +0059: $9323 += $9324 // (float) +03A9: save_newline_to_debug_file +05B6: 27 // (PATH NOT CLEAR FROM CUE BALL TO THIS BALL) +03A8: save_float_to_debug_file $9322 +03A8: save_float_to_debug_file $9323 +03A8: save_float_to_debug_file $9321 +return + +:BLACKJ_33798 +0653: 13@ = float_stat 81 +if + 1.0 > 13@ +else_jump @BLACKJ_33840 +$MAX_WAGER = 100 +jump @BLACKJ_33960 + +:BLACKJ_33840 +if + 10.0 > 13@ +else_jump @BLACKJ_33876 +$MAX_WAGER = 1000 +jump @BLACKJ_33960 + +:BLACKJ_33876 +if + 100.0 > 13@ +else_jump @BLACKJ_33912 +$MAX_WAGER = 10000 +jump @BLACKJ_33960 + +:BLACKJ_33912 +if + 1000.0 > 13@ +else_jump @BLACKJ_33950 +$MAX_WAGER = 100000 +jump @BLACKJ_33960 + +:BLACKJ_33950 +$MAX_WAGER = 1000000 + +:BLACKJ_33960 +return +0340: set_text_draw_RGBA 255 255 255 255 +0341: set_text_draw_align_justify 0 +03E4: set_text_draw_align_right 0 +0343: set_text_draw_linewidth 2000.0 +0348: enable_text_draw_proportional 1 +0342: set_text_draw_centered 0 +0345: enable_text_draw_background 0 +033F: set_text_draw_letter_size 0.6 1.6 +return +0340: set_text_draw_RGBA 255 180 180 255 +0341: set_text_draw_align_justify 0 +03E4: set_text_draw_align_right 0 +0343: set_text_draw_linewidth 2000.0 +0348: enable_text_draw_proportional 1 +0342: set_text_draw_centered 1 +0345: enable_text_draw_background 0 +033F: set_text_draw_letter_size 2.0 3.0 +return + +:BLACKJ_34072 +0340: set_text_draw_RGBA 180 180 180 255 +033F: set_text_draw_letter_size 0.471 2.508 +03E4: set_text_draw_align_right 0 +0341: set_text_draw_align_justify 0 +0342: set_text_draw_centered 0 +0343: set_text_draw_linewidth 640.0 +0348: enable_text_draw_proportional 1 +0345: enable_text_draw_background 0 +return +0340: set_text_draw_RGBA 180 180 180 255 +033F: set_text_draw_letter_size 0.471 2.508 +03E4: set_text_draw_align_right 0 +0341: set_text_draw_align_justify 0 +0342: set_text_draw_centered 1 +0343: set_text_draw_linewidth 640.0 +0348: enable_text_draw_proportional 1 +0345: enable_text_draw_background 0 +return + +:BLACKJ_34182 +0340: set_text_draw_RGBA 255 255 0 255 +081C: draw_text_outline 2 RGBA 0 0 0 255 +033F: set_text_draw_letter_size $BJACK_X_SCREENPOS[24] $BJACK_Y_SCREENPOS[24] +03E4: set_text_draw_align_right 0 +0341: set_text_draw_align_justify 0 +0342: set_text_draw_centered 1 +0343: set_text_draw_linewidth 640.0 +0348: enable_text_draw_proportional 1 +0345: enable_text_draw_background 0 +return +0904: get_interface 6 color_RGBA_to $9201 $9202 $9203 $9204 +0340: set_text_draw_RGBA $9201 $9202 $9203 $9204 +0349: set_text_draw_font 3 +081C: draw_text_outline 3 RGBA 0 0 0 255 +033F: set_text_draw_letter_size 1.2 4.0 +0341: set_text_draw_align_justify 1 +03E4: set_text_draw_align_right 0 +0343: set_text_draw_linewidth 1000.0 +0348: enable_text_draw_proportional 1 +0342: set_text_draw_centered 1 +0345: enable_text_draw_background 0 +return +0904: get_interface 0 color_RGBA_to $9201 $9202 $9203 $9204 +0340: set_text_draw_RGBA $9201 $9202 $9203 $9204 +0349: set_text_draw_font 3 +081C: draw_text_outline 3 RGBA 0 0 0 255 +033F: set_text_draw_letter_size 1.2 4.0 +0341: set_text_draw_align_justify 1 +03E4: set_text_draw_align_right 0 +0343: set_text_draw_linewidth 1000.0 +0348: enable_text_draw_proportional 1 +0342: set_text_draw_centered 1 +0345: enable_text_draw_background 0 +return +0904: get_interface 4 color_RGBA_to $9201 $9202 $9203 $9204 +0340: set_text_draw_RGBA $9201 $9202 $9203 $9204 +0349: set_text_draw_font 3 +081C: draw_text_outline 3 RGBA 0 0 0 255 +033F: set_text_draw_letter_size 1.2 4.0 +0341: set_text_draw_align_justify 1 +03E4: set_text_draw_align_right 0 +0343: set_text_draw_linewidth 1000.0 +0348: enable_text_draw_proportional 1 +0342: set_text_draw_centered 1 +0345: enable_text_draw_background 0 +return +0904: get_interface 4 color_RGBA_to $9201 $9202 $9203 $9204 +0340: set_text_draw_RGBA $9201 $9202 $9203 $9204 +0349: set_text_draw_font 2 +081C: draw_text_outline 2 RGBA 0 0 0 255 +033F: set_text_draw_letter_size 0.52 1.45 +0341: set_text_draw_align_justify 1 +03E4: set_text_draw_align_right 0 +0343: set_text_draw_linewidth 1000.0 +0348: enable_text_draw_proportional 1 +0342: set_text_draw_centered 1 +0345: enable_text_draw_background 0 +return + +:BLACKJ_34597 +09BD: allow_other_threads_to_display_text_boxes 0 +2@ = 0 +3@ = 0 +4@ = 0 +5@ = 0 +if and +8A2A: not text_box 'SGPUNT' displayed +8A2A: not text_box 'SGGAMB' displayed +8A2A: not text_box 'SGPROF' displayed +8A2A: not text_box 'SGHIRO' displayed +else_jump @BLACKJ_34686 +03E6: remove_text_box + +:BLACKJ_34686 +Camera.Restore +10@ = 0 + +:BLACKJ_34695 +if + 8 > 10@ +else_jump @BLACKJ_34756 +if +03CA: object $9208(10@,8i) exists +else_jump @BLACKJ_34742 +Object.Destroy($9208(10@,8i)) + +:BLACKJ_34742 +10@ += 1 +jump @BLACKJ_34695 + +:BLACKJ_34756 +if + not Actor.Dead(1@) +else_jump @BLACKJ_34779 +0638: AS_actor 1@ stay_put 1 + +:BLACKJ_34779 +end_thread_named 'CASHWIN' +Player.CanMove($PLAYER_CHAR) = True +Camera.Restore_WithJumpCut +04EF: release_animation "CASINO" +0391: release_textures +03F0: enable_text_draw 0 +0581: enable_radar 1 +03AD: NOP 1 // set_rubbish +0989: set_text_boxes_width 200 +return + +//-------------External script 2 (CARMOD1)--------------- + +:CARMOD +$10084 = 0 +$10085 = 0 +$10086 = 0 +$10087 = 0 +$10088 = 0.0 +$10089 = 0.0 +$10090 = 0.0 +$10091 = 0.0 +$10092 = 0.0 +$10093 = 0.0 +$10094 = 0.0 +$10095 = 0.0 +$10096 = 0.0 +$10097 = 0.0 +$10098 = 0.0 +$10099 = 0.0 +$10100 = 0.0 +$10101 = 0.0 +$10102 = 0.0 +$10103 = 0.0 +$10104 = 0.0 +$10105 = 0.0 +$10106 = 0.0 +$10107 = 0.0 +$10108 = 0.0 +$10109 = 0.0 +$10110 = 0.0 +$10111 = 0.0 +$10112 = 0.0 +$10113 = 0.0 +$10114 = 0.0 +$10115 = 0.0 +$10116 = 0.0 +$10117 = 0.0 +$10118 = 0.0 +$10119 = 0.0 +$10120 = 0.0 +$10121 = 0.0 +$10122 = 0.0 +$10123 = 0.0 +$10124 = 0.0 +$10125 = 0.0 +$10126 = 0.0 +$10127 = 0.0 +$10128 = 0.0 +$10129 = 0.0 +$10130 = 0.0 +$10131 = 0.0 +$10132 = 0.0 +$10133 = 0.0 +$10134 = 0.0 +$10135 = 0.0 +$10136 = 0.0 +$10137 = 0.0 +$10138 = 0.0 +$10139 = 0.0 +$10140 = 0.0 +$10141 = 0.0 +$10142 = 0.0 +$10143 = 0.0 +$10144 = 0.0 +$10145 = 0.0 +$10146 = 0.0 +$10147 = 0.0 +$10148 = 0.0 +$10149 = 0.0 +$10150 = 0.0 +$10151 = 0.0 +$10152 = 0.0 +$10153 = 0.0 +$10154 = 0.0 +$10155 = 0.0 +$10156 = 0.0 +$10157 = 0.0 +$10158 = 0.0 +$10159 = 0.0 +$10160 = 0.0 +$10161 = 0.0 +$10162 = 0.0 +$10163 = 0.0 +$10164 = 0.0 +$10165 = 0.0 +$10166 = 0.0 +$10167 = 0.0 +$10168 = 0.0 +$10169 = 0.0 +$10170 = 0.0 +$10171 = 0.0 +$10172 = 0.0 +$10173 = 0.0 +$10174 = 0.0 +$10175 = 0.0 +$10176 = 0.0 +$10177 = 0.0 +$10178 = 0.0 +$10179 = 0.0 +$10180 = 0.0 +$10181 = 0.0 +$10182 = 0.0 +$10183 = 0.0 +$10184 = 0.0 +$10185 = 0.0 +$10186 = 0.0 +$10082 = 0 +$10187 = 0 +$10197 = 0 +$10190 = 0 +$10191 = 0 +$10192 = 0 +$10193 = 0 +$10194 = 0 +$10195 = 0 +$10196 = 0 +$10198 = 0 +$10199 = 0 +$10200 = 0 +$10201 = 0 +$10202 = 0 +$10203 = 0 +$10204 = 0 +$10205 = 0 +$10206 = 0 +$10411 = 0 +$10412 = 0 +$10413 = 0 +$10417 = 0 +$10416 = 0 +$2545 = 0 +$2544 = 0 +$10418 = 0 +$10419 = 0 +$10425 = 0 +$10427 = 0 +$2420 = 0 +$2424 = 0 +$10428 = 0.0 +$10429 = 0.0 +$10430 = 0.0 +$10437 = 0 +$10438 = 0 +$10439 = 0 +$10440 = 0 +$10441 = 0 +$10442 = 0 +$10443 = 0 +$10444 = 0 +$10445 = 0 +$10446 = 0 +$10447 = 0 +$10448 = 0 +$10481 = 0 +$10483 = 0 +$10484 = 0 +$10485 = 0 +$10486 = 0 +$ACTIVE_PANEL_ID = 0 +set_wb_check_to 1 +thread 'CARMOD' + +:CARMOD_1413 +wait 0 +if + Player.Defined($PLAYER_CHAR) +else_jump @CARMOD_14642 +if + $CARMOD_DISABLED_FLAG == 0 +else_jump @CARMOD_14264 +if + $10082 > 0 +else_jump @CARMOD_1549 +if +0A0F: new_language_set +else_jump @CARMOD_1549 +03E6: remove_text_box +08DA: remove_panel $2419 +08DA: remove_panel $2423 +08DA: remove_panel $CARMOD_MENU_COLORS +08DA: remove_panel $10424 +08DA: remove_panel $10436 +$2420 = 0 +$2424 = 0 +$10427 = 0 +$10425 = 0 +$10437 = 0 +09FB: $CURRENT_LANGUAGE = current_language + +:CARMOD_1549 +wait 0 +if + Player.Defined($PLAYER_CHAR) +else_jump @CARMOD_14642 +if + Actor.Driving($PLAYER_ACTOR) +else_jump @CARMOD_14264 +$CARMOD_CAR = Actor.CurrentCar($PLAYER_ACTOR) +if +89D3: not NOP +else_jump @CARMOD_14642 +if + $10082 == 0 +else_jump @CARMOD_4138 +if or +0103: actor $PLAYER_ACTOR in_sphere 1042.013 -1019.927 31.127 radius 4.0 4.0 2.0 sphere 1 stopped_in_car +0103: actor $PLAYER_ACTOR in_sphere -1935.528 247.029 33.561 radius 4.0 4.0 2.0 sphere 1 stopped_in_car +0103: actor $PLAYER_ACTOR in_sphere 2387.075 1050.511 9.812 radius 4.0 4.0 2.0 sphere 1 stopped_in_car +else_jump @CARMOD_2743 +$CARMOD_CAR = Actor.CurrentCar($PLAYER_ACTOR) +if +0448: actor $PLAYER_ACTOR in_car $CARMOD_CAR +else_jump @CARMOD_2716 +if and +84C8: not actor $PLAYER_ACTOR driving_flying_vehicle +84A7: not actor $PLAYER_ACTOR driving_boat +8969: not car $CARMOD_CAR is_big +8975: not car $CARMOD_CAR emergency_vehicle +else_jump @CARMOD_2661 +gosub @CARMOD_24183 +if + not $10481 == 0 +else_jump @CARMOD_2606 +if and +896F: not car $CARMOD_CAR street_racing_car +896E: not car $CARMOD_CAR lowrider +else_jump @CARMOD_2551 +if + $10083 == 0 +else_jump @CARMOD_1910 +Player.CanMove($PLAYER_CHAR) = False +09BD: allow_other_threads_to_display_text_boxes 1 +0A26: set_radio_to_favorite_station +09B3: get_car $CARMOD_CAR door_status $10448 +Car.DoorStatus($CARMOD_CAR) = 4 +fade 0 1000 +$10083 = 1 + +:CARMOD_1910 +if + $10083 == 1 +else_jump @CARMOD_1959 +if + not fading +else_jump @CARMOD_1959 +0A19: display_zone_text 'CARMOD1' +$10083 = 2 + +:CARMOD_1959 +if + $10083 == 2 +else_jump @CARMOD_2544 +if +0103: actor $PLAYER_ACTOR in_sphere 1042.013 -1019.927 31.127 radius 4.0 4.0 2.0 sphere 0 stopped_in_car +else_jump @CARMOD_2238 +Car.StorePos($CARMOD_CAR, $10428, $10429, $10430) +jump @CARMOD_2369 + +:CARMOD_2046 +wait 0 +if + Player.Defined($PLAYER_CHAR) +else_jump @CARMOD_14642 +if + not Actor.Driving($PLAYER_ACTOR) +else_jump @CARMOD_2232 +if + not $ACTIVE_PANEL_ID == 0 +else_jump @CARMOD_2232 +if + $ACTIVE_PANEL_ID == 1 +else_jump @CARMOD_2130 +08DA: remove_panel $2419 +jump @CARMOD_2232 + +:CARMOD_2130 +wait 0 +if + $ACTIVE_PANEL_ID == 2 +else_jump @CARMOD_2164 +08DA: remove_panel $2423 +jump @CARMOD_2232 + +:CARMOD_2164 +wait 0 +if + $ACTIVE_PANEL_ID == 3 +else_jump @CARMOD_2198 +08DA: remove_panel $10436 +jump @CARMOD_2232 + +:CARMOD_2198 +wait 0 +if + $ACTIVE_PANEL_ID == 4 +else_jump @CARMOD_2232 +08DA: remove_panel $10424 +jump @CARMOD_2232 + +:CARMOD_2232 +wait 0 +return + +:CARMOD_2238 +if +0103: actor $PLAYER_ACTOR in_sphere -1935.528 247.029 33.561 radius 4.0 4.0 2.0 sphere 0 stopped_in_car +else_jump @CARMOD_2307 +Car.StorePos($CARMOD_CAR, $10428, $10429, $10430) +jump @CARMOD_2369 + +:CARMOD_2307 +if +0103: actor $PLAYER_ACTOR in_sphere 2387.075 1050.511 9.812 radius 4.0 4.0 2.0 sphere 0 stopped_in_car +else_jump @CARMOD_2369 +Car.StorePos($CARMOD_CAR, $10428, $10429, $10430) + +:CARMOD_2369 +$10178 = 0.0 +$10179 = 0.0 +$10180 = 0.0 +09C6: 4 $CARMOD_CAR 1 1 +select_interior 1 +0860: link_actor $PLAYER_ACTOR to_interior 1 +0840: link_car $CARMOD_CAR to_interior 1 +075E: load_shopping_data_PRICES_subsection "CARMOD1" // "string" +075D: load_shopping_data_SHOPS_subsection "CARMODS" // "string" +04E4: refresh_game_renderer_at 617.536 -1.99 +Camera.SetAtPos(617.536, -1.99, 999.98) +Car.PutAt($CARMOD_CAR, 617.536, -1.99, 999.98) +Car.Angle($CARMOD_CAR) = 90.0 +$10483 = 1 +$10447 = 0 +$10416 = 0 +$10083 = 0 +$10082 = 1 + +:CARMOD_2544 +jump @CARMOD_2599 + +:CARMOD_2551 +if + $10416 == 0 +else_jump @CARMOD_2599 +00BC: show_text_highpriority GXT 'MODNO' time 5000 flag 1 +$10416 = 1 +$10082 = 0 + +:CARMOD_2599 +jump @CARMOD_2654 + +:CARMOD_2606 +if + $10416 == 0 +else_jump @CARMOD_2654 +00BC: show_text_highpriority GXT 'MODNO2' time 5000 flag 1 +$10416 = 1 +$10082 = 0 + +:CARMOD_2654 +jump @CARMOD_2709 + +:CARMOD_2661 +if + $10416 == 0 +else_jump @CARMOD_2709 +00BC: show_text_highpriority GXT 'MODNO2' time 5000 flag 1 +$10416 = 1 +$10082 = 0 + +:CARMOD_2709 +jump @CARMOD_2736 + +:CARMOD_2716 +07FB: set_interior 'CARMOD1' access 0 +$10416 = 0 + +:CARMOD_2736 +jump @CARMOD_2763 + +:CARMOD_2743 +07FB: set_interior 'CARMOD1' access 0 +$10416 = 0 + +:CARMOD_2763 +if +0103: actor $PLAYER_ACTOR in_sphere 2645.112 -2045.745 12.607 radius 4.0 4.0 4.0 sphere 1 stopped_in_car +else_jump @CARMOD_3436 +$CARMOD_CAR = Actor.CurrentCar($PLAYER_ACTOR) +if +0448: actor $PLAYER_ACTOR in_car $CARMOD_CAR +else_jump @CARMOD_3409 +if and +84C8: not actor $PLAYER_ACTOR driving_flying_vehicle +84A7: not actor $PLAYER_ACTOR driving_boat +8969: not car $CARMOD_CAR is_big +8975: not car $CARMOD_CAR emergency_vehicle +else_jump @CARMOD_3361 +gosub @CARMOD_24183 +if + not $10481 == 0 +else_jump @CARMOD_3306 +if +096E: car $CARMOD_CAR lowrider +else_jump @CARMOD_3251 +if + $10083 == 0 +else_jump @CARMOD_2978 +Player.CanMove($PLAYER_CHAR) = False +09BD: allow_other_threads_to_display_text_boxes 1 +0A26: set_radio_to_favorite_station +09B3: get_car $CARMOD_CAR door_status $10448 +Car.DoorStatus($CARMOD_CAR) = 4 +$10482 = Car.Model($CARMOD_CAR) +fade 0 1000 +$10083 = 1 + +:CARMOD_2978 +if + $10083 == 1 +else_jump @CARMOD_3027 +if + not fading +else_jump @CARMOD_3027 +0A19: display_zone_text 'CARMOD2' +$10083 = 2 + +:CARMOD_3027 +if + $10083 == 2 +else_jump @CARMOD_3244 +$10447 = 1 +Car.StorePos($CARMOD_CAR, $10428, $10429, $10430) +$10430 = 12.5 +09C6: 4 $CARMOD_CAR 1 2 +select_interior 2 +0860: link_actor $PLAYER_ACTOR to_interior 2 +0840: link_car $CARMOD_CAR to_interior 2 +075E: load_shopping_data_PRICES_subsection "CARMOD2" // "string" +075D: load_shopping_data_SHOPS_subsection "CARMODS" // "string" +04E4: refresh_game_renderer_at 616.783 -74.815 +Camera.SetAtPos(616.783, -74.815, 997.014) +Car.PutAt($CARMOD_CAR, 616.783, -74.815, 997.014) +Car.Angle($CARMOD_CAR) = 90.0 +$10484 = 1 +$10178 = 0.0 +$10179 = 0.0 +$10180 = 0.0 +$10416 = 0 +$10083 = 0 +$10082 = 1 + +:CARMOD_3244 +jump @CARMOD_3299 + +:CARMOD_3251 +if + $10416 == 0 +else_jump @CARMOD_3299 +00BC: show_text_highpriority GXT 'MODNO' time 5000 flag 1 +$10416 = 1 +$10082 = 0 + +:CARMOD_3299 +jump @CARMOD_3354 + +:CARMOD_3306 +if + $10416 == 0 +else_jump @CARMOD_3354 +00BC: show_text_highpriority GXT 'MODNO2' time 5000 flag 1 +$10416 = 1 +$10082 = 0 + +:CARMOD_3354 +jump @CARMOD_3402 + +:CARMOD_3361 +if + $10416 == 0 +else_jump @CARMOD_3402 +00BC: show_text_highpriority GXT 'MODNO2' time 5000 flag 1 +$10082 = 0 + +:CARMOD_3402 +jump @CARMOD_3429 + +:CARMOD_3409 +07FB: set_interior 'CARMOD2' access 0 +$10416 = 0 + +:CARMOD_3429 +jump @CARMOD_3456 + +:CARMOD_3436 +07FB: set_interior 'CARMOD2' access 0 +$10416 = 0 + +:CARMOD_3456 +if +0103: actor $PLAYER_ACTOR in_sphere -2723.845 217.804 3.585 radius 4.0 4.0 1.0 sphere 1 stopped_in_car +else_jump @CARMOD_4118 +$CARMOD_CAR = Actor.CurrentCar($PLAYER_ACTOR) +if +0448: actor $PLAYER_ACTOR in_car $CARMOD_CAR +else_jump @CARMOD_4091 +if and +84C8: not actor $PLAYER_ACTOR driving_flying_vehicle +84A7: not actor $PLAYER_ACTOR driving_boat +8969: not car $CARMOD_CAR is_big +8975: not car $CARMOD_CAR emergency_vehicle +else_jump @CARMOD_4036 +gosub @CARMOD_24183 +if + not $10481 == 0 +else_jump @CARMOD_3981 +if +096F: car $CARMOD_CAR street_racing_car +else_jump @CARMOD_3926 +if + $10083 == 0 +else_jump @CARMOD_3663 +Player.CanMove($PLAYER_CHAR) = False +09BD: allow_other_threads_to_display_text_boxes 1 +0A26: set_radio_to_favorite_station +09B3: get_car $CARMOD_CAR door_status $10448 +Car.DoorStatus($CARMOD_CAR) = 4 +fade 0 1000 +$10083 = 1 + +:CARMOD_3663 +if + $10083 == 1 +else_jump @CARMOD_3712 +if + not fading +else_jump @CARMOD_3712 +0A19: display_zone_text 'CARMOD3' +$10083 = 2 + +:CARMOD_3712 +if + $10083 == 2 +else_jump @CARMOD_3919 +$10178 = 0.0 +$10179 = 0.0 +$10180 = 0.0 +Car.StorePos($CARMOD_CAR, $10428, $10429, $10430) +09C6: 4 $CARMOD_CAR 1 3 +select_interior 3 +0860: link_actor $PLAYER_ACTOR to_interior 3 +0840: link_car $CARMOD_CAR to_interior 3 +$10447 = 0 +$10485 = 1 +075E: load_shopping_data_PRICES_subsection "CARMOD3" // "string" +075D: load_shopping_data_SHOPS_subsection "CARMODS" // "string" +04E4: refresh_game_renderer_at 615.286 -124.239 +Camera.SetAtPos(615.286, -124.239, 996.995) +Car.PutAt($CARMOD_CAR, 615.286, -124.239, 996.995) +Car.Angle($CARMOD_CAR) = 90.0 +$10416 = 0 +$10083 = 0 +$10082 = 1 + +:CARMOD_3919 +jump @CARMOD_3974 + +:CARMOD_3926 +if + $10416 == 0 +else_jump @CARMOD_3974 +00BC: show_text_highpriority GXT 'MODNO' time 5000 flag 1 +$10416 = 1 +$10082 = 0 + +:CARMOD_3974 +jump @CARMOD_4029 + +:CARMOD_3981 +if + $10416 == 0 +else_jump @CARMOD_4029 +00BC: show_text_highpriority GXT 'MODNO2' time 5000 flag 1 +$10416 = 1 +$10082 = 0 + +:CARMOD_4029 +jump @CARMOD_4084 + +:CARMOD_4036 +if + $10416 == 0 +else_jump @CARMOD_4084 +00BC: show_text_highpriority GXT 'MODNO2' time 5000 flag 1 +$10416 = 1 +$10082 = 0 + +:CARMOD_4084 +jump @CARMOD_4111 + +:CARMOD_4091 +07FB: set_interior 'CARMOD3' access 0 +$10416 = 0 + +:CARMOD_4111 +jump @CARMOD_4138 + +:CARMOD_4118 +07FB: set_interior 'CARMOD3' access 0 +$10416 = 0 + +:CARMOD_4138 +if + $10082 == 1 +else_jump @CARMOD_9275 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +04F9: set_sky_color 4 fade 0 +if +096F: car $CARMOD_CAR street_racing_car +else_jump @CARMOD_5810 +$10088 = 611.294 +0059: $10088 += $10178 // (float) +$10089 = -121.253 +0059: $10089 += $10179 // (float) +$10090 = 999.034 +0059: $10090 += $10180 // (float) +$10091 = 612.06 +0059: $10091 += $10178 // (float) +$10092 = -121.797 +0059: $10092 += $10179 // (float) +$10093 = 998.693 +0059: $10093 += $10180 // (float) +$10094 = 612.551 +0059: $10094 += $10178 // (float) +$10095 = -126.877 +0059: $10095 += $10179 // (float) +$10096 = 997.675 +0059: $10096 += $10180 // (float) +$10097 = 613.169 +0059: $10097 += $10178 // (float) +$10098 = -126.092 +0059: $10098 += $10179 // (float) +$10099 = 997.632 +0059: $10099 += $10180 // (float) +$10100 = 615.771 +0059: $10100 += $10178 // (float) +$10101 = -126.883 +0059: $10101 += $10179 // (float) +$10102 = 998.787 +0059: $10102 += $10180 // (float) +$10103 = 616.112 +0059: $10103 += $10178 // (float) +$10104 = -125.981 +0059: $10104 += $10179 // (float) +$10105 = 998.52 +0059: $10105 += $10180 // (float) +$10106 = 612.551 +0059: $10106 += $10178 // (float) +$10107 = -126.877 +0059: $10107 += $10179 // (float) +$10108 = 997.675 +0059: $10108 += $10180 // (float) +$10109 = 613.169 +0059: $10109 += $10178 // (float) +$10110 = -126.092 +0059: $10110 += $10179 // (float) +$10111 = 997.632 +0059: $10111 += $10180 // (float) +$10112 = 611.69 +0059: $10112 += $10178 // (float) +$10113 = -124.134 +0059: $10113 += $10179 // (float) +$10114 = 998.957 +0059: $10114 += $10180 // (float) +$10115 = 612.664 +0059: $10115 += $10178 // (float) +$10116 = -124.0 +0059: $10116 += $10179 // (float) +$10117 = 998.772 +0059: $10117 += $10180 // (float) +$10118 = 610.869 +0059: $10118 += $10178 // (float) +$10119 = -123.946 +0059: $10119 += $10179 // (float) +$10120 = 998.829 +0059: $10120 += $10180 // (float) +$10121 = 611.82 +0059: $10121 += $10178 // (float) +$10122 = -123.847 +0059: $10122 += $10179 // (float) +$10123 = 998.537 +0059: $10123 += $10180 // (float) +$10124 = 618.915 +0059: $10124 += $10178 // (float) +$10125 = -125.908 +0059: $10125 += $10179 // (float) +$10126 = 997.267 +0059: $10126 += $10180 // (float) +$10127 = 618.078 +0059: $10127 += $10178 // (float) +$10128 = -125.365 +0059: $10128 += $10179 // (float) +$10129 = 997.326 +0059: $10129 += $10180 // (float) +$10130 = 611.384 +0059: $10130 += $10178 // (float) +$10131 = -122.433 +0059: $10131 += $10179 // (float) +$10132 = 997.429 +0059: $10132 += $10180 // (float) +$10133 = 612.226 +0059: $10133 += $10178 // (float) +$10134 = -122.972 +0059: $10134 += $10179 // (float) +$10135 = 997.436 +0059: $10135 += $10180 // (float) +$10136 = 618.915 +0059: $10136 += $10178 // (float) +$10137 = -125.908 +0059: $10137 += $10179 // (float) +$10138 = 997.267 +0059: $10138 += $10180 // (float) +$10139 = 618.078 +0059: $10139 += $10178 // (float) +$10140 = -125.365 +0059: $10140 += $10179 // (float) +$10141 = 997.326 +0059: $10141 += $10180 // (float) +$10142 = 611.137 +0059: $10142 += $10178 // (float) +$10143 = -124.28 +0059: $10143 += $10179 // (float) +$10144 = 998.132 +0059: $10144 += $10180 // (float) +$10145 = 612.136 +0059: $10145 += $10178 // (float) +$10146 = -124.23 +0059: $10146 += $10179 // (float) +$10147 = 998.148 +0059: $10147 += $10180 // (float) +$10148 = 610.821 +0059: $10148 += $10178 // (float) +$10149 = -126.015 +0059: $10149 += $10179 // (float) +$10150 = 997.332 +0059: $10150 += $10180 // (float) +$10151 = 611.626 +0059: $10151 += $10178 // (float) +$10152 = -125.423 +0059: $10152 += $10179 // (float) +$10153 = 997.318 +0059: $10153 += $10180 // (float) +$10154 = 619.001 +0059: $10154 += $10178 // (float) +$10155 = -126.195 +0059: $10155 += $10179 // (float) +$10156 = 997.444 +0059: $10156 += $10180 // (float) +$10157 = 618.342 +0059: $10157 += $10178 // (float) +$10158 = -125.443 +0059: $10158 += $10179 // (float) +$10159 = 997.461 +0059: $10159 += $10180 // (float) +$10160 = 617.813 +0059: $10160 += $10178 // (float) +$10161 = -126.81 +0059: $10161 += $10179 // (float) +$10162 = 999.648 +0059: $10162 += $10180 // (float) +$10163 = 617.337 +0059: $10163 += $10178 // (float) +$10164 = -126.101 +0059: $10164 += $10179 // (float) +$10165 = 999.128 +0059: $10165 += $10180 // (float) +$10166 = 611.294 +0059: $10166 += $10178 // (float) +$10167 = -121.253 +0059: $10167 += $10179 // (float) +$10168 = 999.034 +0059: $10168 += $10180 // (float) +$10169 = 612.06 +0059: $10169 += $10178 // (float) +$10170 = -121.797 +0059: $10170 += $10179 // (float) +$10171 = 998.693 +0059: $10171 += $10180 // (float) +$10172 = 611.294 +0059: $10172 += $10178 // (float) +$10173 = -121.253 +0059: $10173 += $10179 // (float) +$10174 = 999.034 +0059: $10174 += $10180 // (float) +$10175 = 612.06 +0059: $10175 += $10178 // (float) +$10176 = -121.797 +0059: $10176 += $10179 // (float) +$10177 = 998.693 +0059: $10177 += $10180 // (float) +jump @CARMOD_9207 + +:CARMOD_5810 +if +096E: car $CARMOD_CAR lowrider +else_jump @CARMOD_7587 +$10088 = 611.92 +0059: $10088 += $10178 // (float) +$10089 = -71.983 +0059: $10089 += $10179 // (float) +$10090 = 998.987 +0059: $10090 += $10180 // (float) +$10091 = 612.818 +0059: $10091 += $10178 // (float) +$10092 = -72.38 +0059: $10092 += $10179 // (float) +$10093 = 998.797 +0059: $10093 += $10180 // (float) +$10094 = 613.505 +0059: $10094 += $10178 // (float) +$10095 = -77.61 +0059: $10095 += $10179 // (float) +$10096 = 997.677 +0059: $10096 += $10180 // (float) +$10097 = 614.004 +0059: $10097 += $10178 // (float) +$10098 = -76.753 +0059: $10098 += $10179 // (float) +$10099 = 997.802 +0059: $10099 += $10180 // (float) +$10100 = 617.662 +0059: $10100 += $10178 // (float) +$10101 = -77.58 +0059: $10101 += $10179 // (float) +$10102 = 998.585 +0059: $10102 += $10180 // (float) +$10103 = 618.012 +0059: $10103 += $10178 // (float) +$10104 = -76.679 +0059: $10104 += $10179 // (float) +$10105 = 998.329 +0059: $10105 += $10180 // (float) +$10106 = 616.065 +0059: $10106 += $10178 // (float) +$10107 = -77.465 +0059: $10107 += $10179 // (float) +$10108 = 998.157 +0059: $10108 += $10180 // (float) +$10109 = 616.652 +0059: $10109 += $10178 // (float) +$10110 = -76.69 +0059: $10110 += $10179 // (float) +$10111 = 997.924 +0059: $10111 += $10180 // (float) +$10112 = 615.755 +0059: $10112 += $10178 // (float) +$10113 = -77.977 +0059: $10113 += $10179 // (float) +$10114 = 999.347 +0059: $10114 += $10180 // (float) +$10115 = 616.099 +0059: $10115 += $10178 // (float) +$10116 = -77.105 +0059: $10116 += $10179 // (float) +$10117 = 999.0 +0059: $10117 += $10180 // (float) +$10118 = 612.339 +0059: $10118 += $10178 // (float) +$10119 = -74.645 +0059: $10119 += $10179 // (float) +$10120 = 998.718 +0059: $10120 += $10180 // (float) +$10121 = 613.331 +0059: $10121 += $10178 // (float) +$10122 = -74.593 +0059: $10122 += $10179 // (float) +$10123 = 998.606 +0059: $10123 += $10180 // (float) +$10124 = 620.776 +0059: $10124 += $10178 // (float) +$10125 = -76.608 +0059: $10125 += $10179 // (float) +$10126 = 997.237 +0059: $10126 += $10180 // (float) +$10127 = 620.051 +0059: $10127 += $10178 // (float) +$10128 = -75.949 +0059: $10128 += $10179 // (float) +$10129 = 997.438 +0059: $10129 += $10180 // (float) +$10130 = 612.114 +0059: $10130 += $10178 // (float) +$10131 = -74.496 +0059: $10131 += $10179 // (float) +$10132 = 997.782 +0059: $10132 += $10180 // (float) +$10133 = 613.111 +0059: $10133 += $10178 // (float) +$10134 = -74.454 +0059: $10134 += $10179 // (float) +$10135 = 997.711 +0059: $10135 += $10180 // (float) +$10136 = 620.776 +0059: $10136 += $10178 // (float) +$10137 = -76.608 +0059: $10137 += $10179 // (float) +$10138 = 997.237 +0059: $10138 += $10180 // (float) +$10139 = 620.051 +0059: $10139 += $10178 // (float) +$10140 = -75.949 +0059: $10140 += $10179 // (float) +$10141 = 997.438 +0059: $10141 += $10180 // (float) +$10142 = 612.114 +0059: $10142 += $10178 // (float) +$10143 = -74.496 +0059: $10143 += $10179 // (float) +$10144 = 997.782 +0059: $10144 += $10180 // (float) +$10145 = 613.111 +0059: $10145 += $10178 // (float) +$10146 = -74.454 +0059: $10146 += $10179 // (float) +$10147 = 997.711 +0059: $10147 += $10180 // (float) +$10148 = 612.114 +0059: $10148 += $10178 // (float) +$10149 = -74.496 +0059: $10149 += $10179 // (float) +$10150 = 997.782 +0059: $10150 += $10180 // (float) +$10151 = 613.111 +0059: $10151 += $10178 // (float) +$10152 = -74.454 +0059: $10152 += $10179 // (float) +$10153 = 997.711 +0059: $10153 += $10180 // (float) +$10154 = 620.846 +0059: $10154 += $10178 // (float) +$10155 = -76.877 +0059: $10155 += $10179 // (float) +$10156 = 997.351 +0059: $10156 += $10180 // (float) +$10157 = 620.213 +0059: $10157 += $10178 // (float) +$10158 = -76.111 +0059: $10158 += $10179 // (float) +$10159 = 997.463 +0059: $10159 += $10180 // (float) +$10160 = 621.041 +0059: $10160 += $10178 // (float) +$10161 = -74.946 +0059: $10161 += $10179 // (float) +$10162 = 998.933 +0059: $10162 += $10180 // (float) +$10163 = 620.076 +0059: $10163 += $10178 // (float) +$10164 = -74.953 +0059: $10164 += $10179 // (float) +$10165 = 998.673 +0059: $10165 += $10180 // (float) +$10166 = 612.258 +0059: $10166 += $10178 // (float) +$10167 = -72.185 +0059: $10167 += $10179 // (float) +$10168 = 998.882 +0059: $10168 += $10180 // (float) +$10169 = 613.129 +0059: $10169 += $10178 // (float) +$10170 = -72.67 +0059: $10170 += $10179 // (float) +$10171 = 998.796 +0059: $10171 += $10180 // (float) +if +04A3: $10482 == 534 // == constant +else_jump @CARMOD_7472 +$10172 = 612.114 +0059: $10172 += $10178 // (float) +$10173 = -74.496 +0059: $10173 += $10179 // (float) +$10174 = 997.782 +0059: $10174 += $10180 // (float) +$10175 = 613.111 +0059: $10175 += $10178 // (float) +$10176 = -74.454 +0059: $10176 += $10179 // (float) +$10177 = 997.711 +0059: $10177 += $10180 // (float) +jump @CARMOD_7580 + +:CARMOD_7472 +$10172 = 615.737 +0059: $10172 += $10178 // (float) +$10173 = -77.256 +0059: $10173 += $10179 // (float) +$10174 = 998.634 +0059: $10174 += $10180 // (float) +$10175 = 616.234 +0059: $10175 += $10178 // (float) +$10176 = -76.403 +0059: $10176 += $10179 // (float) +$10177 = 998.472 +0059: $10177 += $10180 // (float) + +:CARMOD_7580 +jump @CARMOD_9207 + +:CARMOD_7587 +$10088 = 612.767 +0059: $10088 += $10178 // (float) +$10089 = 0.57 +0059: $10089 += $10179 // (float) +$10090 = 1002.114 +0059: $10090 += $10180 // (float) +$10091 = 613.666 +0059: $10091 += $10178 // (float) +$10092 = 0.164 +0059: $10092 += $10179 // (float) +$10093 = 1001.951 +0059: $10093 += $10180 // (float) +$10094 = 614.438 +0059: $10094 += $10178 // (float) +$10095 = -4.576 +0059: $10095 += $10179 // (float) +$10096 = 1000.632 +0059: $10096 += $10180 // (float) +$10097 = 614.98 +0059: $10097 += $10178 // (float) +$10098 = -3.738 +0059: $10098 += $10179 // (float) +$10099 = 1000.565 +0059: $10099 += $10180 // (float) +$10100 = 618.187 +0059: $10100 += $10178 // (float) +$10101 = -5.388 +0059: $10101 += $10179 // (float) +$10102 = 1002.423 +0059: $10102 += $10180 // (float) +$10103 = 618.481 +0059: $10103 += $10178 // (float) +$10104 = -4.49 +0059: $10104 += $10179 // (float) +$10105 = 1002.097 +0059: $10105 += $10180 // (float) +$10106 = 615.667 +0059: $10106 += $10178 // (float) +$10107 = -4.542 +0059: $10107 += $10179 // (float) +$10108 = 1000.27 +0059: $10108 += $10180 // (float) +$10109 = 616.239 +0059: $10109 += $10178 // (float) +$10110 = -3.743 +0059: $10110 += $10179 // (float) +$10111 = 1000.452 +0059: $10111 += $10180 // (float) +$10112 = 613.67 +0059: $10112 += $10178 // (float) +$10113 = -1.479 +0059: $10113 += $10179 // (float) +$10114 = 1002.232 +0059: $10114 += $10180 // (float) +$10115 = 614.647 +0059: $10115 += $10178 // (float) +$10116 = -1.531 +0059: $10116 += $10179 // (float) +$10117 = 1002.027 +0059: $10117 += $10180 // (float) +$10118 = 613.535 +0059: $10118 += $10178 // (float) +$10119 = -1.792 +0059: $10119 += $10179 // (float) +$10120 = 1002.526 +0059: $10120 += $10180 // (float) +$10121 = 614.406 +0059: $10121 += $10178 // (float) +$10122 = -1.795 +0059: $10122 += $10179 // (float) +$10123 = 1002.035 +0059: $10123 += $10180 // (float) +$10124 = 621.91 +0059: $10124 += $10178 // (float) +$10125 = -3.627 +0059: $10125 += $10179 // (float) +$10126 = 1000.408 +0059: $10126 += $10180 // (float) +$10127 = 621.047 +0059: $10127 += $10178 // (float) +$10128 = -3.13 +0059: $10128 += $10179 // (float) +$10129 = 1000.314 +0059: $10129 += $10180 // (float) +$10130 = 611.612 +0059: $10130 += $10178 // (float) +$10131 = -1.485 +0059: $10131 += $10179 // (float) +$10132 = 1001.777 +0059: $10132 += $10180 // (float) +$10133 = 612.603 +0059: $10133 += $10178 // (float) +$10134 = -1.507 +0059: $10134 += $10179 // (float) +$10135 = 1001.642 +0059: $10135 += $10180 // (float) +$10136 = 621.48 +0059: $10136 += $10178 // (float) +$10137 = -3.495 +0059: $10137 += $10179 // (float) +$10138 = 1000.33 +0059: $10138 += $10180 // (float) +$10139 = 620.591 +0059: $10139 += $10178 // (float) +$10140 = -3.05 +0059: $10140 += $10179 // (float) +$10141 = 1000.435 +0059: $10141 += $10180 // (float) +$10142 = 612.612 +0059: $10142 += $10178 // (float) +$10143 = -1.765 +0059: $10143 += $10179 // (float) +$10144 = 1001.3 +0059: $10144 += $10180 // (float) +$10145 = 613.567 +0059: $10145 += $10178 // (float) +$10146 = -1.63 +0059: $10146 += $10179 // (float) +$10147 = 1001.036 +0059: $10147 += $10180 // (float) +$10148 = 611.612 +0059: $10148 += $10178 // (float) +$10149 = -1.485 +0059: $10149 += $10179 // (float) +$10150 = 1001.777 +0059: $10150 += $10180 // (float) +$10151 = 612.603 +0059: $10151 += $10178 // (float) +$10152 = -1.507 +0059: $10152 += $10179 // (float) +$10153 = 1001.642 +0059: $10153 += $10180 // (float) +$10154 = 621.48 +0059: $10154 += $10178 // (float) +$10155 = -3.495 +0059: $10155 += $10179 // (float) +$10156 = 1000.33 +0059: $10156 += $10180 // (float) +$10157 = 620.591 +0059: $10157 += $10178 // (float) +$10158 = -3.05 +0059: $10158 += $10179 // (float) +$10159 = 1000.435 +0059: $10159 += $10180 // (float) +$10160 = 622.596 +0059: $10160 += $10178 // (float) +$10161 = -2.014 +0059: $10161 += $10179 // (float) +$10162 = 1003.019 +0059: $10162 += $10180 // (float) +$10163 = 621.766 +0059: $10163 += $10178 // (float) +$10164 = -2.017 +0059: $10164 += $10179 // (float) +$10165 = 1002.462 +0059: $10165 += $10180 // (float) +$10166 = 612.767 +0059: $10166 += $10178 // (float) +$10167 = 0.57 +0059: $10167 += $10179 // (float) +$10168 = 1002.114 +0059: $10168 += $10180 // (float) +$10169 = 613.666 +0059: $10169 += $10178 // (float) +$10170 = 0.164 +0059: $10170 += $10179 // (float) +$10171 = 1001.951 +0059: $10171 += $10180 // (float) +$10172 = 613.584 +0059: $10172 += $10178 // (float) +$10173 = -0.713 +0059: $10173 += $10179 // (float) +$10174 = 1002.031 +0059: $10174 += $10180 // (float) +$10175 = 614.562 +0059: $10175 += $10178 // (float) +$10176 = -0.84 +0059: $10176 += $10179 // (float) +$10177 = 1001.862 +0059: $10177 += $10180 // (float) + +:CARMOD_9207 +32@ = 0 +0581: enable_radar 0 +08F8: display_stat_update_box 0 +Camera.SetPosition($10088, $10089, $10090, 0.0, 0.0, 0.0) +Camera.PointAt($10091, $10092, $10093, 2) +$10083 = 0 +$10082 = 2 + +:CARMOD_9275 +if + $10082 == 2 +else_jump @CARMOD_9457 +if + $10083 == 0 +else_jump @CARMOD_9357 +075F: store_shopping_data_entries_number_to $2514 +03F3: get_car $CARMOD_CAR primary_color_to $10422 secondary_color_to $10423 +0988: get_car $CARMOD_CAR paintjob $10085 +$10486 = Car.Model($CARMOD_CAR) +09FE: reset_hydraulics_on_car $CARMOD_CAR +096B: save_current_modparts +$10083 = 1 + +:CARMOD_9357 +if + $10083 == 1 +else_jump @CARMOD_9408 +if + 32@ > 2000 +else_jump @CARMOD_9408 +fade 1 1000 +$10083 = 2 + +:CARMOD_9408 +if + $10083 == 2 +else_jump @CARMOD_9457 +if + not fading +else_jump @CARMOD_9457 +057E: set_radar_grey 1 +$10083 = 0 +$10082 = 3 + +:CARMOD_9457 +if + $10082 == 3 +else_jump @CARMOD_10418 +if + $10083 == 0 +else_jump @CARMOD_9797 +if + $2420 == 0 +else_jump @CARMOD_9525 +gosub @CARMOD_16081 +gosub @CARMOD_14650 + +:CARMOD_9525 +if +00E1: player 0 pressed_key 16 +else_jump @CARMOD_9766 +gosub @CARMOD_2046 +$10441 = 0 +$10442 = 0 +08D7: $10411 = panel $2419 active_row +if + 0 > $10411 +else_jump @CARMOD_9596 +$10411 = 0 + +:CARMOD_9596 +if + not $10399($10411,12i) == 101 +else_jump @CARMOD_9684 +if + not $10399($10411,12i) == 100 +else_jump @CARMOD_9662 +096D: get_car $CARMOD_CAR component_on_slot $10399($10411,12i) model_to $10421 +jump @CARMOD_9670 + +:CARMOD_9662 +0988: get_car $CARMOD_CAR paintjob $10085 + +:CARMOD_9670 +gosub @CARMOD_17867 +jump @CARMOD_9759 + +:CARMOD_9684 +0086: $10181 = $10088 // (float) +0086: $10182 = $10089 // (float) +0086: $10183 = $10090 // (float) +0086: $10184 = $10091 // (float) +0086: $10185 = $10092 // (float) +0086: $10186 = $10093 // (float) +$2426($10413,12i) = 150 +$10444 = Car.Model($CARMOD_CAR) +gosub @CARMOD_22833 + +:CARMOD_9759 +$10083 = 5 + +:CARMOD_9766 +if +00E1: player 0 pressed_key 15 +else_jump @CARMOD_9797 +gosub @CARMOD_2046 +$10083 = 1 + +:CARMOD_9797 +if + $10083 == 1 +else_jump @CARMOD_9893 +if +80E1: not player 0 pressed_key 15 +else_jump @CARMOD_9893 +gosub @CARMOD_2046 +if + $2420 == 1 +else_jump @CARMOD_9871 +08DA: remove_panel $2419 +03E6: remove_text_box +$2420 = 0 + +:CARMOD_9871 +0169: set_fade_color_RGB 0 0 0 +fade 0 1000 +$10083 = 2 + +:CARMOD_9893 +if + $10083 == 2 +else_jump @CARMOD_10117 +if + not fading +else_jump @CARMOD_10117 +09C6: 4 $CARMOD_CAR 0 0 +select_interior 0 +0860: link_actor $PLAYER_ACTOR to_interior 0 +0840: link_car $CARMOD_CAR to_interior 0 +04FA: reset_sky_colors_with_fade 0 +096C: restore_current_modparts +$10447 = 0 +04E4: refresh_game_renderer_at $10428 $10429 +Camera.SetAtPos($10428, $10429, $10430) +Car.PutAt($CARMOD_CAR, $10428, $10429, $10430) +if + $10483 == 1 +else_jump @CARMOD_10029 +Car.Angle($CARMOD_CAR) = 0.0 +Camera.SetBehindPlayer + +:CARMOD_10029 +if + $10484 == 1 +else_jump @CARMOD_10059 +Car.Angle($CARMOD_CAR) = 180.0 +Camera.SetBehindPlayer + +:CARMOD_10059 +if + $10485 == 1 +else_jump @CARMOD_10089 +Car.Angle($CARMOD_CAR) = 90.0 +Camera.SetBehindPlayer + +:CARMOD_10089 +0A13: unknown_sync_player_camera +Camera.Restore_WithJumpCut +087C: release_shopping_data +0169: set_fade_color_RGB 0 0 0 +fade 1 1000 +$10083 = 3 + +:CARMOD_10117 +if + $10083 == 3 +else_jump @CARMOD_10182 +if + not fading +else_jump @CARMOD_10182 +Player.CanMove($PLAYER_CHAR) = True +09BD: allow_other_threads_to_display_text_boxes 0 +Car.DoorStatus($CARMOD_CAR) = $10448 +0581: enable_radar 1 +057E: set_radar_grey 0 +$10083 = 4 + +:CARMOD_10182 +if + $10083 == 4 +else_jump @CARMOD_10291 +if +8100: not actor $PLAYER_ACTOR in_sphere $10428 $10429 $10430 radius 4.0 4.0 4.0 sphere 0 in_car +else_jump @CARMOD_10291 +$10416 = 0 +$10082 = 0 +$10083 = 0 +$10483 = 0 +$10484 = 0 +$10485 = 0 +gosub @CARMOD_14285 + +:CARMOD_10291 +if + $10083 == 5 +else_jump @CARMOD_10418 +if +80E1: not player 0 pressed_key 16 +else_jump @CARMOD_10418 +gosub @CARMOD_2046 +if + $2420 == 1 +else_jump @CARMOD_10365 +08DA: remove_panel $2419 +03E6: remove_text_box +$2420 = 0 + +:CARMOD_10365 +Camera.SetPosition($10181, $10182, $10183, 0.0, 0.0, 0.0) +Camera.PointAt($10184, $10185, $10186, 2) +$10082 = 4 +$10083 = 0 + +:CARMOD_10418 +if + $10082 == 4 +else_jump @CARMOD_11088 +if + Car.Wrecked($CARMOD_CAR) +else_jump @CARMOD_10466 +gosub @CARMOD_14285 +jump @CARMOD_1413 + +:CARMOD_10466 +if + $10399($10411,12i) == 101 +else_jump @CARMOD_10520 +if + $10437 == 0 +else_jump @CARMOD_10513 +gosub @CARMOD_21882 + +:CARMOD_10513 +jump @CARMOD_10545 + +:CARMOD_10520 +if + $2424 == 0 +else_jump @CARMOD_10545 +gosub @CARMOD_15087 + +:CARMOD_10545 +if + $10083 == 0 +else_jump @CARMOD_10858 +if +00E1: player 0 pressed_key 15 +else_jump @CARMOD_10615 +gosub @CARMOD_2046 +$2544 = 0 +$2545 = 0 +$10417 = 0 +$10083 = 1 + +:CARMOD_10615 +if +00E1: player 0 pressed_key 16 +else_jump @CARMOD_10858 +gosub @CARMOD_2046 +if + $10399($10411,12i) == 101 +else_jump @CARMOD_10740 +08D7: $10438 = panel $10436 active_row +if + 0 > $10438 +else_jump @CARMOD_10694 +$10438 = 0 + +:CARMOD_10694 +if + $10438 == 0 +else_jump @CARMOD_10726 +$10441 = 1 +jump @CARMOD_10733 + +:CARMOD_10726 +$10442 = 1 + +:CARMOD_10733 +jump @CARMOD_10823 + +:CARMOD_10740 +08D7: $10412 = panel $2423 active_row +if + 0 > $10412 +else_jump @CARMOD_10773 +$10412 = 0 + +:CARMOD_10773 +if and + not $10399($10411,12i) == 100 + not $10399($10411,12i) == 101 +else_jump @CARMOD_10823 +0084: $10415 = $2438($10412,12i) // (int) +06E9: load_car_component $10415 + +:CARMOD_10823 +$2544 = 0 +$2545 = 0 +$10417 = 0 +$10083 = 0 +$10082 = 5 + +:CARMOD_10858 +if + $10083 == 1 +else_jump @CARMOD_11088 +if +80E1: not player 0 pressed_key 15 +else_jump @CARMOD_11088 +gosub @CARMOD_2046 +if + $2424 == 1 +else_jump @CARMOD_10932 +08DA: remove_panel $2423 +03E6: remove_text_box +$2424 = 0 + +:CARMOD_10932 +if + $10427 == 1 +else_jump @CARMOD_10964 +08DA: remove_panel $CARMOD_MENU_COLORS +03E6: remove_text_box +$10427 = 0 + +:CARMOD_10964 +if + $10437 == 1 +else_jump @CARMOD_10996 +08DA: remove_panel $10436 +03E6: remove_text_box +$10437 = 0 + +:CARMOD_10996 +if + $2420 == 0 +else_jump @CARMOD_11028 +gosub @CARMOD_16081 +gosub @CARMOD_14650 + +:CARMOD_11028 +Camera.SetPosition($10088, $10089, $10090, 0.0, 0.0, 0.0) +Camera.PointAt($10091, $10092, $10093, 2) +$10416 = 0 +$10083 = 0 +$10082 = 3 + +:CARMOD_11088 +if + $10082 == 5 +else_jump @CARMOD_14264 +if + Car.Wrecked($CARMOD_CAR) +else_jump @CARMOD_11136 +gosub @CARMOD_14285 +jump @CARMOD_1413 + +:CARMOD_11136 +if + $10083 == 0 +else_jump @CARMOD_11323 +if +80E1: not player 0 pressed_key 16 +else_jump @CARMOD_11323 +gosub @CARMOD_2046 +if + $10399($10411,12i) == 101 +else_jump @CARMOD_11214 +$10083 = 1 +jump @CARMOD_11273 + +:CARMOD_11214 +if + not $10399($10411,12i) == 100 +else_jump @CARMOD_11266 +if +06EA: car_component $10415 available +else_jump @CARMOD_11259 +$10083 = 1 + +:CARMOD_11259 +jump @CARMOD_11273 + +:CARMOD_11266 +$10083 = 1 + +:CARMOD_11273 +if + $10083 == 1 +else_jump @CARMOD_11323 +if + $2424 == 1 +else_jump @CARMOD_11323 +08DA: remove_panel $2423 +03E6: remove_text_box +$2424 = 0 + +:CARMOD_11323 +if + $10083 == 1 +else_jump @CARMOD_11529 +if + $10399($10411,12i) == 101 +else_jump @CARMOD_11427 +if + $10437 == 1 +else_jump @CARMOD_11395 +08DA: remove_panel $10436 +03E6: remove_text_box +$10437 = 0 + +:CARMOD_11395 +if + $10427 == 0 +else_jump @CARMOD_11420 +gosub @CARMOD_15740 + +:CARMOD_11420 +jump @CARMOD_11522 + +:CARMOD_11427 +if + $10399($10411,12i) == 100 +else_jump @CARMOD_11499 +0084: $10086 = $10412 // (int) +0084: $10087 = $10412 // (int) +$10087 += 1 +06ED: set_car $CARMOD_CAR paintjob $10086 +09C6: 1 $CARMOD_CAR $10086 0 +jump @CARMOD_11515 + +:CARMOD_11499 +06E7: $10420 = add_car_component $10415 to_car $CARMOD_CAR +06EB: release_car_component $10415 + +:CARMOD_11515 +gosub @CARMOD_24279 + +:CARMOD_11522 +$10083 = 2 + +:CARMOD_11529 +if + $10083 == 2 +else_jump @CARMOD_11886 +if + $10399($10411,12i) == 101 +else_jump @CARMOD_11745 +08D7: $10440 = panel $CARMOD_MENU_COLORS active_row +if + 0 > $10440 +else_jump @CARMOD_11602 +$10440 = 0 + +:CARMOD_11602 +if + $10441 == 1 +else_jump @CARMOD_11700 +if or + $10486 == 542 + $10486 == 549 +else_jump @CARMOD_11680 +0A22: set_car_color_to_panel_color_panelID $CARMOD_MENU_COLORS car $CARMOD_CAR colorslot 1 active_row $10440 +0A22: set_car_color_to_panel_color_panelID $CARMOD_MENU_COLORS car $CARMOD_CAR colorslot 2 active_row $10440 +jump @CARMOD_11693 + +:CARMOD_11680 +0A22: set_car_color_to_panel_color_panelID $CARMOD_MENU_COLORS car $CARMOD_CAR colorslot 1 active_row $10440 + +:CARMOD_11693 +jump @CARMOD_11713 + +:CARMOD_11700 +0A22: set_car_color_to_panel_color_panelID $CARMOD_MENU_COLORS car $CARMOD_CAR colorslot 2 active_row $10440 + +:CARMOD_11713 +if + $10427 == 0 +else_jump @CARMOD_11738 +gosub @CARMOD_15740 + +:CARMOD_11738 +jump @CARMOD_11770 + +:CARMOD_11745 +if + $10425 == 0 +else_jump @CARMOD_11770 +gosub @CARMOD_24279 + +:CARMOD_11770 +if +00E1: player 0 pressed_key 15 +else_jump @CARMOD_11801 +gosub @CARMOD_2046 +$10083 = 3 + +:CARMOD_11801 +if +00E1: player 0 pressed_key 16 +else_jump @CARMOD_11886 +gosub @CARMOD_2046 +03D5: remove_text 'CLTHNO2' +03D5: remove_text 'COLORNO' +03D5: remove_text 'SHOPNO' +$2545 = 0 +$10417 = 0 +$2544 = 0 +$10083 = 4 + +:CARMOD_11886 +if + $10083 == 3 +else_jump @CARMOD_12339 +if +80E1: not player 0 pressed_key 15 +else_jump @CARMOD_12339 +gosub @CARMOD_2046 +if + $10399($10411,12i) == 101 +else_jump @CARMOD_12024 +if + $10085 > -1 +else_jump @CARMOD_12006 +0229: set_car $CARMOD_CAR primary_color_to $10422 secondary_color_to $10423 +06ED: set_car $CARMOD_CAR paintjob $10085 +09C6: 1 $CARMOD_CAR $10085 0 +jump @CARMOD_12017 + +:CARMOD_12006 +0229: set_car $CARMOD_CAR primary_color_to $10422 secondary_color_to $10423 + +:CARMOD_12017 +jump @CARMOD_12161 + +:CARMOD_12024 +if + $10399($10411,12i) == 100 +else_jump @CARMOD_12127 +if + 0 > $10085 +else_jump @CARMOD_12100 +06ED: set_car $CARMOD_CAR paintjob -1 +0229: set_car $CARMOD_CAR primary_color_to $10422 secondary_color_to $10423 +09C6: 1 $CARMOD_CAR -1 0 +jump @CARMOD_12120 + +:CARMOD_12100 +06ED: set_car $CARMOD_CAR paintjob $10085 +09C6: 1 $CARMOD_CAR $10085 0 + +:CARMOD_12120 +jump @CARMOD_12129 + +:CARMOD_12127 +096C: restore_current_modparts + +:CARMOD_12129 +if + $10425 == 1 +else_jump @CARMOD_12161 +08DA: remove_panel $10424 +03E6: remove_text_box +$10425 = 0 + +:CARMOD_12161 +if + $10427 == 1 +else_jump @CARMOD_12193 +08DA: remove_panel $CARMOD_MENU_COLORS +03E6: remove_text_box +$10427 = 0 + +:CARMOD_12193 +if + $10437 == 1 +else_jump @CARMOD_12225 +08DA: remove_panel $10436 +03E6: remove_text_box +$10437 = 0 + +:CARMOD_12225 +if + $10399($10411,12i) == 101 +else_jump @CARMOD_12279 +if + $10437 == 0 +else_jump @CARMOD_12272 +gosub @CARMOD_21882 + +:CARMOD_12272 +jump @CARMOD_12311 + +:CARMOD_12279 +if + $2424 == 0 +else_jump @CARMOD_12311 +gosub @CARMOD_17867 +gosub @CARMOD_15087 + +:CARMOD_12311 +$10441 = 0 +$10442 = 0 +$10083 = 0 +$10082 = 4 + +:CARMOD_12339 +if + $10083 == 4 +else_jump @CARMOD_14264 +if +80E1: not player 0 pressed_key 16 +else_jump @CARMOD_14264 +gosub @CARMOD_2046 +$SHOPS_PLAYER_CASH = Player.Money($PLAYER_CHAR) +if + $10399($10411,12i) == 101 +else_jump @CARMOD_13255 +if + $SHOPS_PLAYER_CASH >= 150 +else_jump @CARMOD_13186 +if + $10441 == 1 +else_jump @CARMOD_12817 +if +803A: not $10422 == $10440 // (int) +else_jump @CARMOD_12748 +Player.Money($PLAYER_CHAR) += -150 +0624: add 150.0 to_float_stat 55 +09D4: suspend_wanted_level +0878: set_car $CARMOD_CAR dirt_level 0.0 +03F3: get_car $CARMOD_CAR primary_color_to $10422 secondary_color_to $10423 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1134 +0A30: repair_car $CARMOD_CAR +096B: save_current_modparts +$10083 = 0 +$10082 = 3 +if + $2424 == 1 +else_jump @CARMOD_12574 +08DA: remove_panel $2423 +03E6: remove_text_box +$2424 = 0 + +:CARMOD_12574 +if + $10427 == 1 +else_jump @CARMOD_12606 +08DA: remove_panel $CARMOD_MENU_COLORS +03E6: remove_text_box +$10427 = 0 + +:CARMOD_12606 +if + $10425 == 1 +else_jump @CARMOD_12638 +08DA: remove_panel $10424 +03E6: remove_text_box +$10425 = 0 + +:CARMOD_12638 +if + $10437 == 1 +else_jump @CARMOD_12670 +08DA: remove_panel $10436 +03E6: remove_text_box +$10437 = 0 + +:CARMOD_12670 +if + $2420 == 0 +else_jump @CARMOD_12702 +gosub @CARMOD_16081 +gosub @CARMOD_14650 + +:CARMOD_12702 +Camera.SetPosition($10088, $10089, $10090, 0.0, 0.0, 0.0) +Camera.PointAt($10091, $10092, $10093, 2) +jump @CARMOD_12810 + +:CARMOD_12748 +if + $10417 == 0 +else_jump @CARMOD_12810 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1055 +00BC: show_text_highpriority GXT 'COLORNO' time 3000 flag 1 +$10083 = 2 +$10417 = 1 + +:CARMOD_12810 +jump @CARMOD_13179 + +:CARMOD_12817 +if +803A: not $10423 == $10440 // (int) +else_jump @CARMOD_13117 +Player.Money($PLAYER_CHAR) += -150 +0624: add 150.0 to_float_stat 55 +09D4: suspend_wanted_level +0878: set_car $CARMOD_CAR dirt_level 0.0 +03F3: get_car $CARMOD_CAR primary_color_to $10422 secondary_color_to $10423 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1134 +0A30: repair_car $CARMOD_CAR +096B: save_current_modparts +$10083 = 0 +$10082 = 3 +if + $2424 == 1 +else_jump @CARMOD_12943 +08DA: remove_panel $2423 +03E6: remove_text_box +$2424 = 0 + +:CARMOD_12943 +if + $10427 == 1 +else_jump @CARMOD_12975 +08DA: remove_panel $CARMOD_MENU_COLORS +03E6: remove_text_box +$10427 = 0 + +:CARMOD_12975 +if + $10425 == 1 +else_jump @CARMOD_13007 +08DA: remove_panel $10424 +03E6: remove_text_box +$10425 = 0 + +:CARMOD_13007 +if + $10437 == 1 +else_jump @CARMOD_13039 +08DA: remove_panel $10436 +03E6: remove_text_box +$10437 = 0 + +:CARMOD_13039 +if + $2420 == 0 +else_jump @CARMOD_13071 +gosub @CARMOD_16081 +gosub @CARMOD_14650 + +:CARMOD_13071 +Camera.SetPosition($10088, $10089, $10090, 0.0, 0.0, 0.0) +Camera.PointAt($10091, $10092, $10093, 2) +jump @CARMOD_13179 + +:CARMOD_13117 +if + $10417 == 0 +else_jump @CARMOD_13179 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1055 +00BC: show_text_highpriority GXT 'COLORNO' time 3000 flag 1 +$10083 = 2 +$10417 = 1 + +:CARMOD_13179 +jump @CARMOD_13248 + +:CARMOD_13186 +if + $2544 == 0 +else_jump @CARMOD_13248 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1055 +00BC: show_text_highpriority GXT 'SHOPNO' time 3000 flag 1 +$10083 = 2 +$2544 = 1 + +:CARMOD_13248 +jump @CARMOD_14264 + +:CARMOD_13255 +if + $10399($10411,12i) == 100 +else_jump @CARMOD_13742 +if + $SHOPS_PLAYER_CASH >= 500 +else_jump @CARMOD_13673 +if +003A: $10086 == $10085 // (int) +else_jump @CARMOD_13384 +if + $2545 == 0 +else_jump @CARMOD_13377 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1055 +00BC: show_text_highpriority GXT 'CLTHNO2' time 3000 flag 1 +$10083 = 2 +$2545 = 1 + +:CARMOD_13377 +jump @CARMOD_13666 + +:CARMOD_13384 +Player.Money($PLAYER_CHAR) += -500 +0624: add 500.0 to_float_stat 55 +09D4: suspend_wanted_level +0878: set_car $CARMOD_CAR dirt_level 0.0 +0A30: repair_car $CARMOD_CAR +096B: save_current_modparts +0084: $10085 = $10086 // (int) +03F3: get_car $CARMOD_CAR primary_color_to $10422 secondary_color_to $10423 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1134 +$10083 = 0 +$10082 = 3 +if + $2424 == 1 +else_jump @CARMOD_13499 +08DA: remove_panel $2423 +03E6: remove_text_box +$2424 = 0 + +:CARMOD_13499 +if + $10427 == 1 +else_jump @CARMOD_13531 +08DA: remove_panel $CARMOD_MENU_COLORS +03E6: remove_text_box +$10427 = 0 + +:CARMOD_13531 +if + $10425 == 1 +else_jump @CARMOD_13563 +08DA: remove_panel $10424 +03E6: remove_text_box +$10425 = 0 + +:CARMOD_13563 +if + $10437 == 1 +else_jump @CARMOD_13595 +08DA: remove_panel $10436 +03E6: remove_text_box +$10437 = 0 + +:CARMOD_13595 +if + $2420 == 0 +else_jump @CARMOD_13627 +gosub @CARMOD_16081 +gosub @CARMOD_14650 + +:CARMOD_13627 +Camera.SetPosition($10088, $10089, $10090, 0.0, 0.0, 0.0) +Camera.PointAt($10091, $10092, $10093, 2) + +:CARMOD_13666 +jump @CARMOD_13735 + +:CARMOD_13673 +if + $2544 == 0 +else_jump @CARMOD_13735 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1055 +00BC: show_text_highpriority GXT 'SHOPNO' time 3000 flag 1 +$10083 = 2 +$2544 = 1 + +:CARMOD_13735 +jump @CARMOD_14264 + +:CARMOD_13742 +if +002C: $SHOPS_PLAYER_CASH >= $2426($10412,12i) // (int) +else_jump @CARMOD_14202 +if +803A: not $10421 == $10415 // (int) +else_jump @CARMOD_14133 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1133 +0790: charge_money_for_shopping_item_with_textureCRC $10415 +0878: set_car $CARMOD_CAR dirt_level 0.0 +096B: save_current_modparts +0084: $10421 = $10415 // (int) +09C6: 2 $CARMOD_CAR $10415 0 +if + $2758 == 0 +else_jump @CARMOD_13913 +if or +05AD: s$2450[0] == 'BMBSM' // s$ == short +05AD: s$2450[0] == 'BMBTN' // s$ == short +05AD: s$2450[0] == 'BMBLN' // s$ == short +else_jump @CARMOD_13913 +$2758 = 1 + +:CARMOD_13913 +$10083 = 0 +$10082 = 3 +if + $2424 == 1 +else_jump @CARMOD_13959 +08DA: remove_panel $2423 +03E6: remove_text_box +$2424 = 0 + +:CARMOD_13959 +if + $10427 == 1 +else_jump @CARMOD_13991 +08DA: remove_panel $CARMOD_MENU_COLORS +03E6: remove_text_box +$10427 = 0 + +:CARMOD_13991 +if + $10425 == 1 +else_jump @CARMOD_14023 +08DA: remove_panel $10424 +03E6: remove_text_box +$10425 = 0 + +:CARMOD_14023 +if + $10437 == 1 +else_jump @CARMOD_14055 +08DA: remove_panel $10436 +03E6: remove_text_box +$10437 = 0 + +:CARMOD_14055 +if + $2420 == 0 +else_jump @CARMOD_14087 +gosub @CARMOD_16081 +gosub @CARMOD_14650 + +:CARMOD_14087 +Camera.SetPosition($10088, $10089, $10090, 0.0, 0.0, 0.0) +Camera.PointAt($10091, $10092, $10093, 2) +jump @CARMOD_14195 + +:CARMOD_14133 +if + $2545 == 0 +else_jump @CARMOD_14195 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1055 +00BC: show_text_highpriority GXT 'CLTHNO2' time 3000 flag 1 +$10083 = 2 +$2545 = 1 + +:CARMOD_14195 +jump @CARMOD_14264 + +:CARMOD_14202 +if + $2544 == 0 +else_jump @CARMOD_14264 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1055 +00BC: show_text_highpriority GXT 'SHOPNO' time 3000 flag 1 +$10083 = 2 +$2544 = 1 + +:CARMOD_14264 +jump @CARMOD_14278 +gosub @CARMOD_14285 + +:CARMOD_14278 +jump @CARMOD_1413 + +:CARMOD_14285 +if + $2420 == 1 +else_jump @CARMOD_14317 +08DA: remove_panel $2419 +03E6: remove_text_box +$2420 = 0 + +:CARMOD_14317 +if + $2424 == 1 +else_jump @CARMOD_14349 +08DA: remove_panel $2423 +03E6: remove_text_box +$2424 = 0 + +:CARMOD_14349 +if + $10427 == 1 +else_jump @CARMOD_14381 +08DA: remove_panel $CARMOD_MENU_COLORS +03E6: remove_text_box +$10427 = 0 + +:CARMOD_14381 +if + $10425 == 1 +else_jump @CARMOD_14413 +08DA: remove_panel $10424 +03E6: remove_text_box +$10425 = 0 + +:CARMOD_14413 +if + $10437 == 1 +else_jump @CARMOD_14445 +08DA: remove_panel $10436 +03E6: remove_text_box +$10437 = 0 + +:CARMOD_14445 +if + $10082 >= 1 +else_jump @CARMOD_14465 +03E6: remove_text_box + +:CARMOD_14465 +$10441 = 0 +$10442 = 0 +$10416 = 0 +$2545 = 0 +$2544 = 0 +$10417 = 0 +$10483 = 0 +$10484 = 0 +$10485 = 0 +$10082 = 0 +$10083 = 0 +057E: set_radar_grey 0 +08F8: display_stat_update_box 1 +09BD: allow_other_threads_to_display_text_boxes 0 +if + $2758 == 1 +else_jump @CARMOD_14590 +03E5: show_text_box 'NITROH1' +$2758 = 2 + +:CARMOD_14590 +if + Actor.Driving($PLAYER_ACTOR) +else_jump @CARMOD_25004 +$11563 = Actor.CurrentCar($PLAYER_ACTOR) +03F3: get_car $11563 primary_color_to $11562 secondary_color_to $11561 +09C6: 3 $11563 $11562 $11561 +end_thread +return + +:CARMOD_14642 +wait 0 +end_thread +return + +:CARMOD_14650 +if + $2420 == 0 +else_jump @CARMOD_15085 +0512: show_permanent_text_box 'MODH1' +if +04A3: $CURRENT_LANGUAGE == 0 // == constant +else_jump @CARMOD_14748 +08D4: $2419 = create_panel_with_title 'UPGRADE' position 29.0 145.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +$ACTIVE_PANEL_ID = 1 +jump @CARMOD_15017 + +:CARMOD_14748 +if +04A3: $CURRENT_LANGUAGE == 1 // == constant +else_jump @CARMOD_14817 +08D4: $2419 = create_panel_with_title 'UPGRADE' position 29.0 165.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +$ACTIVE_PANEL_ID = 1 +jump @CARMOD_15017 + +:CARMOD_14817 +if +04A3: $CURRENT_LANGUAGE == 2 // == constant +else_jump @CARMOD_14886 +08D4: $2419 = create_panel_with_title 'UPGRADE' position 29.0 165.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +$ACTIVE_PANEL_ID = 1 +jump @CARMOD_15017 + +:CARMOD_14886 +if +04A3: $CURRENT_LANGUAGE == 3 // == constant +else_jump @CARMOD_14955 +08D4: $2419 = create_panel_with_title 'UPGRADE' position 29.0 145.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +$ACTIVE_PANEL_ID = 1 +jump @CARMOD_15017 + +:CARMOD_14955 +if +04A3: $CURRENT_LANGUAGE == 4 // == constant +else_jump @CARMOD_15017 +08D4: $2419 = create_panel_with_title 'UPGRADE' position 29.0 145.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +$ACTIVE_PANEL_ID = 1 + +:CARMOD_15017 +08D6: set_panel $2419 column 0 alignment 1 +08DB: set_panel $2419 column 0 header 'DUMMY' data s$2450[0] s$2450[1] s$2450[2] s$2450[3] s$2450[4] s$2450[5] s$2450[6] s$2450[7] s$2450[8] s$2450[9] s$2450[10] s$2450[11] +$2420 = 1 + +:CARMOD_15085 +return + +:CARMOD_15087 +if + $2424 == 0 +else_jump @CARMOD_15738 +0512: show_permanent_text_box 'MODH3' +if +04A3: $CURRENT_LANGUAGE == 0 // == constant +else_jump @CARMOD_15185 +08D4: $2423 = create_panel_with_title 'UPGRADE' position 29.0 145.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +$ACTIVE_PANEL_ID = 2 +jump @CARMOD_15454 + +:CARMOD_15185 +if +04A3: $CURRENT_LANGUAGE == 1 // == constant +else_jump @CARMOD_15254 +08D4: $2423 = create_panel_with_title 'UPGRADE' position 29.0 165.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +$ACTIVE_PANEL_ID = 2 +jump @CARMOD_15454 + +:CARMOD_15254 +if +04A3: $CURRENT_LANGUAGE == 2 // == constant +else_jump @CARMOD_15323 +08D4: $2423 = create_panel_with_title 'UPGRADE' position 29.0 165.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +$ACTIVE_PANEL_ID = 2 +jump @CARMOD_15454 + +:CARMOD_15323 +if +04A3: $CURRENT_LANGUAGE == 3 // == constant +else_jump @CARMOD_15392 +08D4: $2423 = create_panel_with_title 'UPGRADE' position 29.0 145.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +$ACTIVE_PANEL_ID = 2 +jump @CARMOD_15454 + +:CARMOD_15392 +if +04A3: $CURRENT_LANGUAGE == 4 // == constant +else_jump @CARMOD_15454 +08D4: $2423 = create_panel_with_title 'UPGRADE' position 29.0 145.0 width 186.0 columns 1 interactive 1 background 1 alignment 1 +$ACTIVE_PANEL_ID = 2 + +:CARMOD_15454 +08D6: set_panel $2423 column 0 alignment 1 +08DB: set_panel $2423 column 0 header 'DUMMY' data s$2450[0] s$2450[1] s$2450[2] s$2450[3] s$2450[4] s$2450[5] s$2450[6] s$2450[7] s$2450[8] s$2450[9] s$2450[10] s$2450[11] +if + $10399($10411,12i) == 100 +else_jump @CARMOD_15676 +$2515 = 0 + +:CARMOD_15544 +if +001C: $10446 > $2515 // (int) +else_jump @CARMOD_15614 +0084: $10087 = $2515 // (int) +$10087 += 1 +08EE: set_panel $2423 column 0 row $2515 text_1number GXT 'PJOB' number $10087 +$2515 += 1 +jump @CARMOD_15544 + +:CARMOD_15614 +$2515 = 0 + +:CARMOD_15621 +if +001C: $10446 > $2515 // (int) +else_jump @CARMOD_15669 +08D9: set_panel $2423 row $2515 enable $2498($2515,12i) +$2515 += 1 +jump @CARMOD_15621 + +:CARMOD_15669 +jump @CARMOD_15731 + +:CARMOD_15676 +$2515 = 0 + +:CARMOD_15683 +if +001C: $10414 > $2515 // (int) +else_jump @CARMOD_15731 +08D9: set_panel $2423 row $2515 enable $2498($2515,12i) +$2515 += 1 +jump @CARMOD_15683 + +:CARMOD_15731 +$2424 = 1 + +:CARMOD_15738 +return + +:CARMOD_15740 +if + $10427 == 0 +else_jump @CARMOD_16079 +0512: show_permanent_text_box 'MODH6' +if +04A3: $CURRENT_LANGUAGE == 0 // == constant +else_jump @CARMOD_15831 +0964: create_square_color_panel 'CARM1' position 29.0 145.0 width 25.7 columns 8 interactive 1 background 1 alignment 1 panelID $CARMOD_MENU_COLORS +jump @CARMOD_16072 + +:CARMOD_15831 +if +04A3: $CURRENT_LANGUAGE == 1 // == constant +else_jump @CARMOD_15893 +0964: create_square_color_panel 'CARM1' position 29.0 145.0 width 25.7 columns 8 interactive 1 background 1 alignment 1 panelID $CARMOD_MENU_COLORS +jump @CARMOD_16072 + +:CARMOD_15893 +if +04A3: $CURRENT_LANGUAGE == 2 // == constant +else_jump @CARMOD_15955 +0964: create_square_color_panel 'CARM1' position 29.0 155.0 width 25.7 columns 8 interactive 1 background 1 alignment 1 panelID $CARMOD_MENU_COLORS +jump @CARMOD_16072 + +:CARMOD_15955 +if +04A3: $CURRENT_LANGUAGE == 3 // == constant +else_jump @CARMOD_16017 +0964: create_square_color_panel 'CARM1' position 29.0 145.0 width 25.7 columns 8 interactive 1 background 1 alignment 1 panelID $CARMOD_MENU_COLORS +jump @CARMOD_16072 + +:CARMOD_16017 +if +04A3: $CURRENT_LANGUAGE == 4 // == constant +else_jump @CARMOD_16072 +0964: create_square_color_panel 'CARM1' position 29.0 145.0 width 25.7 columns 8 interactive 1 background 1 alignment 1 panelID $CARMOD_MENU_COLORS + +:CARMOD_16072 +$10427 = 1 + +:CARMOD_16079 +return + +:CARMOD_16081 +$10187 = 0 +$10190 = 0 +$10191 = 0 +$10192 = 0 +$10193 = 0 +$10194 = 0 +$10195 = 0 +$10196 = 0 +$10198 = 0 +$10199 = 0 +$10200 = 0 +$10201 = 0 +$10202 = 0 +$10203 = 0 +$10197 = 0 +$10446 = 0 +$10084 = 0 +$10206 = 0 +$10205 = 0 +$10445 = 0 +06EC: get_car $CARMOD_CAR number_of_possible_paintjobs_to $10446 +if + not $10446 == 0 +else_jump @CARMOD_16283 +05A9: $2450($10187,12s) = 'CARM11' // s$ +$10399($10187,12i) = 100 +$10187 += 1 + +:CARMOD_16283 +097D: get_car $CARMOD_CAR number_of_color_indices_to $10084 +if + not $10084 == 0 +else_jump @CARMOD_16345 +05A9: $2450($10187,12s) = 'CARM1' // s$ +$10399($10187,12i) = 101 +$10187 += 1 + +:CARMOD_16345 +if +001C: $2514 > $10445 // (int) +else_jump @CARMOD_17850 +0760: store_shopping_data_index $10445 textureCRC_to $10188 +06E6: get_itemID $10188 destinated_component_slot_to $10189 +if +04A3: $10189 == 12 // == constant +else_jump @CARMOD_16471 +if + $10197 == 0 +else_jump @CARMOD_16452 +05A9: $2450($10187,12s) = 'CARM12' // s$ +04AE: $10399($10187,12i) = 12 // = constant +$10187 += 1 + +:CARMOD_16452 +0084: $10363($10197,12i) = $10188 // (int) +$10197 += 1 + +:CARMOD_16471 +if +04A3: $10189 == 3 // == constant +else_jump @CARMOD_16562 +if + $10190 == 0 +else_jump @CARMOD_16543 +05A9: $2450($10187,12s) = 'CARM4' // s$ +04AE: $10399($10187,12i) = 3 // = constant +$10187 += 1 + +:CARMOD_16543 +0084: $10207($10190,12i) = $10188 // (int) +$10190 += 1 + +:CARMOD_16562 +if +04A3: $10189 == 7 // == constant +else_jump @CARMOD_16653 +if + $10191 == 0 +else_jump @CARMOD_16634 +05A9: $2450($10187,12s) = 'CARM10' // s$ +04AE: $10399($10187,12i) = 7 // = constant +$10187 += 1 + +:CARMOD_16634 +0084: $10219($10191,12i) = $10188 // (int) +$10191 += 1 + +:CARMOD_16653 +if +04A3: $10189 == 13 // == constant +else_jump @CARMOD_16744 +if + $10192 == 0 +else_jump @CARMOD_16725 +05A9: $2450($10187,12s) = 'CARM5' // s$ +04AE: $10399($10187,12i) = 13 // = constant +$10187 += 1 + +:CARMOD_16725 +0084: $10231($10192,12i) = $10188 // (int) +$10192 += 1 + +:CARMOD_16744 +if +04A3: $10189 == 8 // == constant +else_jump @CARMOD_16835 +if + $10193 == 0 +else_jump @CARMOD_16816 +05A9: $2450($10187,12s) = 'CARM6' // s$ +04AE: $10399($10187,12i) = 8 // = constant +$10187 += 1 + +:CARMOD_16816 +0084: $10243($10193,12i) = $10188 // (int) +$10193 += 1 + +:CARMOD_16835 +if +04A3: $10189 == 2 // == constant +else_jump @CARMOD_16926 +if + $10194 == 0 +else_jump @CARMOD_16907 +05A9: $2450($10187,12s) = 'CARM2' // s$ +04AE: $10399($10187,12i) = 2 // = constant +$10187 += 1 + +:CARMOD_16907 +0084: $10255($10194,12i) = $10188 // (int) +$10194 += 1 + +:CARMOD_16926 +if +04A3: $10189 == 0 // == constant +else_jump @CARMOD_17017 +if + $10195 == 0 +else_jump @CARMOD_16998 +05A9: $2450($10187,12s) = 'CARM3' // s$ +04AE: $10399($10187,12i) = 0 // = constant +$10187 += 1 + +:CARMOD_16998 +0084: $10267($10195,12i) = $10188 // (int) +$10195 += 1 + +:CARMOD_17017 +if +04A3: $10189 == 1 // == constant +else_jump @CARMOD_17108 +if + $10196 == 0 +else_jump @CARMOD_17089 +05A9: $2450($10187,12s) = 'CARM17' // s$ +04AE: $10399($10187,12i) = 1 // = constant +$10187 += 1 + +:CARMOD_17089 +0084: $10279($10196,12i) = $10188 // (int) +$10196 += 1 + +:CARMOD_17108 +if +04A3: $10189 == 14 // == constant +else_jump @CARMOD_17199 +if + $10198 == 0 +else_jump @CARMOD_17180 +05A9: $2450($10187,12s) = 'CARM7' // s$ +04AE: $10399($10187,12i) = 14 // = constant +$10187 += 1 + +:CARMOD_17180 +0084: $10291($10198,12i) = $10188 // (int) +$10198 += 1 + +:CARMOD_17199 +if +04A3: $10189 == 15 // == constant +else_jump @CARMOD_17290 +if + $10199 == 0 +else_jump @CARMOD_17271 +05A9: $2450($10187,12s) = 'CARM8' // s$ +04AE: $10399($10187,12i) = 15 // = constant +$10187 += 1 + +:CARMOD_17271 +0084: $10303($10199,12i) = $10188 // (int) +$10199 += 1 + +:CARMOD_17290 +if +04A3: $10189 == 6 // == constant +else_jump @CARMOD_17381 +if + $10200 == 0 +else_jump @CARMOD_17362 +05A9: $2450($10187,12s) = 'CARM9' // s$ +04AE: $10399($10187,12i) = 6 // = constant +$10187 += 1 + +:CARMOD_17362 +0084: $10315($10200,12i) = $10188 // (int) +$10200 += 1 + +:CARMOD_17381 +if +04A3: $10189 == 4 // == constant +else_jump @CARMOD_17472 +if + $10201 == 0 +else_jump @CARMOD_17453 +05A9: $2450($10187,12s) = 'CARM13' // s$ +04AE: $10399($10187,12i) = 4 // = constant +$10187 += 1 + +:CARMOD_17453 +0084: $10327($10201,12i) = $10188 // (int) +$10201 += 1 + +:CARMOD_17472 +if +04A3: $10189 == 5 // == constant +else_jump @CARMOD_17563 +if + $10202 == 0 +else_jump @CARMOD_17544 +05A9: $2450($10187,12s) = 'CARM14' // s$ +04AE: $10399($10187,12i) = 5 // = constant +$10187 += 1 + +:CARMOD_17544 +0084: $10339($10202,12i) = $10188 // (int) +$10202 += 1 + +:CARMOD_17563 +if +04A3: $10189 == 16 // == constant +else_jump @CARMOD_17654 +if + $10203 == 0 +else_jump @CARMOD_17635 +05A9: $2450($10187,12s) = 'CARM15' // s$ +04AE: $10399($10187,12i) = 16 // = constant +$10187 += 1 + +:CARMOD_17635 +0084: $10351($10203,12i) = $10188 // (int) +$10203 += 1 + +:CARMOD_17654 +if +04A3: $10189 == 9 // == constant +else_jump @CARMOD_17745 +if + $10206 == 0 +else_jump @CARMOD_17726 +05A9: $2450($10187,12s) = 'CARM18' // s$ +04AE: $10399($10187,12i) = 9 // = constant +$10187 += 1 + +:CARMOD_17726 +0084: $10387($10206,12i) = $10188 // (int) +$10206 += 1 + +:CARMOD_17745 +if +04A3: $10189 == 10 // == constant +else_jump @CARMOD_17836 +if + $10205 == 0 +else_jump @CARMOD_17817 +05A9: $2450($10187,12s) = 'CARM16' // s$ +04AE: $10399($10187,12i) = 10 // = constant +$10187 += 1 + +:CARMOD_17817 +0084: $10375($10205,12i) = $10188 // (int) +$10205 += 1 + +:CARMOD_17836 +$10445 += 1 +jump @CARMOD_16345 + +:CARMOD_17850 +0084: $2515 = $10187 // (int) +gosub @CARMOD_21808 +return + +:CARMOD_17867 +if + $10399($10411,12i) == 100 +else_jump @CARMOD_18078 +$10413 = 0 +0084: $10414 = $10446 // (int) + +:CARMOD_17904 +if +001C: $10446 > $10413 // (int) +else_jump @CARMOD_18015 +05A9: $2450($10413,12s) = 'PAINTJB' // s$ +$2426($10413,12i) = 500 +if +003A: $10085 == $10413 // (int) +else_jump @CARMOD_17990 +$2498($10413,12i) = 0 +jump @CARMOD_18001 + +:CARMOD_17990 +$2498($10413,12i) = 1 + +:CARMOD_18001 +$10413 += 1 +jump @CARMOD_17904 + +:CARMOD_18015 +0084: $2515 = $10446 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10166 // (float) +0086: $10182 = $10167 // (float) +0086: $10183 = $10168 // (float) +0086: $10184 = $10169 // (float) +0086: $10185 = $10170 // (float) +0086: $10186 = $10171 // (float) + +:CARMOD_18078 +if +04A3: $10399($10411,12i) == 12 // == constant +else_jump @CARMOD_18311 +$10413 = 0 +0084: $10414 = $10197 // (int) + +:CARMOD_18115 +if +001C: $10197 > $10413 // (int) +else_jump @CARMOD_18248 +078C: get_shopping_item_with_textureCRC $10363($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10363($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10363($10413,12i) // (int) +if +003A: $10421 == $10363($10413,12i) // (int) +else_jump @CARMOD_18223 +$2498($10413,12i) = 0 +jump @CARMOD_18234 + +:CARMOD_18223 +$2498($10413,12i) = 1 + +:CARMOD_18234 +$10413 += 1 +jump @CARMOD_18115 + +:CARMOD_18248 +0084: $2515 = $10197 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10094 // (float) +0086: $10182 = $10095 // (float) +0086: $10183 = $10096 // (float) +0086: $10184 = $10097 // (float) +0086: $10185 = $10098 // (float) +0086: $10186 = $10099 // (float) + +:CARMOD_18311 +if +04A3: $10399($10411,12i) == 3 // == constant +else_jump @CARMOD_18544 +$10413 = 0 +0084: $10414 = $10190 // (int) + +:CARMOD_18348 +if +001C: $10190 > $10413 // (int) +else_jump @CARMOD_18481 +078C: get_shopping_item_with_textureCRC $10207($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10207($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10207($10413,12i) // (int) +if +003A: $10421 == $10207($10413,12i) // (int) +else_jump @CARMOD_18456 +$2498($10413,12i) = 0 +jump @CARMOD_18467 + +:CARMOD_18456 +$2498($10413,12i) = 1 + +:CARMOD_18467 +$10413 += 1 +jump @CARMOD_18348 + +:CARMOD_18481 +0084: $2515 = $10190 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10106 // (float) +0086: $10182 = $10107 // (float) +0086: $10183 = $10108 // (float) +0086: $10184 = $10109 // (float) +0086: $10185 = $10110 // (float) +0086: $10186 = $10111 // (float) + +:CARMOD_18544 +if +04A3: $10399($10411,12i) == 7 // == constant +else_jump @CARMOD_18777 +$10413 = 0 +0084: $10414 = $10191 // (int) + +:CARMOD_18581 +if +001C: $10191 > $10413 // (int) +else_jump @CARMOD_18714 +078C: get_shopping_item_with_textureCRC $10219($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10219($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10219($10413,12i) // (int) +if +003A: $10421 == $10219($10413,12i) // (int) +else_jump @CARMOD_18689 +$2498($10413,12i) = 0 +jump @CARMOD_18700 + +:CARMOD_18689 +$2498($10413,12i) = 1 + +:CARMOD_18700 +$10413 += 1 +jump @CARMOD_18581 + +:CARMOD_18714 +0084: $2515 = $10191 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10112 // (float) +0086: $10182 = $10113 // (float) +0086: $10183 = $10114 // (float) +0086: $10184 = $10115 // (float) +0086: $10185 = $10116 // (float) +0086: $10186 = $10117 // (float) + +:CARMOD_18777 +if +04A3: $10399($10411,12i) == 13 // == constant +else_jump @CARMOD_19010 +$10413 = 0 +0084: $10414 = $10192 // (int) + +:CARMOD_18814 +if +001C: $10192 > $10413 // (int) +else_jump @CARMOD_18947 +078C: get_shopping_item_with_textureCRC $10231($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10231($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10231($10413,12i) // (int) +if +003A: $10421 == $10231($10413,12i) // (int) +else_jump @CARMOD_18922 +$2498($10413,12i) = 0 +jump @CARMOD_18933 + +:CARMOD_18922 +$2498($10413,12i) = 1 + +:CARMOD_18933 +$10413 += 1 +jump @CARMOD_18814 + +:CARMOD_18947 +0084: $2515 = $10192 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10124 // (float) +0086: $10182 = $10125 // (float) +0086: $10183 = $10126 // (float) +0086: $10184 = $10127 // (float) +0086: $10185 = $10128 // (float) +0086: $10186 = $10129 // (float) + +:CARMOD_19010 +if +04A3: $10399($10411,12i) == 8 // == constant +else_jump @CARMOD_19243 +$10413 = 0 +0084: $10414 = $10193 // (int) + +:CARMOD_19047 +if +001C: $10193 > $10413 // (int) +else_jump @CARMOD_19180 +078C: get_shopping_item_with_textureCRC $10243($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10243($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10243($10413,12i) // (int) +if +003A: $10421 == $10243($10413,12i) // (int) +else_jump @CARMOD_19155 +$2498($10413,12i) = 0 +jump @CARMOD_19166 + +:CARMOD_19155 +$2498($10413,12i) = 1 + +:CARMOD_19166 +$10413 += 1 +jump @CARMOD_19047 + +:CARMOD_19180 +0084: $2515 = $10193 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10160 // (float) +0086: $10182 = $10161 // (float) +0086: $10183 = $10162 // (float) +0086: $10184 = $10163 // (float) +0086: $10185 = $10164 // (float) +0086: $10186 = $10165 // (float) + +:CARMOD_19243 +if +04A3: $10399($10411,12i) == 2 // == constant +else_jump @CARMOD_19476 +$10413 = 0 +0084: $10414 = $10194 // (int) + +:CARMOD_19280 +if +001C: $10194 > $10413 // (int) +else_jump @CARMOD_19413 +078C: get_shopping_item_with_textureCRC $10255($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10255($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10255($10413,12i) // (int) +if +003A: $10421 == $10255($10413,12i) // (int) +else_jump @CARMOD_19388 +$2498($10413,12i) = 0 +jump @CARMOD_19399 + +:CARMOD_19388 +$2498($10413,12i) = 1 + +:CARMOD_19399 +$10413 += 1 +jump @CARMOD_19280 + +:CARMOD_19413 +0084: $2515 = $10194 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10100 // (float) +0086: $10182 = $10101 // (float) +0086: $10183 = $10102 // (float) +0086: $10184 = $10103 // (float) +0086: $10185 = $10104 // (float) +0086: $10186 = $10105 // (float) + +:CARMOD_19476 +if +04A3: $10399($10411,12i) == 0 // == constant +else_jump @CARMOD_19709 +$10413 = 0 +0084: $10414 = $10195 // (int) + +:CARMOD_19513 +if +001C: $10195 > $10413 // (int) +else_jump @CARMOD_19646 +078C: get_shopping_item_with_textureCRC $10267($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10267($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10267($10413,12i) // (int) +if +003A: $10421 == $10267($10413,12i) // (int) +else_jump @CARMOD_19621 +$2498($10413,12i) = 0 +jump @CARMOD_19632 + +:CARMOD_19621 +$2498($10413,12i) = 1 + +:CARMOD_19632 +$10413 += 1 +jump @CARMOD_19513 + +:CARMOD_19646 +0084: $2515 = $10195 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10118 // (float) +0086: $10182 = $10119 // (float) +0086: $10183 = $10120 // (float) +0086: $10184 = $10121 // (float) +0086: $10185 = $10122 // (float) +0086: $10186 = $10123 // (float) + +:CARMOD_19709 +if +04A3: $10399($10411,12i) == 1 // == constant +else_jump @CARMOD_19942 +$10413 = 0 +0084: $10414 = $10196 // (int) + +:CARMOD_19746 +if +001C: $10196 > $10413 // (int) +else_jump @CARMOD_19879 +078C: get_shopping_item_with_textureCRC $10279($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10279($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10279($10413,12i) // (int) +if +003A: $10421 == $10279($10413,12i) // (int) +else_jump @CARMOD_19854 +$2498($10413,12i) = 0 +jump @CARMOD_19865 + +:CARMOD_19854 +$2498($10413,12i) = 1 + +:CARMOD_19865 +$10413 += 1 +jump @CARMOD_19746 + +:CARMOD_19879 +0084: $2515 = $10196 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10118 // (float) +0086: $10182 = $10119 // (float) +0086: $10183 = $10120 // (float) +0086: $10184 = $10121 // (float) +0086: $10185 = $10122 // (float) +0086: $10186 = $10123 // (float) + +:CARMOD_19942 +if +04A3: $10399($10411,12i) == 14 // == constant +else_jump @CARMOD_20175 +$10413 = 0 +0084: $10414 = $10198 // (int) + +:CARMOD_19979 +if +001C: $10198 > $10413 // (int) +else_jump @CARMOD_20112 +078C: get_shopping_item_with_textureCRC $10291($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10291($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10291($10413,12i) // (int) +if +003A: $10421 == $10291($10413,12i) // (int) +else_jump @CARMOD_20087 +$2498($10413,12i) = 0 +jump @CARMOD_20098 + +:CARMOD_20087 +$2498($10413,12i) = 1 + +:CARMOD_20098 +$10413 += 1 +jump @CARMOD_19979 + +:CARMOD_20112 +0084: $2515 = $10198 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10130 // (float) +0086: $10182 = $10131 // (float) +0086: $10183 = $10132 // (float) +0086: $10184 = $10133 // (float) +0086: $10185 = $10134 // (float) +0086: $10186 = $10135 // (float) + +:CARMOD_20175 +if +04A3: $10399($10411,12i) == 15 // == constant +else_jump @CARMOD_20408 +$10413 = 0 +0084: $10414 = $10199 // (int) + +:CARMOD_20212 +if +001C: $10199 > $10413 // (int) +else_jump @CARMOD_20345 +078C: get_shopping_item_with_textureCRC $10303($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10303($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10303($10413,12i) // (int) +if +003A: $10421 == $10303($10413,12i) // (int) +else_jump @CARMOD_20320 +$2498($10413,12i) = 0 +jump @CARMOD_20331 + +:CARMOD_20320 +$2498($10413,12i) = 1 + +:CARMOD_20331 +$10413 += 1 +jump @CARMOD_20212 + +:CARMOD_20345 +0084: $2515 = $10199 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10136 // (float) +0086: $10182 = $10137 // (float) +0086: $10183 = $10138 // (float) +0086: $10184 = $10139 // (float) +0086: $10185 = $10140 // (float) +0086: $10186 = $10141 // (float) + +:CARMOD_20408 +if +04A3: $10399($10411,12i) == 6 // == constant +else_jump @CARMOD_20641 +$10413 = 0 +0084: $10414 = $10200 // (int) + +:CARMOD_20445 +if +001C: $10200 > $10413 // (int) +else_jump @CARMOD_20578 +078C: get_shopping_item_with_textureCRC $10315($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10315($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10315($10413,12i) // (int) +if +003A: $10421 == $10315($10413,12i) // (int) +else_jump @CARMOD_20553 +$2498($10413,12i) = 0 +jump @CARMOD_20564 + +:CARMOD_20553 +$2498($10413,12i) = 1 + +:CARMOD_20564 +$10413 += 1 +jump @CARMOD_20445 + +:CARMOD_20578 +0084: $2515 = $10200 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10142 // (float) +0086: $10182 = $10143 // (float) +0086: $10183 = $10144 // (float) +0086: $10184 = $10145 // (float) +0086: $10185 = $10146 // (float) +0086: $10186 = $10147 // (float) + +:CARMOD_20641 +if +04A3: $10399($10411,12i) == 4 // == constant +else_jump @CARMOD_20874 +$10413 = 0 +0084: $10414 = $10201 // (int) + +:CARMOD_20678 +if +001C: $10201 > $10413 // (int) +else_jump @CARMOD_20811 +078C: get_shopping_item_with_textureCRC $10327($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10327($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10327($10413,12i) // (int) +if +003A: $10421 == $10327($10413,12i) // (int) +else_jump @CARMOD_20786 +$2498($10413,12i) = 0 +jump @CARMOD_20797 + +:CARMOD_20786 +$2498($10413,12i) = 1 + +:CARMOD_20797 +$10413 += 1 +jump @CARMOD_20678 + +:CARMOD_20811 +0084: $2515 = $10201 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10148 // (float) +0086: $10182 = $10149 // (float) +0086: $10183 = $10150 // (float) +0086: $10184 = $10151 // (float) +0086: $10185 = $10152 // (float) +0086: $10186 = $10153 // (float) + +:CARMOD_20874 +if +04A3: $10399($10411,12i) == 5 // == constant +else_jump @CARMOD_21107 +$10413 = 0 +0084: $10414 = $10202 // (int) + +:CARMOD_20911 +if +001C: $10202 > $10413 // (int) +else_jump @CARMOD_21044 +078C: get_shopping_item_with_textureCRC $10339($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10339($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10339($10413,12i) // (int) +if +003A: $10421 == $10339($10413,12i) // (int) +else_jump @CARMOD_21019 +$2498($10413,12i) = 0 +jump @CARMOD_21030 + +:CARMOD_21019 +$2498($10413,12i) = 1 + +:CARMOD_21030 +$10413 += 1 +jump @CARMOD_20911 + +:CARMOD_21044 +0084: $2515 = $10202 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10154 // (float) +0086: $10182 = $10155 // (float) +0086: $10183 = $10156 // (float) +0086: $10184 = $10157 // (float) +0086: $10185 = $10158 // (float) +0086: $10186 = $10159 // (float) + +:CARMOD_21107 +if +04A3: $10399($10411,12i) == 16 // == constant +else_jump @CARMOD_21340 +$10413 = 0 +0084: $10414 = $10203 // (int) + +:CARMOD_21144 +if +001C: $10203 > $10413 // (int) +else_jump @CARMOD_21277 +078C: get_shopping_item_with_textureCRC $10351($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10351($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10351($10413,12i) // (int) +if +003A: $10421 == $10351($10413,12i) // (int) +else_jump @CARMOD_21252 +$2498($10413,12i) = 0 +jump @CARMOD_21263 + +:CARMOD_21252 +$2498($10413,12i) = 1 + +:CARMOD_21263 +$10413 += 1 +jump @CARMOD_21144 + +:CARMOD_21277 +0084: $2515 = $10203 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10172 // (float) +0086: $10182 = $10173 // (float) +0086: $10183 = $10174 // (float) +0086: $10184 = $10175 // (float) +0086: $10185 = $10176 // (float) +0086: $10186 = $10177 // (float) + +:CARMOD_21340 +if +04A3: $10399($10411,12i) == 9 // == constant +else_jump @CARMOD_21573 +$10413 = 0 +0084: $10414 = $10206 // (int) + +:CARMOD_21377 +if +001C: $10206 > $10413 // (int) +else_jump @CARMOD_21510 +078C: get_shopping_item_with_textureCRC $10387($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10387($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10387($10413,12i) // (int) +if +003A: $10421 == $10387($10413,12i) // (int) +else_jump @CARMOD_21485 +$2498($10413,12i) = 0 +jump @CARMOD_21496 + +:CARMOD_21485 +$2498($10413,12i) = 1 + +:CARMOD_21496 +$10413 += 1 +jump @CARMOD_21377 + +:CARMOD_21510 +0084: $2515 = $10206 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10166 // (float) +0086: $10182 = $10167 // (float) +0086: $10183 = $10168 // (float) +0086: $10184 = $10169 // (float) +0086: $10185 = $10170 // (float) +0086: $10186 = $10171 // (float) + +:CARMOD_21573 +if +04A3: $10399($10411,12i) == 10 // == constant +else_jump @CARMOD_21806 +$10413 = 0 +0084: $10414 = $10205 // (int) + +:CARMOD_21610 +if +001C: $10205 > $10413 // (int) +else_jump @CARMOD_21743 +078C: get_shopping_item_with_textureCRC $10375($10413,12i) nametag_to $2450($10413,12s) // 8-byte string +0761: get_shopping_item_with_textureCRC $10375($10413,12i) price_to $2426($10413,12i) +0084: $2438($10413,12i) = $10375($10413,12i) // (int) +if +003A: $10421 == $10375($10413,12i) // (int) +else_jump @CARMOD_21718 +$2498($10413,12i) = 0 +jump @CARMOD_21729 + +:CARMOD_21718 +$2498($10413,12i) = 1 + +:CARMOD_21729 +$10413 += 1 +jump @CARMOD_21610 + +:CARMOD_21743 +0084: $2515 = $10205 // (int) +gosub @CARMOD_21808 +0086: $10181 = $10166 // (float) +0086: $10182 = $10167 // (float) +0086: $10183 = $10168 // (float) +0086: $10184 = $10169 // (float) +0086: $10185 = $10170 // (float) +0086: $10186 = $10171 // (float) + +:CARMOD_21806 +return + +:CARMOD_21808 +if + 12 > $2515 +else_jump @CARMOD_21880 +$2438($2515,12i) = -1 +$2426($2515,12i) = 0 +05A9: $2450($2515,12s) = 'DUMMY' // s$ +$2515 += 1 +jump @CARMOD_21808 + +:CARMOD_21880 +return + +:CARMOD_21882 +if + $10437 == 0 +else_jump @CARMOD_22831 +if + $10443 == 1 +else_jump @CARMOD_21953 +05A9: s$10432 = 'CARCOL1' // s$ +05A9: s$10434 = 'DUMMY' // s$ +jump @CARMOD_21981 + +:CARMOD_21953 +05A9: s$10432 = 'CARCOL1' // s$ +05A9: s$10434 = 'CARCOL2' // s$ + +:CARMOD_21981 +0512: show_permanent_text_box 'MODH5' +if +04A3: $CURRENT_LANGUAGE == 0 // == constant +else_jump @CARMOD_22061 +08D4: $10436 = create_panel_with_title 'UPGRADE' position 29.0 145.0 width 93.0 columns 2 interactive 1 background 1 alignment 1 +$ACTIVE_PANEL_ID = 3 +jump @CARMOD_22330 + +:CARMOD_22061 +if +04A3: $CURRENT_LANGUAGE == 1 // == constant +else_jump @CARMOD_22130 +08D4: $10436 = create_panel_with_title 'UPGRADE' position 29.0 165.0 width 93.0 columns 2 interactive 1 background 1 alignment 1 +$ACTIVE_PANEL_ID = 3 +jump @CARMOD_22330 + +:CARMOD_22130 +if +04A3: $CURRENT_LANGUAGE == 2 // == constant +else_jump @CARMOD_22199 +08D4: $10436 = create_panel_with_title 'UPGRADE' position 29.0 165.0 width 93.0 columns 2 interactive 1 background 1 alignment 1 +$ACTIVE_PANEL_ID = 3 +jump @CARMOD_22330 + +:CARMOD_22199 +if +04A3: $CURRENT_LANGUAGE == 3 // == constant +else_jump @CARMOD_22268 +08D4: $10436 = create_panel_with_title 'UPGRADE' position 29.0 145.0 width 93.0 columns 2 interactive 1 background 1 alignment 1 +$ACTIVE_PANEL_ID = 3 +jump @CARMOD_22330 + +:CARMOD_22268 +if +04A3: $CURRENT_LANGUAGE == 4 // == constant +else_jump @CARMOD_22330 +08D4: $10436 = create_panel_with_title 'UPGRADE' position 29.0 145.0 width 93.0 columns 2 interactive 1 background 1 alignment 1 +$ACTIVE_PANEL_ID = 3 + +:CARMOD_22330 +08D6: set_panel $10436 column 0 alignment 1 +08DB: set_panel $10436 column 0 header 'UPGRADE' data s$10432 s$10434 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' +if + $10443 == 1 +else_jump @CARMOD_22630 +08D6: set_panel $10436 column 1 alignment 1 +08DB: set_panel $10436 column 1 header 'COST' data 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' +08EE: set_panel $10436 column 1 row 0 text_1number GXT 'DOLLAR' number 150 +jump @CARMOD_22805 + +:CARMOD_22630 +08D6: set_panel $10436 column 1 alignment 1 +08DB: set_panel $10436 column 1 header 'COST' data 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' +08EE: set_panel $10436 column 1 row 0 text_1number GXT 'DOLLAR' number 150 +08EE: set_panel $10436 column 1 row 1 text_1number GXT 'DOLLAR' number 150 + +:CARMOD_22805 +09DB: set_panel $10436 column 0 width 140 +09DB: set_panel $10436 column 1 width 46 +$10437 = 1 + +:CARMOD_22831 +return + +:CARMOD_22833 +if or +04A3: $10444 == 401 // == constant +04A3: $10444 == 402 // == constant +04A3: $10444 == 404 // == constant +04A3: $10444 == 405 // == constant +04A3: $10444 == 409 // == constant +04A3: $10444 == 410 // == constant +else_jump @CARMOD_22899 +$10443 = 1 + +:CARMOD_22899 +if or +04A3: $10444 == 411 // == constant +04A3: $10444 == 412 // == constant +04A3: $10444 == 413 // == constant +04A3: $10444 == 415 // == constant +04A3: $10444 == 418 // == constant +04A3: $10444 == 419 // == constant +else_jump @CARMOD_22965 +$10443 = 1 + +:CARMOD_22965 +if or +04A3: $10444 == 421 // == constant +04A3: $10444 == 426 // == constant +04A3: $10444 == 434 // == constant +04A3: $10444 == 436 // == constant +04A3: $10444 == 440 // == constant +else_jump @CARMOD_23023 +$10443 = 1 + +:CARMOD_23023 +if or +04A3: $10444 == 444 // == constant +04A3: $10444 == 445 // == constant +04A3: $10444 == 451 // == constant +04A3: $10444 == 457 // == constant +04A3: $10444 == 458 // == constant +04A3: $10444 == 461 // == constant +else_jump @CARMOD_23089 +$10443 = 1 + +:CARMOD_23089 +if or +04A3: $10444 == 462 // == constant +04A3: $10444 == 463 // == constant +04A3: $10444 == 468 // == constant +04A3: $10444 == 474 // == constant +04A3: $10444 == 475 // == constant +04A3: $10444 == 477 // == constant +else_jump @CARMOD_23155 +$10443 = 1 + +:CARMOD_23155 +if or +04A3: $10444 == 478 // == constant +04A3: $10444 == 481 // == constant +04A3: $10444 == 482 // == constant +04A3: $10444 == 500 // == constant +04A3: $10444 == 506 // == constant +else_jump @CARMOD_23213 +$10443 = 1 + +:CARMOD_23213 +if or +04A3: $10444 == 507 // == constant +04A3: $10444 == 510 // == constant +04A3: $10444 == 516 // == constant +04A3: $10444 == 518 // == constant +04A3: $10444 == 521 // == constant +04A3: $10444 == 526 // == constant +else_jump @CARMOD_23279 +$10443 = 1 + +:CARMOD_23279 +if or +04A3: $10444 == 527 // == constant +04A3: $10444 == 529 // == constant +04A3: $10444 == 530 // == constant +04A3: $10444 == 531 // == constant +04A3: $10444 == 533 // == constant +04A3: $10444 == 534 // == constant +else_jump @CARMOD_23345 +$10443 = 1 + +:CARMOD_23345 +if or +04A3: $10444 == 539 // == constant +04A3: $10444 == 540 // == constant +04A3: $10444 == 543 // == constant +04A3: $10444 == 545 // == constant +04A3: $10444 == 546 // == constant +else_jump @CARMOD_23403 +$10443 = 1 + +:CARMOD_23403 +if or +04A3: $10444 == 547 // == constant +04A3: $10444 == 550 // == constant +04A3: $10444 == 551 // == constant +04A3: $10444 == 552 // == constant +04A3: $10444 == 555 // == constant +04A3: $10444 == 556 // == constant +else_jump @CARMOD_23469 +$10443 = 1 + +:CARMOD_23469 +if or +04A3: $10444 == 559 // == constant +04A3: $10444 == 560 // == constant +04A3: $10444 == 561 // == constant +04A3: $10444 == 509 // == constant +04A3: $10444 == 562 // == constant +04A3: $10444 == 558 // == constant +else_jump @CARMOD_23535 +$10443 = 1 + +:CARMOD_23535 +if or +04A3: $10444 == 565 // == constant +04A3: $10444 == 571 // == constant +04A3: $10444 == 572 // == constant +04A3: $10444 == 574 // == constant +04A3: $10444 == 579 // == constant +04A3: $10444 == 580 // == constant +else_jump @CARMOD_23601 +$10443 = 1 + +:CARMOD_23601 +if or +04A3: $10444 == 581 // == constant +04A3: $10444 == 582 // == constant +04A3: $10444 == 585 // == constant +04A3: $10444 == 586 // == constant +04A3: $10444 == 589 // == constant +04A3: $10444 == 543 // == constant +else_jump @CARMOD_23667 +$10443 = 1 + +:CARMOD_23667 +if or +04A3: $10444 == 587 // == constant +04A3: $10444 == 600 // == constant +04A3: $10444 == 602 // == constant +04A3: $10444 == 420 // == constant +04A3: $10444 == 400 // == constant +04A3: $10444 == 439 // == constant +else_jump @CARMOD_23733 +$10443 = 1 + +:CARMOD_23733 +if or +04A3: $10444 == 535 // == constant +04A3: $10444 == 542 // == constant +04A3: $10444 == 549 // == constant +04A3: $10444 == 438 // == constant +else_jump @CARMOD_23783 +$10443 = 1 + +:CARMOD_23783 +if or +04A3: $10444 == 422 // == constant +04A3: $10444 == 423 // == constant +04A3: $10444 == 424 // == constant +04A3: $10444 == 429 // == constant +04A3: $10444 == 442 // == constant +04A3: $10444 == 536 // == constant +else_jump @CARMOD_23849 +$10443 = 2 + +:CARMOD_23849 +if or +04A3: $10444 == 466 // == constant +04A3: $10444 == 467 // == constant +04A3: $10444 == 471 // == constant +04A3: $10444 == 479 // == constant +04A3: $10444 == 483 // == constant +04A3: $10444 == 489 // == constant +else_jump @CARMOD_23915 +$10443 = 2 + +:CARMOD_23915 +if or +04A3: $10444 == 491 // == constant +04A3: $10444 == 492 // == constant +04A3: $10444 == 494 // == constant +04A3: $10444 == 495 // == constant +04A3: $10444 == 496 // == constant +04A3: $10444 == 502 // == constant +else_jump @CARMOD_23981 +$10443 = 2 + +:CARMOD_23981 +if or +04A3: $10444 == 503 // == constant +04A3: $10444 == 504 // == constant +04A3: $10444 == 517 // == constant +04A3: $10444 == 522 // == constant +04A3: $10444 == 525 // == constant +04A3: $10444 == 480 // == constant +else_jump @CARMOD_24047 +$10443 = 2 + +:CARMOD_24047 +if or +04A3: $10444 == 541 // == constant +04A3: $10444 == 517 // == constant +04A3: $10444 == 554 // == constant +04A3: $10444 == 567 // == constant +else_jump @CARMOD_24097 +$10443 = 2 + +:CARMOD_24097 +if or +04A3: $10444 == 573 // == constant +04A3: $10444 == 575 // == constant +04A3: $10444 == 576 // == constant +04A3: $10444 == 583 // == constant +04A3: $10444 == 603 // == constant +else_jump @CARMOD_24155 +$10443 = 2 + +:CARMOD_24155 +if +04A3: $10444 == 557 // == constant +else_jump @CARMOD_24181 +$10443 = 2 + +:CARMOD_24181 +return + +:CARMOD_24183 +$2515 = 0 +$10481 = 0 + +:CARMOD_24197 +if + 16 > $2515 +else_jump @CARMOD_24277 +06E5: get_car $CARMOD_CAR possible_to_built_in_component_pool_index $10449($2515,16i) itemID_to $10465($2515,16i) +if + not $10465($2515,16i) == -1 +else_jump @CARMOD_24263 +$10481 += 1 + +:CARMOD_24263 +$2515 += 1 +jump @CARMOD_24197 + +:CARMOD_24277 +return + +:CARMOD_24279 +if + $10425 == 0 +else_jump @CARMOD_25004 +0512: show_permanent_text_box 'MODH2' +if +04A3: $CURRENT_LANGUAGE == 0 // == constant +else_jump @CARMOD_24377 +08D4: $10424 = create_panel_with_title 'UPGRADE' position 29.0 145.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 +$ACTIVE_PANEL_ID = 4 +jump @CARMOD_24646 + +:CARMOD_24377 +if +04A3: $CURRENT_LANGUAGE == 1 // == constant +else_jump @CARMOD_24446 +08D4: $10424 = create_panel_with_title 'UPGRADE' position 29.0 165.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 +$ACTIVE_PANEL_ID = 4 +jump @CARMOD_24646 + +:CARMOD_24446 +if +04A3: $CURRENT_LANGUAGE == 2 // == constant +else_jump @CARMOD_24515 +08D4: $10424 = create_panel_with_title 'UPGRADE' position 29.0 165.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 +$ACTIVE_PANEL_ID = 4 +jump @CARMOD_24646 + +:CARMOD_24515 +if +04A3: $CURRENT_LANGUAGE == 3 // == constant +else_jump @CARMOD_24584 +08D4: $10424 = create_panel_with_title 'UPGRADE' position 29.0 145.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 +$ACTIVE_PANEL_ID = 4 +jump @CARMOD_24646 + +:CARMOD_24584 +if +04A3: $CURRENT_LANGUAGE == 4 // == constant +else_jump @CARMOD_24646 +08D4: $10424 = create_panel_with_title 'UPGRADE' position 29.0 145.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 +$ACTIVE_PANEL_ID = 4 + +:CARMOD_24646 +08D6: set_panel $10424 column 0 alignment 1 +08DB: set_panel $10424 column 0 header 'UPGRADE' data $2450($10412,12s) 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' +if + $10399($10411,12i) == 100 +else_jump @CARMOD_24820 +08EE: set_panel $10424 column 0 row 0 text_1number GXT 'PJOB' number $10087 + +:CARMOD_24820 +08D6: set_panel $10424 column 1 alignment 2 +08DB: set_panel $10424 column 1 header 'COST' data 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' +08EE: set_panel $10424 column 1 row 0 text_1number GXT 'DOLLAR' number $2426($10412,12i) +09DB: set_panel $10424 column 0 width 140 +09DB: set_panel $10424 column 1 width 46 +$10425 = 1 + +:CARMOD_25004 +if + Actor.Driving($PLAYER_ACTOR) +else_jump @CARMOD_25004 +$11563 = Actor.CurrentCar($PLAYER_ACTOR) +03F3: get_car $11563 primary_color_to $11562 secondary_color_to $11561 +09C6: 3 $11563 $11562 $11561 +return + +//-------------External script 3 (JUNKFUD)--------------- + +:JFUD +$JFUD_X_OFFSET = 0.0 +$JFUD_Y_OFFSET = 0.0 +$JFUD_Z_OFFSET = 0.0 +$10064 = 0.0 +$JFUD_X_CAMERA = 0.0 +$JFUD_Y_CAMERA = 0.0 +$JFUD_Z_CAMERA = 0.0 +$JFUD_X_AIM_CAMERA = 0.0 +$JFUD_Y_AIM_CAMERA = 0.0 +$JFUD_Z_AIM_CAMERA = 0.0 +$10075 = 0.0 +$10076 = 0.0 +$10077 = 0.0 +$10078 = 0.0 +$10079 = 0.0 +$10080 = 0.0 +$10056 = 0 +$10055 = 0.0 +$2751 = 0 +$10049 = 0.0 +$10050 = 0.0 +$10051 = 0.0 +$10041 = 0 +$675 = 0 +$10035 = 0 +$10045 = 0 +$10047 = 0 +$FLAG_PLAYER_ATTACK_FOOD_SELLER = 0 +$10052 = 0.0 +$SHOW_SHOP_SPHERE = 1 +$2418 = 0 +$2422 = 0 +$2544 = 0 +if +05AD: s$CURRENT_SHOP_GXT_NAME == 'FDPIZA' // s$ == short +else_jump @JFUD_358 +04AE: $SELLER_MODEL = 155 // = constant +$JFUD_LOW_FOOD_MODEL = -376 +$JFUD_MED_FOOD_MODEL = -377 +$JFUD_HIGH_FOOD_MODEL = -57 +$JFUD_HEALTHY_FOOD_MODEL = -378 + +:JFUD_358 +if +05AD: s$CURRENT_SHOP_GXT_NAME == 'FDCHICK' // s$ == short +else_jump @JFUD_423 +04AE: $SELLER_MODEL = 167 // = constant +$JFUD_LOW_FOOD_MODEL = -379 +$JFUD_MED_FOOD_MODEL = -380 +$JFUD_HIGH_FOOD_MODEL = -381 +$JFUD_HEALTHY_FOOD_MODEL = -382 + +:JFUD_423 +if +05AD: s$CURRENT_SHOP_GXT_NAME == 'FDBURG' // s$ == short +else_jump @JFUD_487 +04AE: $SELLER_MODEL = 205 // = constant +$JFUD_LOW_FOOD_MODEL = -383 +$JFUD_MED_FOOD_MODEL = -384 +$JFUD_HIGH_FOOD_MODEL = -60 +$JFUD_HEALTHY_FOOD_MODEL = -385 + +:JFUD_487 +Model.Load($JFUD_LOW_FOOD_MODEL) +Model.Load($JFUD_MED_FOOD_MODEL) +Model.Load($JFUD_HIGH_FOOD_MODEL) +Model.Load($JFUD_HEALTHY_FOOD_MODEL) +03CF: load_wav 1828 as 4 +Model.Load($SELLER_MODEL) +038B: load_requested_models +set_wb_check_to 0 +if + $10041 == 1000000 +else_jump @JFUD_563 +$JFUD_SELECTED_FOOD = Object.Create($SELECTED_MENU_ITEM, $X_START_ANIM_FOOD, $Y_START_ANIM_FOOD, $Z_START_ANIM_FOOD) + +:JFUD_563 +thread 'JFUD' + +:JFUD_574 +wait 0 +if + Player.Defined($PLAYER_CHAR) +else_jump @JFUD_9679 +if +8844: not string s$CURRENT_SHOP_GXT_NAME empty // s$ +else_jump @JFUD_9665 +if + $JFUD_STAGE > 0 +else_jump @JFUD_672 +if +0A0F: new_language_set +else_jump @JFUD_672 +03E6: remove_text_box +08DA: remove_panel $2417 +08DA: remove_panel $2421 +$2418 = 0 +$2422 = 0 +09FB: $CURRENT_LANGUAGE = current_language + +:JFUD_672 +if + $JFUD_STAGE == 0 +else_jump @JFUD_1005 +if +05AD: s$CURRENT_SHOP_GXT_NAME == 'FDPIZA' // s$ == short +else_jump @JFUD_795 +075F: store_shopping_data_entries_number_to $10036 +$JFUD_X_OFFSET = 0.0 +$JFUD_Y_OFFSET = 0.0 +$JFUD_Z_OFFSET = 0.0 +$10064 = 0.0 +$684 = 0.0 +$685 = 2.5 +05A9: s$10043 = s$CURRENT_SHOP_GXT_NAME // s$ +$JFUD_STAGE = 1 + +:JFUD_795 +if +05AD: s$CURRENT_SHOP_GXT_NAME == 'FDCHICK' // s$ == short +else_jump @JFUD_900 +075F: store_shopping_data_entries_number_to $10036 +$JFUD_X_OFFSET = -5.211 +$JFUD_Y_OFFSET = 112.784 +$JFUD_Z_OFFSET = 0.3 +$10064 = 0.0 +$684 = 0.0 +$685 = 2.5 +05A9: s$10043 = s$CURRENT_SHOP_GXT_NAME // s$ +$JFUD_STAGE = 1 + +:JFUD_900 +if +05AD: s$CURRENT_SHOP_GXT_NAME == 'FDBURG' // s$ == short +else_jump @JFUD_1005 +075F: store_shopping_data_entries_number_to $10036 +$684 = 0.0 +$685 = 2.5 +$JFUD_X_OFFSET = 1.566 +$JFUD_Y_OFFSET = 51.419 +$JFUD_Z_OFFSET = 0.01 +$10064 = 0.0 +05A9: s$10043 = s$CURRENT_SHOP_GXT_NAME // s$ +$JFUD_STAGE = 1 + +:JFUD_1005 +if + $JFUD_STAGE == 1 +else_jump @JFUD_1450 +03F0: enable_text_draw 1 +08F8: display_stat_update_box 0 +$JFUD_X_FOOD_SELLER = 374.0 +0059: $JFUD_X_FOOD_SELLER += $JFUD_X_OFFSET // (float) +$JFUD_Y_FOOD_SELLER = -117.141 +0059: $JFUD_Y_FOOD_SELLER += $JFUD_Y_OFFSET // (float) +$JFUD_Z_FOOD_SELLER = 1000.539 +0059: $JFUD_Z_FOOD_SELLER += $JFUD_Z_OFFSET // (float) +$JFUD_FOOD_SELLER_ANGLE = 180.0 +0059: $JFUD_FOOD_SELLER_ANGLE += $10064 // (float) +$JFUD_X_CAMERA = 374.0 +0059: $JFUD_X_CAMERA += $JFUD_X_OFFSET // (float) +$JFUD_Y_CAMERA = -119.187 +0059: $JFUD_Y_CAMERA += $JFUD_Y_OFFSET // (float) +$JFUD_Z_CAMERA = 1002.019 +0059: $JFUD_Z_CAMERA += $JFUD_Z_OFFSET // (float) +$JFUD_X_AIM_CAMERA = 373.953 +0059: $JFUD_X_AIM_CAMERA += $JFUD_X_OFFSET // (float) +$JFUD_Y_AIM_CAMERA = -118.189 +0059: $JFUD_Y_AIM_CAMERA += $JFUD_Y_OFFSET // (float) +$JFUD_Z_AIM_CAMERA = 1001.975 +0059: $JFUD_Z_AIM_CAMERA += $JFUD_Z_OFFSET // (float) +$10075 = 374.717 +0059: $10075 += $JFUD_X_OFFSET // (float) +$10076 = -122.55 +0059: $10076 += $JFUD_Y_OFFSET // (float) +$10077 = 1002.572 +0059: $10077 += $JFUD_Z_OFFSET // (float) +$10078 = 374.599 +0059: $10078 += $JFUD_X_OFFSET // (float) +$10079 = -121.608 +0059: $10079 += $JFUD_Y_OFFSET // (float) +$10080 = 1002.256 +0059: $10080 += $JFUD_Z_OFFSET // (float) +if + $FOOD_SELLER_EXISTS == 0 +else_jump @JFUD_1443 +$FOOD_SELLER = Actor.Create(Fireman, $SELLER_MODEL, $JFUD_X_FOOD_SELLER, $JFUD_Y_FOOD_SELLER, $JFUD_Z_FOOD_SELLER) +Actor.SetImmunities($FOOD_SELLER, 1, 1, 1, 1, 1) +Actor.Angle($FOOD_SELLER) = $JFUD_FOOD_SELLER_ANGLE +02A9: set_actor $FOOD_SELLER immune_to_nonplayer 1 +060B: set_actor $FOOD_SELLER decision_maker_to 65542 +Actor.Health($FOOD_SELLER) = 500 +04C4: store_coords_to $X_BUY_MARKER $Y_BUY_MARKER $Z_BUY_MARKER from_actor $FOOD_SELLER with_offset $684 $685 0.0 +$FLAG_PLAYER_ATTACK_FOOD_SELLER = 0 +$FOOD_SELLER_EXISTS = 1 + +:JFUD_1443 +$JFUD_STAGE = 2 + +:JFUD_1450 +if + $JFUD_STAGE == 2 +else_jump @JFUD_2044 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_1499 +gosub @JFUD_9870 + +:JFUD_1499 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_1999 +if + $FLAG_PLAYER_ATTACK_FOOD_SELLER == 0 +else_jump @JFUD_1947 +if or +031D: actor $FOOD_SELLER hit_by_weapon 57 + $FOOD_PLAYER_AGGRESSIVE_FLAG == 1 +else_jump @JFUD_1597 +0947: actor $FOOD_SELLER speak_from_audio_table 327 store_spoken_phrase_id_to $2563 +05C4: AS_actor $FOOD_SELLER hands_up -2 ms +$FOOD_PLAYER_AGGRESSIVE_FLAG = 1 +$FLAG_PLAYER_ATTACK_FOOD_SELLER = 1 +jump @JFUD_1940 + +:JFUD_1597 +if + 11 > $TOTAL_FOOD_EATEN +else_jump @JFUD_1775 +$SHOW_SHOP_SPHERE = 1 +if +0102: actor $PLAYER_ACTOR in_sphere $X_BUY_MARKER $Y_BUY_MARKER $Z_BUY_MARKER radius 1.0 1.0 4.0 sphere $SHOW_SHOP_SPHERE stopped_on_foot +else_jump @JFUD_1768 +if + Player.Controllable($PLAYER_CHAR) +else_jump @JFUD_1768 +0947: actor $FOOD_SELLER speak_from_audio_table 333 store_spoken_phrase_id_to $2563 +$SHOPS_PLAYER_CASH = Player.Money($PLAYER_CHAR) +if + 2 > $88 +else_jump @JFUD_1761 +if + $169 == 1 +else_jump @JFUD_1761 +if + 2 > $SHOPS_PLAYER_CASH +else_jump @JFUD_1761 +Player.Money($PLAYER_CHAR) += 2 + +:JFUD_1761 +$JFUD_STAGE = 3 + +:JFUD_1768 +jump @JFUD_1940 + +:JFUD_1775 +if + $10045 == 0 +else_jump @JFUD_1909 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_1857 +0947: actor $FOOD_SELLER speak_from_audio_table 322 store_spoken_phrase_id_to $2563 +00BC: show_text_highpriority GXT 'FOOD1' time 5000 flag 1 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1055 +jump @JFUD_1902 + +:JFUD_1857 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_1895 +gosub @JFUD_9870 + +:JFUD_1895 +jump @JFUD_574 + +:JFUD_1902 +$10045 = 1 + +:JFUD_1909 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_1940 +gosub @JFUD_9870 + +:JFUD_1940 +jump @JFUD_1992 + +:JFUD_1947 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_1985 +gosub @JFUD_9870 + +:JFUD_1985 +jump @JFUD_574 + +:JFUD_1992 +jump @JFUD_2044 + +:JFUD_1999 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_2037 +gosub @JFUD_9870 + +:JFUD_2037 +jump @JFUD_574 + +:JFUD_2044 +if + $JFUD_STAGE == 3 +else_jump @JFUD_4349 +Player.CanMove($PLAYER_CHAR) = False +09BD: allow_other_threads_to_display_text_boxes 1 +09BC: put_actor $PLAYER_ACTOR at $X_BUY_MARKER $Y_BUY_MARKER $Z_BUY_MARKER no_offset_and_dont_warp_gang +Actor.StorePos($PLAYER_ACTOR, $TEMPVAR_X_COORD, $TEMPVAR_Y_COORD, $TEMPVAR_Z_COORD) +Actor.Angle($PLAYER_ACTOR) = $10055 +$JFUD_PLAYER_HEALTH = Actor.Health($PLAYER_ACTOR) +0653: $JFUD_STAT_FAT = float_stat 21 +0792: disembark_instantly_actor $PLAYER_ACTOR +0395: clear_area 1 at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD radius 1.0 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_2411 +Actor.StorePos($FOOD_SELLER, $2755, $2756, $2757) +if or +8044: not $2755 == $JFUD_X_FOOD_SELLER // (float) +8044: not $2756 == $JFUD_Y_FOOD_SELLER // (float) +8044: not $2757 == $JFUD_Z_FOOD_SELLER // (float) +else_jump @JFUD_2234 +Actor.PutAt($FOOD_SELLER, $JFUD_X_FOOD_SELLER, $JFUD_Y_FOOD_SELLER, $JFUD_Z_FOOD_SELLER) +Actor.Angle($FOOD_SELLER) = $JFUD_FOOD_SELLER_ANGLE + +:JFUD_2234 +04C4: store_coords_to $X_START_ANIM_FOOD $Y_START_ANIM_FOOD $Z_START_ANIM_FOOD from_actor $FOOD_SELLER with_offset 0.0 0.8 0.1 +if + not Actor.Animation($FOOD_SELLER) == "SHP_TRAY_POSE" +else_jump @JFUD_2343 +0812: AS_actor $FOOD_SELLER perform_animation "SHP_TRAY_IN" IFP "FOOD" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$10052 = 0.0 + +:JFUD_2343 +0947: actor $FOOD_SELLER speak_from_audio_table 333 store_spoken_phrase_id_to $10081 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_IN" +else_jump @JFUD_2404 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_IN" time + +:JFUD_2404 +jump @JFUD_2456 + +:JFUD_2411 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_2449 +gosub @JFUD_9870 + +:JFUD_2449 +jump @JFUD_574 + +:JFUD_2456 +32@ = 0 + +:JFUD_2463 +if + 32@ >= 600 +else_jump @JFUD_2641 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_2516 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_2516 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_2584 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_2570 +gosub @JFUD_9870 + +:JFUD_2570 +jump @JFUD_574 +jump @JFUD_2634 + +:JFUD_2584 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_IN" +else_jump @JFUD_2634 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_IN" time + +:JFUD_2634 +jump @JFUD_2463 + +:JFUD_2641 +if + Player.Defined($PLAYER_CHAR) +else_jump @JFUD_2710 +01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0 +Camera.SetPosition($JFUD_X_CAMERA, $JFUD_Y_CAMERA, $JFUD_Z_CAMERA, 0.0, 0.0, 0.0) +Camera.PointAt($JFUD_X_AIM_CAMERA, $JFUD_Y_AIM_CAMERA, $JFUD_Z_AIM_CAMERA, 2) +jump @JFUD_2724 + +:JFUD_2710 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_2724 +if + not Actor.Animation($FOOD_SELLER) == "SHP_TRAY_POSE" +else_jump @JFUD_2935 + +:JFUD_2755 +if + not $10052 == 1.0 +else_jump @JFUD_2935 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_2810 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_2810 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_2878 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_2864 +gosub @JFUD_9870 + +:JFUD_2864 +jump @JFUD_574 +jump @JFUD_2928 + +:JFUD_2878 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_IN" +else_jump @JFUD_2928 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_IN" time + +:JFUD_2928 +jump @JFUD_2755 + +:JFUD_2935 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_3063 +0812: AS_actor $FOOD_SELLER perform_animation "SHP_TRAY_POSE" IFP "FOOD" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$10052 = 0.0 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_POSE" +else_jump @JFUD_3056 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_POSE" time + +:JFUD_3056 +jump @JFUD_3108 + +:JFUD_3063 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_3101 +gosub @JFUD_9870 + +:JFUD_3101 +jump @JFUD_574 + +:JFUD_3108 +if + not $10052 == 1.0 +else_jump @JFUD_3292 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_3163 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_3163 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_3231 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_3217 +gosub @JFUD_9870 + +:JFUD_3217 +jump @JFUD_574 +jump @JFUD_3285 + +:JFUD_3231 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_POSE" +else_jump @JFUD_3285 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_POSE" time + +:JFUD_3285 +jump @JFUD_3108 + +:JFUD_3292 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_3429 +0812: AS_actor $FOOD_SELLER perform_animation "SHP_TRAY_LIFT_IN" IFP "FOOD" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$10052 = 0.0 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_LIFT_IN" +else_jump @JFUD_3422 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_LIFT_IN" time + +:JFUD_3422 +jump @JFUD_3474 + +:JFUD_3429 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_3467 +gosub @JFUD_9870 + +:JFUD_3467 +jump @JFUD_574 + +:JFUD_3474 +if + not $10052 == 1.0 +else_jump @JFUD_3664 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_3529 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_3529 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_3597 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_3583 +gosub @JFUD_9870 + +:JFUD_3583 +jump @JFUD_574 +jump @JFUD_3657 + +:JFUD_3597 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_LIFT_IN" +else_jump @JFUD_3657 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_LIFT_IN" time + +:JFUD_3657 +jump @JFUD_3474 + +:JFUD_3664 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1145 +$10042 = 0 +$10038 = 0 +0760: store_shopping_data_index $10042 textureCRC_to $SELECTED_MENU_ITEM +$JFUD_SELECTED_FOOD = Object.Create($SELECTED_MENU_ITEM, $X_START_ANIM_FOOD, $Y_START_ANIM_FOOD, $Z_START_ANIM_FOOD) +0761: get_shopping_item_with_textureCRC $SELECTED_MENU_ITEM price_to $10034 +078C: get_shopping_item_with_textureCRC $SELECTED_MENU_ITEM nametag_to s$10039 // 8-byte string +0084: $2751 = $10034 // (int) +05A9: s$2752 = s$10039 // s$ +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_3925 +070A: AS_actor $FOOD_SELLER attach_to_object $JFUD_SELECTED_FOOD offset 0.0 0.0 0.0 on_bone 6 16 perform_animation "NULL" IFP_file "NULL" time 0 +0812: AS_actor $FOOD_SELLER perform_animation "SHP_TRAY_LIFT" IFP "FOOD" framedelta 1000.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$10052 = 0.0 +$10038 = 1 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_LIFT" +else_jump @JFUD_3918 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_LIFT" time + +:JFUD_3918 +jump @JFUD_3970 + +:JFUD_3925 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_3963 +gosub @JFUD_9870 + +:JFUD_3963 +jump @JFUD_574 + +:JFUD_3970 +if + not $10052 == 1.0 +else_jump @JFUD_4154 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_4025 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_4025 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_4093 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_4079 +gosub @JFUD_9870 + +:JFUD_4079 +jump @JFUD_574 +jump @JFUD_4147 + +:JFUD_4093 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_LIFT" +else_jump @JFUD_4147 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_LIFT" time + +:JFUD_4147 +jump @JFUD_3970 + +:JFUD_4154 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_4297 +0812: AS_actor $FOOD_SELLER perform_animation "SHP_TRAY_LIFT_LOOP" IFP "FOOD" framedelta 1000.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1 // versionB +$10052 = 0.0 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_LIFT_LOOP" +else_jump @JFUD_4290 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_LIFT_LOOP" time + +:JFUD_4290 +jump @JFUD_4342 + +:JFUD_4297 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_4335 +gosub @JFUD_9870 + +:JFUD_4335 +jump @JFUD_574 + +:JFUD_4342 +$JFUD_STAGE = 4 + +:JFUD_4349 +if + $JFUD_STAGE == 4 +else_jump @JFUD_9658 +if + $10045 == 0 +else_jump @JFUD_9651 +0494: get_joystick 0 direction_offset_to $MOVE_AXIS_X $MOVE_AXIS_Y $SPECIAL_AXIS_X $SPECIAL_AXIS_Y +if or + -100 > $MOVE_AXIS_X +00E1: player 0 pressed_key 10 +else_jump @JFUD_4613 +if + $2418 == 1 +else_jump @JFUD_4457 +08DA: remove_panel $2417 +03E6: remove_text_box +$2418 = 0 + +:JFUD_4457 +$2544 = 0 +$10042 -= 1 +32@ = 0 + +:JFUD_4478 +if + 150 > 32@ +else_jump @JFUD_4599 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_4531 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_4531 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_4592 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_4585 +gosub @JFUD_9870 + +:JFUD_4585 +jump @JFUD_574 + +:JFUD_4592 +jump @JFUD_4478 + +:JFUD_4599 +$10047 = 0 +$10038 = 0 + +:JFUD_4613 +if or + $MOVE_AXIS_X > 100 +00E1: player 0 pressed_key 11 +else_jump @JFUD_4825 +if + $2418 == 1 +else_jump @JFUD_4669 +08DA: remove_panel $2417 +03E6: remove_text_box +$2418 = 0 + +:JFUD_4669 +$2544 = 0 +$10042 += 1 +32@ = 0 + +:JFUD_4690 +if + 150 > 32@ +else_jump @JFUD_4811 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_4743 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_4743 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_4804 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_4797 +gosub @JFUD_9870 + +:JFUD_4797 +jump @JFUD_574 + +:JFUD_4804 +jump @JFUD_4690 + +:JFUD_4811 +$10038 = 0 +$10047 = 0 + +:JFUD_4825 +if + 0 > $10042 +else_jump @JFUD_4858 +0084: $10042 = $10036 // (int) +$10042 -= 1 + +:JFUD_4858 +if +003A: $10042 == $10036 // (int) +else_jump @JFUD_4884 +$10042 = 0 + +:JFUD_4884 +if + $10038 == 0 +else_jump @JFUD_5940 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_5036 +0812: AS_actor $FOOD_SELLER perform_animation "SHP_TRAY_RETURN" IFP "FOOD" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$10052 = 0.0 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_RETURN" +else_jump @JFUD_5029 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_RETURN" time + +:JFUD_5029 +jump @JFUD_5081 + +:JFUD_5036 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_5074 +gosub @JFUD_9870 + +:JFUD_5074 +jump @JFUD_574 + +:JFUD_5081 +if + not $10052 == 1.0 +else_jump @JFUD_5269 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_5136 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_5136 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_5204 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_5190 +gosub @JFUD_9870 + +:JFUD_5190 +jump @JFUD_574 +jump @JFUD_5262 + +:JFUD_5204 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_RETURN" +else_jump @JFUD_5262 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_RETURN" time + +:JFUD_5262 +jump @JFUD_5081 + +:JFUD_5269 +gosub @JFUD_12910 +0760: store_shopping_data_index $10042 textureCRC_to $SELECTED_MENU_ITEM +$JFUD_SELECTED_FOOD = Object.Create($SELECTED_MENU_ITEM, $X_START_ANIM_FOOD, $Y_START_ANIM_FOOD, $Z_START_ANIM_FOOD) +0761: get_shopping_item_with_textureCRC $SELECTED_MENU_ITEM price_to $10034 +078C: get_shopping_item_with_textureCRC $SELECTED_MENU_ITEM nametag_to s$10039 // 8-byte string +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1145 +0084: $2751 = $10034 // (int) +05A9: s$2752 = s$10039 // s$ +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_5516 +070A: AS_actor $FOOD_SELLER attach_to_object $JFUD_SELECTED_FOOD offset 0.0 0.0 0.0 on_bone 6 16 perform_animation "NULL" IFP_file "NULL" time 0 +0812: AS_actor $FOOD_SELLER perform_animation "SHP_TRAY_LIFT" IFP "FOOD" framedelta 1000.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$10052 = 0.0 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_LIFT" +else_jump @JFUD_5509 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_LIFT" time + +:JFUD_5509 +jump @JFUD_5561 + +:JFUD_5516 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_5554 +gosub @JFUD_9870 + +:JFUD_5554 +jump @JFUD_574 + +:JFUD_5561 +if + not $10052 == 1.0 +else_jump @JFUD_5745 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_5616 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_5616 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_5684 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_5670 +gosub @JFUD_9870 + +:JFUD_5670 +jump @JFUD_574 +jump @JFUD_5738 + +:JFUD_5684 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_LIFT" +else_jump @JFUD_5738 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_LIFT" time + +:JFUD_5738 +jump @JFUD_5561 + +:JFUD_5745 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_5888 +0812: AS_actor $FOOD_SELLER perform_animation "SHP_TRAY_LIFT_LOOP" IFP "FOOD" framedelta 1000.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1 // versionB +$10052 = 0.0 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_LIFT_LOOP" +else_jump @JFUD_5881 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_LIFT_LOOP" time + +:JFUD_5881 +jump @JFUD_5933 + +:JFUD_5888 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_5926 +gosub @JFUD_9870 + +:JFUD_5926 +jump @JFUD_574 + +:JFUD_5933 +$10038 = 1 + +:JFUD_5940 +if + $10045 == 0 +else_jump @JFUD_5965 +gosub @JFUD_12269 + +:JFUD_5965 +if +00E1: player 0 pressed_key 16 +else_jump @JFUD_9651 + +:JFUD_5982 +if +00E1: player 0 pressed_key 16 +else_jump @JFUD_6101 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_6033 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_6033 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_6094 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_6087 +gosub @JFUD_9870 + +:JFUD_6087 +jump @JFUD_574 + +:JFUD_6094 +jump @JFUD_5982 + +:JFUD_6101 +$2544 = 0 +03D5: remove_text 'SHOPNO' +03D5: remove_text 'FOOD1' +if + Player.Defined($PLAYER_CHAR) +else_jump @JFUD_6161 +$SHOPS_PLAYER_CASH = Player.Money($PLAYER_CHAR) +jump @JFUD_6175 + +:JFUD_6161 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_6175 +if +002C: $SHOPS_PLAYER_CASH >= $10034 // (int) +else_jump @JFUD_9517 +if + 11 > $TOTAL_FOOD_EATEN +else_jump @JFUD_7007 +0790: charge_money_for_shopping_item_with_textureCRC $SELECTED_MENU_ITEM +$10047 = 1 +if +03D0: wav 4 loaded +else_jump @JFUD_6262 +if +03D2: wav 4 ended +else_jump @JFUD_6262 +09F1: play_audio_at_actor $PLAYER_ACTOR event 1168 + +:JFUD_6262 +if + $672 == 0 +else_jump @JFUD_6292 +01BD: $5285 = current_time_in_ms +$672 = 1 + +:JFUD_6292 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1054 +$TOTAL_FOOD_EATEN += 1 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_6347 +0947: actor $FOOD_SELLER speak_from_audio_table 323 store_spoken_phrase_id_to $2563 +jump @JFUD_6392 + +:JFUD_6347 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_6385 +gosub @JFUD_9870 + +:JFUD_6385 +jump @JFUD_574 + +:JFUD_6392 +32@ = 0 +if + $2418 == 1 +else_jump @JFUD_6431 +08DA: remove_panel $2417 +03E6: remove_text_box +$2418 = 0 + +:JFUD_6431 +if + $2422 == 0 +else_jump @JFUD_6799 +08D4: $2421 = create_panel_with_title 'FOODCHO' position 29.0 25.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 +08D6: set_panel $2421 column 0 alignment 1 +08DB: set_panel $2421 column 0 header 'MEAL' data 'BOUGHT' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' +08D6: set_panel $2421 column 1 alignment 2 +08DB: set_panel $2421 column 1 header 'COST' data 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' +08EE: set_panel $2421 column 1 row 0 text_1number GXT 'DOLLAR' number $10034 +09DB: set_panel $2421 column 0 width 140 +09DB: set_panel $2421 column 1 width 46 +$2422 = 1 + +:JFUD_6799 +if + 1000 >= 32@ +else_jump @JFUD_6920 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_6852 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_6852 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_6913 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_6906 +gosub @JFUD_9870 + +:JFUD_6906 +jump @JFUD_574 + +:JFUD_6913 +jump @JFUD_6799 + +:JFUD_6920 +if + $2422 == 1 +else_jump @JFUD_6950 +08DA: remove_panel $2421 +$2422 = 0 + +:JFUD_6950 +if + $2418 == 0 +else_jump @JFUD_6975 +gosub @JFUD_12269 + +:JFUD_6975 +if + $88 == 1 +else_jump @JFUD_7000 +$88 = 2 + +:JFUD_7000 +jump @JFUD_9510 + +:JFUD_7007 +if + $10045 == 0 +else_jump @JFUD_9510 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_7089 +0947: actor $FOOD_SELLER speak_from_audio_table 322 store_spoken_phrase_id_to $2563 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1055 +00BC: show_text_highpriority GXT 'FOOD1' time 5000 flag 1 +jump @JFUD_7134 + +:JFUD_7089 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_7127 +gosub @JFUD_9870 + +:JFUD_7127 +jump @JFUD_574 + +:JFUD_7134 +if + $2418 == 1 +else_jump @JFUD_7166 +08DA: remove_panel $2417 +03E6: remove_text_box +$2418 = 0 + +:JFUD_7166 +if + $2422 == 1 +else_jump @JFUD_7198 +08DA: remove_panel $2421 +03E6: remove_text_box +$2422 = 0 + +:JFUD_7198 +if + $88 == 2 +else_jump @JFUD_7317 +0169: set_fade_color_RGB 0 0 0 +043C: disable_sounds_after_fadeout 0 +fade 0 0 +gosub @JFUD_12910 +Actor.DestroyInstantly($FOOD_SELLER) +$88 = 3 +$2418 = 0 +$2422 = 0 +$2544 = 0 +$10038 = 0 +$10042 = 0 +$JFUD_STAGE = 2 +Actor.Health($PLAYER_ACTOR) = $JFUD_PLAYER_HEALTH +$28 = 1 +jump @JFUD_574 + +:JFUD_7317 +if + $TOTAL_FOOD_EATEN >= 11 +else_jump @JFUD_8112 +gosub @JFUD_9693 +gosub @JFUD_12910 +if + 10 > $JFUD_PLAYER_HEALTH +else_jump @JFUD_7382 +0084: $JFUD_PLAYER_HEALTH = $JFUD_PLAYER_HEALTH // (int) +jump @JFUD_7414 + +:JFUD_7382 +$JFUD_PLAYER_HEALTH -= 10 +if + 10 > $JFUD_PLAYER_HEALTH +else_jump @JFUD_7414 +$JFUD_PLAYER_HEALTH = 10 + +:JFUD_7414 +Actor.Health($PLAYER_ACTOR) = $JFUD_PLAYER_HEALTH +Camera.SetPosition($10075, $10076, $10077, 0.0, 0.0, 0.0) +Camera.PointAt($10078, $10079, $10080, 2) +if + Player.Defined($PLAYER_CHAR) +else_jump @JFUD_7634 +Actor.StorePos($PLAYER_ACTOR, $TEMPVAR_X_COORD, $TEMPVAR_Y_COORD, $TEMPVAR_Z_COORD) +0086: $10049 = $TEMPVAR_X_COORD // (float) +$10049 += 0.355 +0086: $10050 = $TEMPVAR_Y_COORD // (float) +$10050 -= 0.116 +0086: $10051 = $TEMPVAR_Z_COORD // (float) +$10051 -= 0.048 +064B: $10048 = create_particle "PUKE" at $10049 $10050 $10051 type 1 +0812: AS_actor $PLAYER_ACTOR perform_animation "EAT_VOMIT_P" IFP "FOOD" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 0 time -1 // versionB +$10052 = 0.0 +0947: actor $PLAYER_ACTOR speak_from_audio_table 353 store_spoken_phrase_id_to $2563 +jump @JFUD_7648 + +:JFUD_7634 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_7648 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_7722 +0812: AS_actor $FOOD_SELLER perform_animation "EAT_VOMIT_SK" IFP "FOOD" framedelta 1000.0 loopA 0 lockX 0 lockY 0 lockF 0 time -1 // versionB +0947: actor $FOOD_SELLER speak_from_audio_table 325 store_spoken_phrase_id_to $2563 +jump @JFUD_7767 + +:JFUD_7722 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_7760 +gosub @JFUD_9870 + +:JFUD_7760 +jump @JFUD_574 + +:JFUD_7767 +if + Actor.Animation($PLAYER_ACTOR) == "EAT_VOMIT_P" +else_jump @JFUD_7817 +0613: $10052 = actor $PLAYER_ACTOR animation "EAT_VOMIT_P" time + +:JFUD_7817 +if + not $10052 == 1.0 +else_jump @JFUD_8095 +wait 0 +if + $10056 == 0 +else_jump @JFUD_7911 +if + $10052 >= 0.463 +else_jump @JFUD_7911 +if +03D0: wav 4 loaded +else_jump @JFUD_7904 +09F1: play_audio_at_actor $PLAYER_ACTOR event 1169 + +:JFUD_7904 +$10056 = 1 + +:JFUD_7911 +if + $10056 == 1 +else_jump @JFUD_7962 +if + $10052 >= 0.52 +else_jump @JFUD_7962 +064C: make_particle $10048 visible +$10056 = 2 + +:JFUD_7962 +if + Player.Defined($PLAYER_CHAR) +else_jump @JFUD_8006 +0613: $10052 = actor $PLAYER_ACTOR animation "EAT_VOMIT_P" time +jump @JFUD_8020 + +:JFUD_8006 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_8020 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_8043 +jump @JFUD_8088 + +:JFUD_8043 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_8081 +gosub @JFUD_9870 + +:JFUD_8081 +jump @JFUD_574 + +:JFUD_8088 +jump @JFUD_7817 + +:JFUD_8095 +064E: stop_particle $10048 +0650: destroy_particle $10048 +jump @JFUD_8863 + +:JFUD_8112 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_8246 +0812: AS_actor $FOOD_SELLER perform_animation "SHP_TRAY_RETURN" IFP "FOOD" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$10052 = 0.0 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_RETURN" +else_jump @JFUD_8239 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_RETURN" time + +:JFUD_8239 +jump @JFUD_8291 + +:JFUD_8246 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_8284 +gosub @JFUD_9870 + +:JFUD_8284 +jump @JFUD_574 + +:JFUD_8291 +if + not $10052 == 1.0 +else_jump @JFUD_8479 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_8346 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_8346 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_8414 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_8400 +gosub @JFUD_9870 + +:JFUD_8400 +jump @JFUD_574 +jump @JFUD_8472 + +:JFUD_8414 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_RETURN" +else_jump @JFUD_8472 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_RETURN" time + +:JFUD_8472 +jump @JFUD_8291 + +:JFUD_8479 +gosub @JFUD_12910 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_8626 +0812: AS_actor $FOOD_SELLER perform_animation "SHP_TRAY_LIFT_OUT" IFP "FOOD" framedelta 1000.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$10052 = 0.0 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_LIFT_OUT" +else_jump @JFUD_8619 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_LIFT_OUT" time + +:JFUD_8619 +jump @JFUD_8671 + +:JFUD_8626 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_8664 +gosub @JFUD_9870 + +:JFUD_8664 +jump @JFUD_574 + +:JFUD_8671 +if + not $10052 == 1.0 +else_jump @JFUD_8863 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_8726 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_8726 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_8794 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_8780 +gosub @JFUD_9870 + +:JFUD_8780 +jump @JFUD_574 +jump @JFUD_8856 + +:JFUD_8794 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_LIFT_OUT" +else_jump @JFUD_8856 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_LIFT_OUT" time + +:JFUD_8856 +jump @JFUD_8671 + +:JFUD_8863 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_8991 +0812: AS_actor $FOOD_SELLER perform_animation "SHP_TRAY_POSE" IFP "FOOD" framedelta 1000.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$10052 = 0.0 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_POSE" +else_jump @JFUD_8984 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_POSE" time + +:JFUD_8984 +jump @JFUD_9036 + +:JFUD_8991 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_9029 +gosub @JFUD_9870 + +:JFUD_9029 +jump @JFUD_574 + +:JFUD_9036 +if + not $10052 == 1.0 +else_jump @JFUD_9227 +wait 0 +if + Player.Defined($PLAYER_CHAR) +else_jump @JFUD_9084 +jump @JFUD_9098 + +:JFUD_9084 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_9098 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_9175 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_POSE" +else_jump @JFUD_9168 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_POSE" time + +:JFUD_9168 +jump @JFUD_9220 + +:JFUD_9175 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_9213 +gosub @JFUD_9870 + +:JFUD_9213 +jump @JFUD_574 + +:JFUD_9220 +jump @JFUD_9036 + +:JFUD_9227 +Player.CanMove($PLAYER_CHAR) = True +09BD: allow_other_threads_to_display_text_boxes 0 +Camera.SetBehindPlayer +Camera.Restore_WithJumpCut + +:JFUD_9242 +if +00FF: actor $PLAYER_ACTOR sphere 0 in_sphere $X_BUY_MARKER $Y_BUY_MARKER $Z_BUY_MARKER radius 1.0 1.0 4.0 on_foot +else_jump @JFUD_9468 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_9318 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_9318 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_9386 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_9372 +gosub @JFUD_9870 + +:JFUD_9372 +jump @JFUD_574 +jump @JFUD_9461 + +:JFUD_9386 +if + $FLAG_PLAYER_ATTACK_FOOD_SELLER == 0 +else_jump @JFUD_9461 +if or +031D: actor $FOOD_SELLER hit_by_weapon 57 + $FOOD_PLAYER_AGGRESSIVE_FLAG == 1 +else_jump @JFUD_9461 +0947: actor $FOOD_SELLER speak_from_audio_table 327 store_spoken_phrase_id_to $2563 +05C4: AS_actor $FOOD_SELLER hands_up -2 ms +$FOOD_PLAYER_AGGRESSIVE_FLAG = 1 +$FLAG_PLAYER_ATTACK_FOOD_SELLER = 1 + +:JFUD_9461 +jump @JFUD_9242 + +:JFUD_9468 +$2418 = 0 +$2422 = 0 +$10038 = 0 +$10042 = 0 +$JFUD_STAGE = 2 +$10045 = 1 + +:JFUD_9510 +jump @JFUD_9651 + +:JFUD_9517 +if + $2544 == 0 +else_jump @JFUD_9651 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_9599 +097A: play_audio_at $TEMPVAR_X_COORD $TEMPVAR_Y_COORD $TEMPVAR_Z_COORD event 1055 +0947: actor $FOOD_SELLER speak_from_audio_table 324 store_spoken_phrase_id_to $10081 +00BC: show_text_highpriority GXT 'SHOPNO' time 5000 flag 1 +jump @JFUD_9644 + +:JFUD_9599 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_9637 +gosub @JFUD_9870 + +:JFUD_9637 +jump @JFUD_574 + +:JFUD_9644 +$2544 = 1 + +:JFUD_9651 +gosub @JFUD_10115 + +:JFUD_9658 +jump @JFUD_9672 + +:JFUD_9665 +gosub @JFUD_9870 + +:JFUD_9672 +jump @JFUD_9686 + +:JFUD_9679 +gosub @JFUD_9870 + +:JFUD_9686 +jump @JFUD_574 + +:JFUD_9693 +03D5: remove_text 'SHOPNO' +03D5: remove_text 'FOOD1' +if + $2418 == 1 +else_jump @JFUD_9747 +08DA: remove_panel $2417 +03E6: remove_text_box +$2418 = 0 + +:JFUD_9747 +if + $2422 == 1 +else_jump @JFUD_9779 +08DA: remove_panel $2421 +03E6: remove_text_box +$2422 = 0 + +:JFUD_9779 +$10038 = 0 +$10042 = 0 +$10047 = 0 +$2418 = 0 +$2422 = 0 +$JFUD_STAGE = 2 +$2544 = 0 +Model.Destroy($JFUD_LOW_FOOD_MODEL) +Model.Destroy($JFUD_MED_FOOD_MODEL) +Model.Destroy($JFUD_HIGH_FOOD_MODEL) +Model.Destroy($JFUD_HEALTHY_FOOD_MODEL) +if + $FOOD_SELLER_EXISTS == 1 +else_jump @JFUD_9868 +03E6: remove_text_box + +:JFUD_9868 +return + +:JFUD_9870 +03D5: remove_text 'SHOPNO' +03D5: remove_text 'FOOD1' +if + $FOOD_SELLER_EXISTS == 1 +else_jump @JFUD_9912 +03E6: remove_text_box + +:JFUD_9912 +if + $2418 == 1 +else_jump @JFUD_9944 +08DA: remove_panel $2417 +03E6: remove_text_box +$2418 = 0 + +:JFUD_9944 +if + $2422 == 1 +else_jump @JFUD_9976 +08DA: remove_panel $2421 +03E6: remove_text_box +$2422 = 0 + +:JFUD_9976 +$FOOD_SELLER_EXISTS = 0 +$10035 = 0 +$10042 = 0 +$10038 = 0 +$10045 = 0 +$10047 = 0 +$FLAG_PLAYER_ATTACK_FOOD_SELLER = 0 +$10056 = 0 +$2418 = 0 +$2422 = 0 +$JFUD_STAGE = 0 +$2544 = 0 +0650: destroy_particle $10048 +Actor.DestroyInstantly($FOOD_SELLER) +Model.Destroy($SELLER_MODEL) +Model.Destroy($JFUD_LOW_FOOD_MODEL) +Model.Destroy($JFUD_MED_FOOD_MODEL) +Model.Destroy($JFUD_HIGH_FOOD_MODEL) +Model.Destroy($JFUD_HEALTHY_FOOD_MODEL) +03F0: enable_text_draw 0 +08F8: display_stat_update_box 1 +09BD: allow_other_threads_to_display_text_boxes 0 +040D: unload_wav 4 +end_thread +return + +:JFUD_10115 +if +00E1: player 0 pressed_key 15 +else_jump @JFUD_12267 +if + $2418 == 1 +else_jump @JFUD_10164 +08DA: remove_panel $2417 +03E6: remove_text_box +$2418 = 0 + +:JFUD_10164 +if + $2422 == 1 +else_jump @JFUD_10196 +08DA: remove_panel $2421 +03E6: remove_text_box +$2422 = 0 + +:JFUD_10196 +if +00E1: player 0 pressed_key 15 +else_jump @JFUD_10315 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_10247 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_10247 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_10308 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_10301 +gosub @JFUD_9870 + +:JFUD_10301 +jump @JFUD_574 + +:JFUD_10308 +jump @JFUD_10196 + +:JFUD_10315 +03D5: remove_text 'SHOPNO' +03D5: remove_text 'FOOD1' +if + $88 == 2 +else_jump @JFUD_10437 +0169: set_fade_color_RGB 0 0 0 +fade 0 0 +gosub @JFUD_12910 +Actor.DestroyInstantly($FOOD_SELLER) +$88 = 3 +$10038 = 0 +$10042 = 0 +$2418 = 0 +$2422 = 0 +$JFUD_STAGE = 2 +$2544 = 0 +jump @JFUD_12267 + +:JFUD_10437 +$SHOW_SHOP_SPHERE = 0 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if + $10047 == 1 +else_jump @JFUD_10670 +if +05AD: s$CURRENT_SHOP_GXT_NAME == 'FDBURG' // s$ == short +else_jump @JFUD_10537 +0605: actor $PLAYER_ACTOR perform_animation "EAT_BURGER" IFP "FOOD" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +jump @JFUD_10670 + +:JFUD_10537 +if +05AD: s$CURRENT_SHOP_GXT_NAME == 'FDPIZA' // s$ == short +else_jump @JFUD_10606 +0605: actor $PLAYER_ACTOR perform_animation "EAT_PIZZA" IFP "FOOD" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +jump @JFUD_10670 + +:JFUD_10606 +if +05AD: s$CURRENT_SHOP_GXT_NAME == 'FDCHICK' // s$ == short +else_jump @JFUD_10670 +0605: actor $PLAYER_ACTOR perform_animation "EAT_CHICKEN" IFP "FOOD" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 + +:JFUD_10670 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_10815 +0947: actor $FOOD_SELLER speak_from_audio_table 331 store_spoken_phrase_id_to $10081 +0812: AS_actor $FOOD_SELLER perform_animation "SHP_TRAY_RETURN" IFP "FOOD" framedelta 1000.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$10052 = 0.0 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_RETURN" +else_jump @JFUD_10808 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_RETURN" time + +:JFUD_10808 +jump @JFUD_10860 + +:JFUD_10815 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_10853 +gosub @JFUD_9870 + +:JFUD_10853 +jump @JFUD_574 + +:JFUD_10860 +if + not $10052 == 1.0 +else_jump @JFUD_11048 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_10915 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_10915 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_10983 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_10969 +gosub @JFUD_9870 + +:JFUD_10969 +jump @JFUD_574 +jump @JFUD_11041 + +:JFUD_10983 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_RETURN" +else_jump @JFUD_11041 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_RETURN" time + +:JFUD_11041 +jump @JFUD_10860 + +:JFUD_11048 +gosub @JFUD_12910 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_11195 +0812: AS_actor $FOOD_SELLER perform_animation "SHP_TRAY_LIFT_OUT" IFP "FOOD" framedelta 1000.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$10052 = 0.0 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_LIFT_OUT" +else_jump @JFUD_11188 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_LIFT_OUT" time + +:JFUD_11188 +jump @JFUD_11240 + +:JFUD_11195 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_11233 +gosub @JFUD_9870 + +:JFUD_11233 +jump @JFUD_574 + +:JFUD_11240 +if + not $10052 == 1.0 +else_jump @JFUD_11432 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_11295 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_11295 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_11363 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_11349 +gosub @JFUD_9870 + +:JFUD_11349 +jump @JFUD_574 +jump @JFUD_11425 + +:JFUD_11363 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_LIFT_OUT" +else_jump @JFUD_11425 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_LIFT_OUT" time + +:JFUD_11425 +jump @JFUD_11240 + +:JFUD_11432 +if + $10047 == 1 +else_jump @JFUD_11488 +if +03D0: wav 4 loaded +else_jump @JFUD_11488 +if +03D2: wav 4 ended +else_jump @JFUD_11488 +09F1: play_audio_at_actor $PLAYER_ACTOR event 1168 + +:JFUD_11488 +$10038 = 0 +$10042 = 0 +$JFUD_STAGE = 2 +$2418 = 0 +$2422 = 0 +$10047 = 0 +Player.CanMove($PLAYER_CHAR) = True +Camera.Restore_WithJumpCut +if + $FOOD_SELLER_EXISTS == 1 +else_jump @JFUD_11559 +03E6: remove_text_box + +:JFUD_11559 +gosub @JFUD_12910 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_11693 +0812: AS_actor $FOOD_SELLER perform_animation "SHP_THANK" IFP "FOOD" framedelta 1000.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$10052 = 0.0 +0947: actor $FOOD_SELLER speak_from_audio_table 331 store_spoken_phrase_id_to $10081 +if + Actor.Animation($FOOD_SELLER) == "SHP_THANK" +else_jump @JFUD_11686 +0613: $10052 = actor $FOOD_SELLER animation "SHP_THANK" time + +:JFUD_11686 +jump @JFUD_11738 + +:JFUD_11693 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_11731 +gosub @JFUD_9870 + +:JFUD_11731 +jump @JFUD_574 + +:JFUD_11738 +if + not $10052 == 1.0 +else_jump @JFUD_11914 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_11793 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_11793 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_11861 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_11847 +gosub @JFUD_9870 + +:JFUD_11847 +jump @JFUD_574 +jump @JFUD_11907 + +:JFUD_11861 +if + Actor.Animation($FOOD_SELLER) == "SHP_THANK" +else_jump @JFUD_11907 +0613: $10052 = actor $FOOD_SELLER animation "SHP_THANK" time + +:JFUD_11907 +jump @JFUD_11738 + +:JFUD_11914 +if + not Actor.Dead($FOOD_SELLER) +else_jump @JFUD_12042 +0812: AS_actor $FOOD_SELLER perform_animation "SHP_TRAY_POSE" IFP "FOOD" framedelta 1000.0 loopA 0 lockX 0 lockY 0 lockF 1 time -1 // versionB +$10052 = 0.0 +if + Actor.Animation($FOOD_SELLER) == "SHP_TRAY_POSE" +else_jump @JFUD_12035 +0613: $10052 = actor $FOOD_SELLER animation "SHP_TRAY_POSE" time + +:JFUD_12035 +jump @JFUD_12087 + +:JFUD_12042 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_12080 +gosub @JFUD_9870 + +:JFUD_12080 +jump @JFUD_574 + +:JFUD_12087 +if +00FF: actor $PLAYER_ACTOR sphere 1 in_sphere $X_BUY_MARKER $Y_BUY_MARKER $Z_BUY_MARKER radius 1.0 1.0 4.0 on_foot +else_jump @JFUD_12260 +wait 0 +if + not Player.Defined($PLAYER_CHAR) +else_jump @JFUD_12163 +gosub @JFUD_9870 +jump @JFUD_574 + +:JFUD_12163 +if + Actor.Dead($FOOD_SELLER) +else_jump @JFUD_12231 +gosub @JFUD_9693 +07B0: get_active_shop_name_to s$CURRENT_SHOP_GXT_NAME // s$ +if +85AD: not s$CURRENT_SHOP_GXT_NAME == s$10043 // s$ == short +else_jump @JFUD_12217 +gosub @JFUD_9870 + +:JFUD_12217 +jump @JFUD_574 +jump @JFUD_12253 + +:JFUD_12231 +if + $FLAG_PLAYER_ATTACK_FOOD_SELLER == 0 +else_jump @JFUD_12253 +if or + +:JFUD_12253 +jump @JFUD_12087 + +:JFUD_12260 +$SHOW_SHOP_SPHERE = 1 + +:JFUD_12267 +return + +:JFUD_12269 +if + $2418 == 0 +else_jump @JFUD_12908 +0512: show_permanent_text_box 'FOOD_H' +if +04A3: $CURRENT_LANGUAGE == 0 // == constant +else_jump @JFUD_12360 +08D4: $2417 = create_panel_with_title 'FOODCHO' position 29.0 145.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 +jump @JFUD_12601 + +:JFUD_12360 +if +04A3: $CURRENT_LANGUAGE == 1 // == constant +else_jump @JFUD_12422 +08D4: $2417 = create_panel_with_title 'FOODCHO' position 29.0 145.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 +jump @JFUD_12601 + +:JFUD_12422 +if +04A3: $CURRENT_LANGUAGE == 2 // == constant +else_jump @JFUD_12484 +08D4: $2417 = create_panel_with_title 'FOODCHO' position 29.0 165.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 +jump @JFUD_12601 + +:JFUD_12484 +if +04A3: $CURRENT_LANGUAGE == 3 // == constant +else_jump @JFUD_12546 +08D4: $2417 = create_panel_with_title 'FOODCHO' position 29.0 145.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 +jump @JFUD_12601 + +:JFUD_12546 +if +04A3: $CURRENT_LANGUAGE == 4 // == constant +else_jump @JFUD_12601 +08D4: $2417 = create_panel_with_title 'FOODCHO' position 29.0 145.0 width 93.0 columns 2 interactive 0 background 1 alignment 1 + +:JFUD_12601 +08D6: set_panel $2417 column 0 alignment 1 +08DB: set_panel $2417 column 0 header 'MEAL' data s$2752 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' +08D6: set_panel $2417 column 1 alignment 2 +08DB: set_panel $2417 column 1 header 'COST' data 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY' +08EE: set_panel $2417 column 1 row 0 text_1number GXT 'DOLLAR' number $2751 +09DB: set_panel $2417 column 0 width 140 +09DB: set_panel $2417 column 1 width 46 +$2418 = 1 + +:JFUD_12908 +return + +:JFUD_12910 +Object.Destroy($JFUD_SELECTED_FOOD) +return + +//-------------External script 4 (OTBSLP)--------------- + +:OTBSLP +thread 'OTBSLP' +2@ = 0 +if + 2@ == 1 +else_jump @OTBSLP_60 +0@ = Actor.Create(CivFemale, 0, 0.0, 0.0, 0.0) + +:OTBSLP_60 +04ED: load_animation "OTB" + +:OTBSLP_67 +if +84EE: not animation "OTB" loaded +else_jump @OTBSLP_96 +wait 0 +jump @OTBSLP_67 + +:OTBSLP_96 +3@ = 1 +4@ = 0 + +:OTBSLP_110 +wait 0 +if and + not Actor.Dead(0@) + $PLAYER_IN_INTERIOR == 0 +else_jump @OTBSLP_221 +if +09C5: unknown_actor 0@ +else_jump @OTBSLP_207 +if + $2881 == 0 +else_jump @OTBSLP_185 +gosub @OTBSLP_235 +jump @OTBSLP_200 + +:OTBSLP_185 +060B: set_actor 0@ decision_maker_to $INTERIOR_DECISION_MAKER_A +jump @OTBSLP_902 + +:OTBSLP_200 +jump @OTBSLP_214 + +:OTBSLP_207 +gosub @OTBSLP_891 + +:OTBSLP_214 +jump @OTBSLP_228 + +:OTBSLP_221 +gosub @OTBSLP_891 + +:OTBSLP_228 +jump @OTBSLP_110 + +:OTBSLP_235 +0871: init_jump_table 3@ total_jumps 1 default_jump 0 @OTBSLP_312 jumps 1 @OTBSLP_298 -1 @OTBSLP_312 -1 @OTBSLP_312 -1 @OTBSLP_312 -1 @OTBSLP_312 -1 @OTBSLP_312 -1 @OTBSLP_312 + +:OTBSLP_298 +gosub @OTBSLP_314 +jump @OTBSLP_312 + +:OTBSLP_312 +return + +:OTBSLP_314 +0871: init_jump_table 4@ total_jumps 6 default_jump 0 @OTBSLP_889 jumps 0 @OTBSLP_377 1 @OTBSLP_427 2 @OTBSLP_520 3 @OTBSLP_673 4 @OTBSLP_766 5 @OTBSLP_846 -1 @OTBSLP_889 + +:OTBSLP_377 +0605: actor 0@ perform_animation "BETSLP_IN" IFP "OTB" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +4@ += 1 +jump @OTBSLP_889 + +:OTBSLP_427 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @OTBSLP_513 +0209: 2@ = random_int_in_ranges 4000 8000 +0605: actor 0@ perform_animation "BETSLP_LOOP" IFP "OTB" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 1 time 2@ +4@ += 1 + +:OTBSLP_513 +jump @OTBSLP_889 + +:OTBSLP_520 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @OTBSLP_666 +0209: 2@ = random_int_in_ranges 0 100 +if + 2@ > 50 +else_jump @OTBSLP_622 +0605: actor 0@ perform_animation "BETSLP_LKABT" IFP "OTB" framedelta 16.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +jump @OTBSLP_659 + +:OTBSLP_622 +0605: actor 0@ perform_animation "BETSLP_TNK" IFP "OTB" framedelta 16.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 + +:OTBSLP_659 +4@ += 1 + +:OTBSLP_666 +jump @OTBSLP_889 + +:OTBSLP_673 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @OTBSLP_759 +0209: 2@ = random_int_in_ranges 4000 8000 +0605: actor 0@ perform_animation "BETSLP_LOOP" IFP "OTB" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 1 time 2@ +4@ += 1 + +:OTBSLP_759 +jump @OTBSLP_889 + +:OTBSLP_766 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @OTBSLP_839 +0605: actor 0@ perform_animation "BETSLP_OUT" IFP "OTB" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +4@ += 1 + +:OTBSLP_839 +jump @OTBSLP_889 + +:OTBSLP_846 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @OTBSLP_882 +gosub @OTBSLP_891 + +:OTBSLP_882 +jump @OTBSLP_889 + +:OTBSLP_889 +return + +:OTBSLP_891 +04EF: release_animation "OTB" +end_thread +return + +:OTBSLP_902 +wait 0 +if and + not Actor.Dead(0@) + $PLAYER_IN_INTERIOR == 0 +else_jump @OTBSLP_972 +062E: get_actor 0@ task 1477 status_store_to 5@ // ret 7 if not found +if +04A4: 5@ == 7 // == constant +else_jump @OTBSLP_965 +05C5: AS_actor 0@ cower -2 ms + +:OTBSLP_965 +jump @OTBSLP_979 + +:OTBSLP_972 +gosub @OTBSLP_891 + +:OTBSLP_979 +jump @OTBSLP_902 +0663: printint "PEDSTATE" 3@ +0663: printint "SUBSTATESTATUS" 4@ +0663: printint "LOOP_TIMER" 33@ +0663: printint "SCRIPT_TIMER" 32@ +return +end_thread + +//-------------External script 5 (OTBTILL)--------------- + +:OTBTILL +thread 'OTBTILL' +2@ = 0 +if + 2@ == 1 +else_jump @OTBTILL_60 +0@ = Actor.Create(CivFemale, 0, 0.0, 0.0, 0.0) + +:OTBTILL_60 +04ED: load_animation "INT_SHOP" + +:OTBTILL_72 +if +84EE: not animation "INT_SHOP" loaded +else_jump @OTBTILL_106 +wait 0 +jump @OTBTILL_72 + +:OTBTILL_106 +3@ = 1 +4@ = 0 +5@ = 0 +11@ = 0 + +:OTBTILL_134 +wait 0 +if and + not Actor.Dead(0@) + $PLAYER_IN_INTERIOR == 0 +else_jump @OTBTILL_245 +if +09C5: unknown_actor 0@ +else_jump @OTBTILL_231 +if + $2881 == 0 +else_jump @OTBTILL_209 +gosub @OTBTILL_259 +jump @OTBTILL_224 + +:OTBTILL_209 +060B: set_actor 0@ decision_maker_to $INTERIOR_DECISION_MAKER_A +jump @OTBTILL_655 + +:OTBTILL_224 +jump @OTBTILL_238 + +:OTBTILL_231 +gosub @OTBTILL_587 + +:OTBTILL_238 +jump @OTBTILL_252 + +:OTBTILL_245 +gosub @OTBTILL_587 + +:OTBTILL_252 +jump @OTBTILL_134 + +:OTBTILL_259 +0871: init_jump_table 3@ total_jumps 1 default_jump 0 @OTBTILL_336 jumps 1 @OTBTILL_322 -1 @OTBTILL_336 -1 @OTBTILL_336 -1 @OTBTILL_336 -1 @OTBTILL_336 -1 @OTBTILL_336 -1 @OTBTILL_336 + +:OTBTILL_322 +gosub @OTBTILL_338 +jump @OTBTILL_336 + +:OTBTILL_336 +return + +:OTBTILL_338 +0871: init_jump_table 4@ total_jumps 3 default_jump 0 @OTBTILL_585 jumps 0 @OTBTILL_401 1 @OTBTILL_459 2 @OTBTILL_542 -1 @OTBTILL_585 -1 @OTBTILL_585 -1 @OTBTILL_585 -1 @OTBTILL_585 + +:OTBTILL_401 +5@ = 1 +0605: actor 0@ perform_animation "IDLE_CHAT" IFP "PED" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 0 time 5000 +4@ += 1 +jump @OTBTILL_585 + +:OTBTILL_459 +062E: get_actor 0@ task 1541 status_store_to 10@ // ret 7 if not found +if +04A4: 10@ == 7 // == constant +else_jump @OTBTILL_535 +0605: actor 0@ perform_animation "SHOP_PAY" IFP "INT_SHOP" framedelta 1000.0 loop 0 lockX 0 lockY 0 lockF 0 time 0 +4@ += 1 + +:OTBTILL_535 +jump @OTBTILL_585 + +:OTBTILL_542 +062E: get_actor 0@ task 1541 status_store_to 10@ // ret 7 if not found +if +04A4: 10@ == 7 // == constant +else_jump @OTBTILL_578 +gosub @OTBTILL_587 + +:OTBTILL_578 +jump @OTBTILL_585 + +:OTBTILL_585 +return + +:OTBTILL_587 +04EF: release_animation "INT_SHOP" +if + not Actor.Dead(0@) +else_jump @OTBTILL_651 +08A0: actor 0@ in_radius 50.0 near_model 0 with_offset 0.0 0.0 0.0 end_script_named "OTBWTCH" // IF and SET + +:OTBTILL_651 +end_thread +return + +:OTBTILL_655 +wait 0 +if and + not Actor.Dead(0@) + $PLAYER_IN_INTERIOR == 0 +else_jump @OTBTILL_725 +062E: get_actor 0@ task 1477 status_store_to 11@ // ret 7 if not found +if +04A4: 11@ == 7 // == constant +else_jump @OTBTILL_718 +05C5: AS_actor 0@ cower -2 ms + +:OTBTILL_718 +jump @OTBTILL_732 + +:OTBTILL_725 +gosub @OTBTILL_587 + +:OTBTILL_732 +jump @OTBTILL_655 +0663: printint "PEDSTATE" 3@ +0663: printint "SUBSTATESTATUS" 4@ +0663: printint "LOOP_TIMER" 33@ +0663: printint "SCRIPT_TIMER" 32@ +return +end_thread + +//-------------External script 6 (OTBWTCH)--------------- + +:OTBWTCH +thread 'OTBWTCH' +2@ = 0 +if + 2@ == 1 +else_jump @OTBWTCH_60 +0@ = Actor.Create(CivFemale, 0, 0.0, 0.0, 0.0) + +:OTBWTCH_60 +04ED: load_animation "OTB" + +:OTBWTCH_67 +if +84EE: not animation "OTB" loaded +else_jump @OTBWTCH_96 +wait 0 +jump @OTBWTCH_67 + +:OTBWTCH_96 +3@ = 1 +4@ = 0 + +:OTBWTCH_110 +wait 0 +if and + not Actor.Dead(0@) + $PLAYER_IN_INTERIOR == 0 +else_jump @OTBWTCH_221 +if +09C5: unknown_actor 0@ +else_jump @OTBWTCH_207 +if + $2881 == 0 +else_jump @OTBWTCH_185 +gosub @OTBWTCH_235 +jump @OTBWTCH_200 + +:OTBWTCH_185 +060B: set_actor 0@ decision_maker_to $INTERIOR_DECISION_MAKER_A +jump @OTBWTCH_1122 + +:OTBWTCH_200 +jump @OTBWTCH_214 + +:OTBWTCH_207 +gosub @OTBWTCH_1060 + +:OTBWTCH_214 +jump @OTBWTCH_228 + +:OTBWTCH_221 +gosub @OTBWTCH_1060 + +:OTBWTCH_228 +jump @OTBWTCH_110 + +:OTBWTCH_235 +0871: init_jump_table 3@ total_jumps 1 default_jump 0 @OTBWTCH_312 jumps 1 @OTBWTCH_298 -1 @OTBWTCH_312 -1 @OTBWTCH_312 -1 @OTBWTCH_312 -1 @OTBWTCH_312 -1 @OTBWTCH_312 -1 @OTBWTCH_312 + +:OTBWTCH_298 +gosub @OTBWTCH_314 +jump @OTBWTCH_312 + +:OTBWTCH_312 +return + +:OTBWTCH_314 +0871: init_jump_table 4@ total_jumps 7 default_jump 0 @OTBWTCH_1058 jumps 0 @OTBWTCH_377 1 @OTBWTCH_429 2 @OTBWTCH_524 3 @OTBWTCH_682 4 @OTBWTCH_777 5 @OTBWTCH_933 6 @OTBWTCH_1015 + +:OTBWTCH_377 +0605: actor 0@ perform_animation "WTCHRACE_IN" IFP "OTB" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +4@ += 1 +jump @OTBWTCH_1058 + +:OTBWTCH_429 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @OTBWTCH_517 +0209: 2@ = random_int_in_ranges 4000 8000 +0605: actor 0@ perform_animation "WTCHRACE_LOOP" IFP "OTB" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 1 time 2@ +4@ += 1 + +:OTBWTCH_517 +jump @OTBWTCH_1058 + +:OTBWTCH_524 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @OTBWTCH_675 +0209: 2@ = random_int_in_ranges 0 100 +if + 2@ > 50 +else_jump @OTBWTCH_627 +0605: actor 0@ perform_animation "WTCHRACE_CMON" IFP "OTB" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +jump @OTBWTCH_668 + +:OTBWTCH_627 +0605: actor 0@ perform_animation "WTCHRACE_LOOP" IFP "OTB" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 0 time 1000 + +:OTBWTCH_668 +4@ += 1 + +:OTBWTCH_675 +jump @OTBWTCH_1058 + +:OTBWTCH_682 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @OTBWTCH_770 +0209: 2@ = random_int_in_ranges 4000 8000 +0605: actor 0@ perform_animation "WTCHRACE_LOOP" IFP "OTB" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 1 time 2@ +4@ += 1 + +:OTBWTCH_770 +jump @OTBWTCH_1058 + +:OTBWTCH_777 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @OTBWTCH_926 +0209: 2@ = random_int_in_ranges 0 100 +if + 2@ > 50 +else_jump @OTBWTCH_879 +0605: actor 0@ perform_animation "WTCHRACE_WIN" IFP "OTB" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +jump @OTBWTCH_919 + +:OTBWTCH_879 +0605: actor 0@ perform_animation "WTCHRACE_LOSE" IFP "OTB" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 + +:OTBWTCH_919 +4@ += 1 + +:OTBWTCH_926 +jump @OTBWTCH_1058 + +:OTBWTCH_933 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @OTBWTCH_1008 +0605: actor 0@ perform_animation "WTCHRACE_OUT" IFP "OTB" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +4@ += 1 + +:OTBWTCH_1008 +jump @OTBWTCH_1058 + +:OTBWTCH_1015 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @OTBWTCH_1051 +gosub @OTBWTCH_1060 + +:OTBWTCH_1051 +jump @OTBWTCH_1058 + +:OTBWTCH_1058 +return + +:OTBWTCH_1060 +04EF: release_animation "OTB" +if + not Actor.Dead(0@) +else_jump @OTBWTCH_1118 +08A0: actor 0@ in_radius 100.0 near_model 0 with_offset 0.0 0.0 0.0 end_script_named "OTBSLP" // IF and SET + +:OTBWTCH_1118 +end_thread +return + +:OTBWTCH_1122 +wait 0 +if and + not Actor.Dead(0@) + $PLAYER_IN_INTERIOR == 0 +else_jump @OTBWTCH_1192 +062E: get_actor 0@ task 1477 status_store_to 5@ // ret 7 if not found +if +04A4: 5@ == 7 // == constant +else_jump @OTBWTCH_1185 +05C5: AS_actor 0@ cower -2 ms + +:OTBWTCH_1185 +jump @OTBWTCH_1199 + +:OTBWTCH_1192 +gosub @OTBWTCH_1060 + +:OTBWTCH_1199 +jump @OTBWTCH_1122 +0663: printint "PEDSTATE" 3@ +0663: printint "SUBSTATESTATUS" 4@ +0663: printint "LOOP_TIMER" 33@ +0663: printint "SCRIPT_TIMER" 32@ +return +hex + E9 02 17 AB 90 +end + +//-------------External script 7 (PEDCARD)--------------- + +:PEDCARD +thread 'PEDCARD' +2@ = 0 +if + 2@ == 1 +else_jump @PEDCARD_82 +0@ = Actor.Create(CivFemale, 0, 0.0, 0.0, 0.0) +Actor.SetImmunities(0@, 1, 1, 1, 1, 1) +0350: set_actor 0@ maintain_position_when_attacked 1 + +:PEDCARD_82 +04ED: load_animation "CASINO" + +:PEDCARD_92 +if +84EE: not animation "CASINO" loaded +else_jump @PEDCARD_124 +wait 0 +jump @PEDCARD_92 + +:PEDCARD_124 +3@ = 1 +4@ = 0 + +:PEDCARD_138 +wait 0 +if and + not Actor.Dead(0@) + $PLAYER_IN_INTERIOR == 0 +else_jump @PEDCARD_251 +if +09C5: unknown_actor 0@ +else_jump @PEDCARD_237 +if + $9470 == 0 +else_jump @PEDCARD_213 +gosub @PEDCARD_265 +jump @PEDCARD_230 + +:PEDCARD_213 +060B: set_actor 0@ decision_maker_to 65542 +jump @PEDCARD_1359 + +:PEDCARD_230 +jump @PEDCARD_244 + +:PEDCARD_237 +gosub @PEDCARD_1345 + +:PEDCARD_244 +jump @PEDCARD_258 + +:PEDCARD_251 +gosub @PEDCARD_1345 + +:PEDCARD_258 +jump @PEDCARD_138 + +:PEDCARD_265 +0871: init_jump_table 3@ total_jumps 1 default_jump 0 @PEDCARD_342 jumps 1 @PEDCARD_328 -1 @PEDCARD_342 -1 @PEDCARD_342 -1 @PEDCARD_342 -1 @PEDCARD_342 -1 @PEDCARD_342 -1 @PEDCARD_342 + +:PEDCARD_328 +gosub @PEDCARD_344 +jump @PEDCARD_342 + +:PEDCARD_342 +return + +:PEDCARD_344 +0871: init_jump_table 4@ total_jumps 8 default_jump 0 @PEDCARD_1343 jumps 0 @PEDCARD_472 1 @PEDCARD_534 2 @PEDCARD_620 3 @PEDCARD_715 4 @PEDCARD_896 5 @PEDCARD_1001 6 @PEDCARD_1177 +0872: jump_table_jumps 7 @PEDCARD_1300 -1 @PEDCARD_1343 -1 @PEDCARD_1343 -1 @PEDCARD_1343 -1 @PEDCARD_1343 -1 @PEDCARD_1343 -1 @PEDCARD_1343 -1 @PEDCARD_1343 -1 @PEDCARD_1343 + +:PEDCARD_472 +0605: actor 0@ perform_animation "CARDS_IN" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +0947: actor 0@ speak_from_audio_table 93 store_spoken_phrase_id_to 2@ +4@ += 1 +jump @PEDCARD_1343 + +:PEDCARD_534 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDCARD_613 +0605: actor 0@ perform_animation "CARDS_PICK_01" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +4@ += 1 + +:PEDCARD_613 +jump @PEDCARD_1343 + +:PEDCARD_620 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDCARD_708 +0209: 2@ = random_int_in_ranges 8000 15000 +0605: actor 0@ perform_animation "CARDS_LOOP" IFP "CASINO" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 1 time 2@ +4@ += 1 + +:PEDCARD_708 +jump @PEDCARD_1343 + +:PEDCARD_715 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDCARD_889 +0209: 2@ = random_int_in_ranges 0 100 +if + 2@ > 50 +else_jump @PEDCARD_829 +0605: actor 0@ perform_animation "CARDS_RAISE" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +0947: actor 0@ speak_from_audio_table 98 store_spoken_phrase_id_to 2@ +jump @PEDCARD_882 + +:PEDCARD_829 +0605: actor 0@ perform_animation "CARDS_PICK_02" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +0947: actor 0@ speak_from_audio_table 93 store_spoken_phrase_id_to 2@ + +:PEDCARD_882 +4@ += 1 + +:PEDCARD_889 +jump @PEDCARD_1343 + +:PEDCARD_896 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDCARD_994 +0209: 2@ = random_int_in_ranges 1500 5000 +0605: actor 0@ perform_animation "CARDS_LOOP" IFP "CASINO" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 1 time 2@ +0947: actor 0@ speak_from_audio_table 95 store_spoken_phrase_id_to 2@ +4@ += 1 + +:PEDCARD_994 +jump @PEDCARD_1343 + +:PEDCARD_1001 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDCARD_1170 +0209: 2@ = random_int_in_ranges 0 100 +if + 2@ > 50 +else_jump @PEDCARD_1113 +0605: actor 0@ perform_animation "CARDS_WIN" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +0947: actor 0@ speak_from_audio_table 96 store_spoken_phrase_id_to 2@ +jump @PEDCARD_1163 + +:PEDCARD_1113 +0605: actor 0@ perform_animation "CARDS_LOSE" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +0947: actor 0@ speak_from_audio_table 94 store_spoken_phrase_id_to 2@ + +:PEDCARD_1163 +4@ += 1 + +:PEDCARD_1170 +jump @PEDCARD_1343 + +:PEDCARD_1177 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDCARD_1293 +0209: 2@ = random_int_in_ranges 0 100 +if + 2@ > 50 +else_jump @PEDCARD_1247 +4@ = 1 +jump @PEDCARD_1293 + +:PEDCARD_1247 +0605: actor 0@ perform_animation "CARDS_OUT" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +4@ += 1 + +:PEDCARD_1293 +jump @PEDCARD_1343 + +:PEDCARD_1300 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDCARD_1336 +gosub @PEDCARD_1345 + +:PEDCARD_1336 +jump @PEDCARD_1343 + +:PEDCARD_1343 +return + +:PEDCARD_1345 +04EF: release_animation "CASINO" +end_thread +return + +:PEDCARD_1359 +wait 0 +if and + not Actor.Dead(0@) + $PLAYER_IN_INTERIOR == 0 +else_jump @PEDCARD_1429 +062E: get_actor 0@ task 1477 status_store_to 5@ // ret 7 if not found +if +04A4: 5@ == 7 // == constant +else_jump @PEDCARD_1422 +05C5: AS_actor 0@ cower -2 ms + +:PEDCARD_1422 +jump @PEDCARD_1436 + +:PEDCARD_1429 +gosub @PEDCARD_1345 + +:PEDCARD_1436 +jump @PEDCARD_1359 +0663: printint "PEDSTATE" 3@ +0663: printint "SUBSTATESTATUS" 4@ +0663: printint "LOOP_TIMER" 33@ +0663: printint "SCRIPT_TIMER" 32@ +return +end_thread + +//-------------External script 8 (PEDROUL)--------------- + +:PEDROUL +thread 'PEDROUL' +2@ = 0 +if + 2@ == 1 +else_jump @PEDROUL_82 +0@ = Actor.Create(CivFemale, 0, 0.0, 0.0, 0.0) +Actor.SetImmunities(0@, 1, 1, 1, 1, 1) +0350: set_actor 0@ maintain_position_when_attacked 1 + +:PEDROUL_82 +04ED: load_animation "CASINO" + +:PEDROUL_92 +if +84EE: not animation "CASINO" loaded +else_jump @PEDROUL_124 +wait 0 +jump @PEDROUL_92 + +:PEDROUL_124 +3@ = 1 +4@ = 0 + +:PEDROUL_138 +wait 0 +if and + not Actor.Dead(0@) + $PLAYER_IN_INTERIOR == 0 +else_jump @PEDROUL_251 +if +09C5: unknown_actor 0@ +else_jump @PEDROUL_237 +if + $9470 == 0 +else_jump @PEDROUL_213 +gosub @PEDROUL_265 +jump @PEDROUL_230 + +:PEDROUL_213 +060B: set_actor 0@ decision_maker_to 65542 +jump @PEDROUL_1022 + +:PEDROUL_230 +jump @PEDROUL_244 + +:PEDROUL_237 +gosub @PEDROUL_1008 + +:PEDROUL_244 +jump @PEDROUL_258 + +:PEDROUL_251 +gosub @PEDROUL_1008 + +:PEDROUL_258 +jump @PEDROUL_138 + +:PEDROUL_265 +0871: init_jump_table 3@ total_jumps 1 default_jump 0 @PEDROUL_342 jumps 1 @PEDROUL_328 -1 @PEDROUL_342 -1 @PEDROUL_342 -1 @PEDROUL_342 -1 @PEDROUL_342 -1 @PEDROUL_342 -1 @PEDROUL_342 + +:PEDROUL_328 +gosub @PEDROUL_344 +jump @PEDROUL_342 + +:PEDROUL_342 +return + +:PEDROUL_344 +0871: init_jump_table 4@ total_jumps 6 default_jump 0 @PEDROUL_1006 jumps 0 @PEDROUL_407 1 @PEDROUL_462 2 @PEDROUL_557 3 @PEDROUL_655 4 @PEDROUL_837 5 @PEDROUL_963 -1 @PEDROUL_1006 + +:PEDROUL_407 +0605: actor 0@ perform_animation "ROULETTE_IN" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +4@ += 1 +jump @PEDROUL_1006 + +:PEDROUL_462 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDROUL_550 +0605: actor 0@ perform_animation "ROULETTE_BET" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +0947: actor 0@ speak_from_audio_table 103 store_spoken_phrase_id_to 2@ +4@ += 1 + +:PEDROUL_550 +jump @PEDROUL_1006 + +:PEDROUL_557 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDROUL_648 +0209: 2@ = random_int_in_ranges 8000 15000 +0605: actor 0@ perform_animation "ROULETTE_LOOP" IFP "CASINO" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 1 time 2@ +4@ += 1 + +:PEDROUL_648 +jump @PEDROUL_1006 + +:PEDROUL_655 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDROUL_830 +0209: 2@ = random_int_in_ranges 0 100 +if + 2@ > 50 +else_jump @PEDROUL_770 +0605: actor 0@ perform_animation "ROULETTE_WIN" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +0947: actor 0@ speak_from_audio_table 100 store_spoken_phrase_id_to 2@ +jump @PEDROUL_823 + +:PEDROUL_770 +0605: actor 0@ perform_animation "ROULETTE_LOSE" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +0947: actor 0@ speak_from_audio_table 101 store_spoken_phrase_id_to 2@ + +:PEDROUL_823 +4@ += 1 + +:PEDROUL_830 +jump @PEDROUL_1006 + +:PEDROUL_837 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDROUL_956 +0209: 2@ = random_int_in_ranges 0 100 +if + 2@ > 50 +else_jump @PEDROUL_907 +4@ = 1 +jump @PEDROUL_956 + +:PEDROUL_907 +0605: actor 0@ perform_animation "ROULETTE_OUT" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +4@ += 1 + +:PEDROUL_956 +jump @PEDROUL_1006 + +:PEDROUL_963 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDROUL_999 +gosub @PEDROUL_1008 + +:PEDROUL_999 +jump @PEDROUL_1006 + +:PEDROUL_1006 +return + +:PEDROUL_1008 +04EF: release_animation "CASINO" +end_thread +return + +:PEDROUL_1022 +wait 0 +if and + not Actor.Dead(0@) + $PLAYER_IN_INTERIOR == 0 +else_jump @PEDROUL_1092 +062E: get_actor 0@ task 1477 status_store_to 5@ // ret 7 if not found +if +04A4: 5@ == 7 // == constant +else_jump @PEDROUL_1085 +05C5: AS_actor 0@ cower -2 ms + +:PEDROUL_1085 +jump @PEDROUL_1099 + +:PEDROUL_1092 +gosub @PEDROUL_1008 + +:PEDROUL_1099 +jump @PEDROUL_1022 +0663: printint "PEDSTATE" 3@ +0663: printint "SUBSTATESTATUS" 4@ +0663: printint "LOOP_TIMER" 33@ +0663: printint "SCRIPT_TIMER" 32@ +return +end_thread + +//-------------External script 9 (PEDSLOT)--------------- + +:PEDSLOT +thread 'PEDSLOT' +2@ = 0 +if + 2@ == 1 +else_jump @PEDSLOT_82 +0@ = Actor.Create(CivFemale, 0, 0.0, 0.0, 0.0) +Actor.SetImmunities(0@, 1, 1, 1, 1, 1) +0350: set_actor 0@ maintain_position_when_attacked 1 + +:PEDSLOT_82 +04ED: load_animation "CASINO" + +:PEDSLOT_92 +if +84EE: not animation "CASINO" loaded +else_jump @PEDSLOT_124 +wait 0 +jump @PEDSLOT_92 + +:PEDSLOT_124 +3@ = 1 +4@ = 0 + +:PEDSLOT_138 +wait 0 +if and + not Actor.Dead(0@) + $PLAYER_IN_INTERIOR == 0 +else_jump @PEDSLOT_251 +if +09C5: unknown_actor 0@ +else_jump @PEDSLOT_237 +if + $9470 == 0 +else_jump @PEDSLOT_213 +gosub @PEDSLOT_265 +jump @PEDSLOT_230 + +:PEDSLOT_213 +060B: set_actor 0@ decision_maker_to 65542 +jump @PEDSLOT_1066 + +:PEDSLOT_230 +jump @PEDSLOT_244 + +:PEDSLOT_237 +gosub @PEDSLOT_1052 + +:PEDSLOT_244 +jump @PEDSLOT_258 + +:PEDSLOT_251 +gosub @PEDSLOT_1052 + +:PEDSLOT_258 +jump @PEDSLOT_138 + +:PEDSLOT_265 +0871: init_jump_table 3@ total_jumps 1 default_jump 0 @PEDSLOT_342 jumps 1 @PEDSLOT_328 -1 @PEDSLOT_342 -1 @PEDSLOT_342 -1 @PEDSLOT_342 -1 @PEDSLOT_342 -1 @PEDSLOT_342 -1 @PEDSLOT_342 + +:PEDSLOT_328 +gosub @PEDSLOT_344 +jump @PEDSLOT_342 + +:PEDSLOT_342 +return + +:PEDSLOT_344 +0871: init_jump_table 4@ total_jumps 6 default_jump 0 @PEDSLOT_1050 jumps 0 @PEDSLOT_407 1 @PEDSLOT_458 2 @PEDSLOT_543 3 @PEDSLOT_637 4 @PEDSLOT_794 5 @PEDSLOT_966 -1 @PEDSLOT_1050 + +:PEDSLOT_407 +0605: actor 0@ perform_animation "SLOT_IN" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +4@ += 1 +jump @PEDSLOT_1050 + +:PEDSLOT_458 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDSLOT_536 +0605: actor 0@ perform_animation "SLOT_BET_01" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time 2@ +4@ += 1 + +:PEDSLOT_536 +jump @PEDSLOT_1050 + +:PEDSLOT_543 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDSLOT_630 +0209: 2@ = random_int_in_ranges 1500 5000 +0605: actor 0@ perform_animation "SLOT_WAIT" IFP "CASINO" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 1 time 2@ +4@ += 1 + +:PEDSLOT_630 +jump @PEDSLOT_1050 + +:PEDSLOT_637 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDSLOT_787 +0209: 2@ = random_int_in_ranges 0 100 +if + 2@ > 50 +else_jump @PEDSLOT_741 +0605: actor 0@ perform_animation "SLOT_BET_02" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +jump @PEDSLOT_780 + +:PEDSLOT_741 +0605: actor 0@ perform_animation "SLOT_WAIT" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 + +:PEDSLOT_780 +4@ += 1 + +:PEDSLOT_787 +jump @PEDSLOT_1050 + +:PEDSLOT_794 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDSLOT_959 +0209: 2@ = random_int_in_ranges 0 100 +if + 2@ > 50 +else_jump @PEDSLOT_909 +0605: actor 0@ perform_animation "SLOT_WIN_OUT" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +0947: actor 0@ speak_from_audio_table 104 store_spoken_phrase_id_to 2@ +jump @PEDSLOT_952 + +:PEDSLOT_909 +0605: actor 0@ perform_animation "SLOT_LOSE_OUT" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 + +:PEDSLOT_952 +4@ += 1 + +:PEDSLOT_959 +jump @PEDSLOT_1050 + +:PEDSLOT_966 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @PEDSLOT_1043 +0209: 2@ = random_int_in_ranges 0 100 +if + 2@ > 50 +else_jump @PEDSLOT_1036 +4@ = 0 +jump @PEDSLOT_1043 + +:PEDSLOT_1036 +gosub @PEDSLOT_1052 + +:PEDSLOT_1043 +jump @PEDSLOT_1050 + +:PEDSLOT_1050 +return + +:PEDSLOT_1052 +04EF: release_animation "CASINO" +end_thread +return + +:PEDSLOT_1066 +wait 0 +if and + not Actor.Dead(0@) + $PLAYER_IN_INTERIOR == 0 +else_jump @PEDSLOT_1136 +062E: get_actor 0@ task 1477 status_store_to 5@ // ret 7 if not found +if +04A4: 5@ == 7 // == constant +else_jump @PEDSLOT_1129 +05C5: AS_actor 0@ cower -2 ms + +:PEDSLOT_1129 +jump @PEDSLOT_1143 + +:PEDSLOT_1136 +gosub @PEDSLOT_1052 + +:PEDSLOT_1143 +jump @PEDSLOT_1066 +0663: printint "PEDSTATE" 3@ +0663: printint "SUBSTATESTATUS" 4@ +0663: printint "LOOP_TIMER" 33@ +0663: printint "SCRIPT_TIMER" 32@ +return + +//-------------External script 10 (PLAYER_PARACHUTE)--------------- + +:PLCHUTE +thread 'PLCHUTE' +Model.Load(371) + +:PLCHUTE_16 +if + not Model.Available(371) +else_jump @PLCHUTE_43 +wait 0 +jump @PLCHUTE_16 + +:PLCHUTE_43 +if + not Actor.Dead($PLAYER_ACTOR) +else_jump @PLCHUTE_59 + +:PLCHUTE_59 +$1498 = 0 +$FREEFALL_STAGE = 0 +$PARACHUTE_CREATION_STAGE = 0 +if + $1498 == 999 +else_jump @PLCHUTE_118 +$PICKUP_PARACHUTE = Pickup.Create(371, 3, $TEMPVAR_X_COORD, $TEMPVAR_Y_COORD, $TEMPVAR_Z_COORD) + +:PLCHUTE_118 +wait 0 +if + not Actor.Dead($PLAYER_ACTOR) +else_jump @PLCHUTE_5671 +if +8800: not in_two_players_mode +else_jump @PLCHUTE_5671 +if + not $FREEFALL_STAGE == 0 +else_jump @PLCHUTE_176 +0992: set_player $PLAYER_CHAR weapons_scrollable 0 + +:PLCHUTE_176 +if + $PARACHUTE_CREATION_STAGE > 0 +else_jump @PLCHUTE_219 +if + not Actor.HasWeapon($PLAYER_ACTOR, 46) +else_jump @PLCHUTE_219 +gosub @PLCHUTE_5736 + +:PLCHUTE_219 +if + $PARACHUTE_CREATION_STAGE == 0 +else_jump @PLCHUTE_273 +if + Actor.HasWeapon($PLAYER_ACTOR, 46) +else_jump @PLCHUTE_273 +Model.Load(#PARACHUTE) +$PARACHUTE_CREATION_STAGE = 1 +$1498 = 0 + +:PLCHUTE_273 +if + $PARACHUTE_CREATION_STAGE == 1 +else_jump @PLCHUTE_374 +if + Model.Available(#PARACHUTE) +else_jump @PLCHUTE_374 +17@ = Object.Create(#PARACHUTE, $TEMPVAR_X_COORD, $TEMPVAR_Y_COORD, $TEMPVAR_Z_COORD) +069B: attach_object 17@ to_actor $PLAYER_ACTOR with_offset 0.0 0.0 0.0 rotation 0.0 0.0 0.0 +0750: set_object 17@ visibility 0 +$PARACHUTE_CREATION_STAGE = 2 + +:PLCHUTE_374 +if and + $PARACHUTE_CREATION_STAGE == 2 + $FREEFALL_STAGE == 1 +else_jump @PLCHUTE_406 +$PARACHUTE_CREATION_STAGE = 3 + +:PLCHUTE_406 +if and + $FREEFALL_STAGE == 0 + $PARACHUTE_CREATION_STAGE > 0 +else_jump @PLCHUTE_562 +if +0818: actor $PLAYER_ACTOR in_air +else_jump @PLCHUTE_562 +083D: get_actor $PLAYER_ACTOR velocity_in_direction_XYZ $1507 $1508 $1509 +if + -10.0 > $1509 +else_jump @PLCHUTE_562 +0819: 7@ = actor $PLAYER_ACTOR distance_from_ground +if + 7@ > 20.0 +else_jump @PLCHUTE_562 +097A: play_audio_at -1000.0 -1000.0 -1000.0 event 1037 +$FREEFALL_STAGE = 1 +01B9: set_actor $PLAYER_ACTOR armed_weapon_to 46 +0@ = 0 +$8268 = 0.0 + +:PLCHUTE_562 +if + $FREEFALL_STAGE == 1 +else_jump @PLCHUTE_2483 +if + 0@ == 0 +else_jump @PLCHUTE_605 +0@ = 2 + +:PLCHUTE_605 +if + 0@ == 2 +else_jump @PLCHUTE_736 +062E: get_actor $PLAYER_ACTOR task 2066 status_store_to 27@ // ret 7 if not found +if +04A4: 27@ == 7 // == constant +else_jump @PLCHUTE_736 +0812: AS_actor $PLAYER_ACTOR perform_animation "FALL_SKYDIVE" IFP "PED" framedelta 1.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1 // versionB +09C6: 22 0 0 0 +04ED: load_animation "PARACHUTE" +15@ = 1 +1@ = Actor.Angle($PLAYER_ACTOR) +0@ = 3 + +:PLCHUTE_736 +if + 0@ == 3 +else_jump @PLCHUTE_2483 +062E: get_actor $PLAYER_ACTOR task 2066 status_store_to 27@ // ret 7 if not found +if +04A4: 27@ == 7 // == constant +else_jump @PLCHUTE_832 +0812: AS_actor $PLAYER_ACTOR perform_animation "FALL_SKYDIVE" IFP "PED" framedelta 1.0 loopA 1 lockX 0 lockY 0 lockF 0 time -1 // versionB +09C6: 22 0 0 0 + +:PLCHUTE_832 +0819: 7@ = actor $PLAYER_ACTOR distance_from_ground +if and + 100.0 > 7@ + 7@ > 60.0 +else_jump @PLCHUTE_929 +if +04EE: animation "PARACHUTE" loaded +else_jump @PLCHUTE_929 +if + $ONMISSION == 0 +else_jump @PLCHUTE_929 +00BC: show_text_highpriority GXT 'PARA_01' time 1000 flag 1 + +:PLCHUTE_929 +0494: get_joystick 0 direction_offset_to 10@ 11@ 12@ 12@ +if + $1511 == 1 +else_jump @PLCHUTE_977 +10@ = 0 +11@ = 0 + +:PLCHUTE_977 +0093: 21@ = integer 10@ to_float +21@ /= 4.267 +0063: 21@ -= 2@ // (float) +21@ /= 20.0 +005B: 2@ += 21@ // (float) +0087: 21@ = 2@ // (float) +21@ /= 5.0 +0063: 1@ -= 21@ // (float) +if + 1@ > 180.0 +else_jump @PLCHUTE_1078 +1@ -= 360.0 + +:PLCHUTE_1078 +if + -180.0 > 1@ +else_jump @PLCHUTE_1109 +1@ += 360.0 + +:PLCHUTE_1109 +0093: 22@ = integer 11@ to_float +22@ /= 4.267 +0063: 22@ -= 3@ // (float) +22@ /= 20.0 +005B: 3@ += 22@ // (float) +083D: get_actor $PLAYER_ACTOR velocity_in_direction_XYZ 8@ 9@ $1509 +if +0024: $1504 > $1509 // (float) +else_jump @PLCHUTE_1194 +0086: $1509 = $1504 // (float) + +:PLCHUTE_1194 +if +0024: $8268 > $1509 // (float) +else_jump @PLCHUTE_1221 +0086: $8268 = $1509 // (float) + +:PLCHUTE_1221 +if +0024: $1504 > $8268 // (float) +else_jump @PLCHUTE_1248 +0086: $8268 = $1504 // (float) + +:PLCHUTE_1248 +if and +0024: $1509 > $8268 // (float) + not $1902 == 1 +else_jump @PLCHUTE_1444 +if +84AD: not actor $PLAYER_ACTOR in_water +else_jump @PLCHUTE_1388 +if + -20.0 > $8268 +else_jump @PLCHUTE_1325 +$FREEFALL_STAGE = 2 +jump @PLCHUTE_1381 + +:PLCHUTE_1325 +0812: AS_actor $PLAYER_ACTOR perform_animation "FALL_SKYDIVE" IFP "PED" framedelta 1.0 loopA 1 lockX 0 lockY 0 lockF 0 time 100 // versionB +09C6: 22 0 0 0 +$FREEFALL_STAGE = 7 + +:PLCHUTE_1381 +jump @PLCHUTE_1444 + +:PLCHUTE_1388 +0812: AS_actor $PLAYER_ACTOR perform_animation "FALL_SKYDIVE" IFP "PED" framedelta 1.0 loopA 1 lockX 0 lockY 0 lockF 0 time 100 // versionB +09C6: 22 0 0 0 +$FREEFALL_STAGE = 7 + +:PLCHUTE_1444 +0087: 4@ = 3@ // (float) +4@ /= 30.0 +006F: 4@ *= $1505 // (float) +02F6: $1507 = sine 1@ // (float) +02F7: $1508 = cosine 1@ // (float) +006D: $1507 *= 4@ // (float) +006D: $1508 *= 4@ // (float) +$1508 *= -1.0 +0059: $1508 += $1506 // (float) +0087: 21@ = 8@ // (float) +0065: 21@ -= $1507 // (float) +21@ *= 0.01 +0088: $1507 = 8@ // (float) +0067: $1507 -= 21@ // (float) +0087: 21@ = 9@ // (float) +0065: 21@ -= $1508 // (float) +21@ *= 0.01 +0088: $1508 = 9@ // (float) +0067: $1508 -= 21@ // (float) +0085: 12@ = 10@ // (int) +0085: 13@ = 11@ // (int) +0095: make 12@ absolute_integer +0095: make 13@ absolute_integer +if or + 12@ > 40 + 13@ > 40 +else_jump @PLCHUTE_2186 +if +001D: 12@ > 13@ // (int) +else_jump @PLCHUTE_1929 +if + 10@ >= 0 +else_jump @PLCHUTE_1798 +if + not 15@ == 2 +else_jump @PLCHUTE_1798 +if +04EE: animation "PARACHUTE" loaded +else_jump @PLCHUTE_1791 +0812: AS_actor $PLAYER_ACTOR perform_animation "FALL_SKYDIVE_R" IFP "PARACHUTE" framedelta 1.0 loopA 1 lockX 0 lockY 0 lockF 1 time -2 // versionB +09C6: 26 0 0 0 + +:PLCHUTE_1791 +15@ = 2 + +:PLCHUTE_1798 +if + 0 > 10@ +else_jump @PLCHUTE_1922 +if + not 15@ == 3 +else_jump @PLCHUTE_1922 +if +04EE: animation "PARACHUTE" loaded +else_jump @PLCHUTE_1915 +0812: AS_actor $PLAYER_ACTOR perform_animation "FALL_SKYDIVE_L" IFP "PARACHUTE" framedelta 1.0 loopA 1 lockX 0 lockY 0 lockF 1 time -2 // versionB +09C6: 27 0 0 0 + +:PLCHUTE_1915 +15@ = 3 + +:PLCHUTE_1922 +jump @PLCHUTE_2179 + +:PLCHUTE_1929 +if + 11@ >= 0 +else_jump @PLCHUTE_2051 +if + not 15@ == 4 +else_jump @PLCHUTE_2051 +if +04EE: animation "PARACHUTE" loaded +else_jump @PLCHUTE_2044 +0812: AS_actor $PLAYER_ACTOR perform_animation "FALL_SKYDIVE" IFP "PARACHUTE" framedelta 1.0 loopA 1 lockX 0 lockY 0 lockF 1 time -2 // versionB +09C6: 22 0 0 0 + +:PLCHUTE_2044 +15@ = 4 + +:PLCHUTE_2051 +if + 0 > 11@ +else_jump @PLCHUTE_2179 +if + not 15@ == 5 +else_jump @PLCHUTE_2179 +if +04EE: animation "PARACHUTE" loaded +else_jump @PLCHUTE_2172 +0812: AS_actor $PLAYER_ACTOR perform_animation "FALL_SKYDIVE_ACCEL" IFP "PARACHUTE" framedelta 1.0 loopA 1 lockX 0 lockY 0 lockF 1 time -2 // versionB +09C6: 29 0 0 0 + +:PLCHUTE_2172 +15@ = 5 + +:PLCHUTE_2179 +jump @PLCHUTE_2290 + +:PLCHUTE_2186 +if + not 15@ == 1 +else_jump @PLCHUTE_2290 +if +04EE: animation "PARACHUTE" loaded +else_jump @PLCHUTE_2290 +0812: AS_actor $PLAYER_ACTOR perform_animation "FALL_SKYDIVE" IFP "PARACHUTE" framedelta 1.0 loopA 1 lockX 0 lockY 0 lockF 1 time -2 // versionB +09C6: 22 0 0 0 +15@ = 1 + +:PLCHUTE_2290 +if or +00E1: player 0 pressed_key 17 + $1512 == 1 +else_jump @PLCHUTE_2483 +if + not $1902 == 1 +else_jump @PLCHUTE_2483 +if +04EE: animation "PARACHUTE" loaded +else_jump @PLCHUTE_2483 +if and + $PARACHUTE_CREATION_STAGE == 3 + $1511 == 0 +else_jump @PLCHUTE_2483 +0812: AS_actor $PLAYER_ACTOR perform_animation "PARA_OPEN" IFP "PARACHUTE" framedelta 8.0 loopA 0 lockX 0 lockY 0 lockF 1 time -2 // versionB +09C6: 31 0 0 0 +097A: play_audio_at -1000.0 -1000.0 -1000.0 event 1038 +008A: $8270 = 32@ // (int) +$8270 += 1100 +$FREEFALL_STAGE = 3 +0@ = 0 + +:PLCHUTE_2483 +if + $FREEFALL_STAGE == 2 +else_jump @PLCHUTE_2611 +if +04EE: animation "PARACHUTE" loaded +else_jump @PLCHUTE_2599 +Actor.Angle($PLAYER_ACTOR) = 1@ +0829: actor $PLAYER_ACTOR perform_animation "FALL_SKYDIVE_DIE" IFP_file "PARACHUTE" 1000.0 time 0 and_dies +09C6: 32 0 0 0 +09F1: play_audio_at_actor $PLAYER_ACTOR event 1189 +jump @PLCHUTE_2604 + +:PLCHUTE_2599 +05BE: AS_actor $PLAYER_ACTOR die + +:PLCHUTE_2604 +gosub @PLCHUTE_5736 + +:PLCHUTE_2611 +if + $FREEFALL_STAGE == 3 +else_jump @PLCHUTE_4967 +if + $8270 > 0 +else_jump @PLCHUTE_2693 +if +001F: 32@ > $8270 // (int) +else_jump @PLCHUTE_2693 +097A: play_audio_at -1000.0 -1000.0 -1000.0 event 1039 +$8270 = 0 + +:PLCHUTE_2693 +if + 0@ == 0 +else_jump @PLCHUTE_2796 +0087: 25@ = 3@ // (float) +25@ /= 500.0 +0087: 26@ = 2@ // (float) +26@ /= 500.0 +0085: 18@ = 32@ // (int) +0085: 19@ = 32@ // (int) +0087: 5@ = 4@ // (float) +5@ *= -1.0 +0089: 6@ = $1509 // (float) +0@ = 1 + +:PLCHUTE_2796 +if + 0@ == 1 +else_jump @PLCHUTE_2963 +0085: 10@ = 32@ // (int) +0062: 10@ -= 19@ // (int) +if + 500 > 10@ +else_jump @PLCHUTE_2936 +0085: 10@ = 32@ // (int) +0062: 10@ -= 18@ // (int) +0085: 18@ = 32@ // (int) +0093: 21@ = integer 10@ to_float +0087: 22@ = 25@ // (float) +006B: 22@ *= 21@ // (float) +0087: 23@ = 26@ // (float) +006B: 23@ *= 21@ // (float) +0063: 3@ -= 22@ // (float) +0063: 2@ -= 23@ // (float) +jump @PLCHUTE_2963 + +:PLCHUTE_2936 +2@ = 0.0 +3@ = 0.0 +0@ = 2 + +:PLCHUTE_2963 +if + 0@ == 2 +else_jump @PLCHUTE_3081 +if +03CA: object 17@ exists +else_jump @PLCHUTE_3081 +0750: set_object 17@ visibility 1 +08D2: object 17@ scale_model 0.0 +0085: 19@ = 32@ // (int) +wait 0 +075A: set_object 17@ animation "PARA_OPEN_O" IFP_file "PARACHUTE" 1000.0 lockF 0 loop 1 // IF AND SET +09C6: 33 0 0 0 +0@ = 3 + +:PLCHUTE_3081 +if + 0@ == 3 +else_jump @PLCHUTE_3184 +0085: 10@ = 32@ // (int) +0062: 10@ -= 19@ // (int) +if + 500 > 10@ +else_jump @PLCHUTE_3167 +0093: 21@ = integer 10@ to_float +21@ /= 500.0 +08D2: object 17@ scale_model 21@ +jump @PLCHUTE_3184 + +:PLCHUTE_3167 +08D2: object 17@ scale_model 1.0 +0@ = 4 + +:PLCHUTE_3184 +if + 0@ == 5 +else_jump @PLCHUTE_3252 +20@ = Object.Create(#PARA_COLLISION, 0.0, 0.0, 0.0) +0750: set_object 20@ visibility 0 +Object.ToggleInMovingList(20@) = True +04D9: object 20@ set_scripted_collision_check 1 +0@ = 6 + +:PLCHUTE_3252 +if + 0@ == 6 +else_jump @PLCHUTE_4530 +0494: get_joystick 0 direction_offset_to 10@ 11@ 12@ 12@ +if + $1511 == 1 +else_jump @PLCHUTE_3318 +10@ = 0 +11@ = 0 + +:PLCHUTE_3318 +0093: 21@ = integer 10@ to_float +21@ /= 4.267 +0063: 21@ -= 2@ // (float) +21@ /= 20.0 +005B: 2@ += 21@ // (float) +0087: 21@ = 2@ // (float) +21@ /= 15.0 +0063: 1@ -= 21@ // (float) +if + 1@ > 180.0 +else_jump @PLCHUTE_3419 +1@ -= 360.0 + +:PLCHUTE_3419 +if + -180.0 > 1@ +else_jump @PLCHUTE_3450 +1@ += 360.0 + +:PLCHUTE_3450 +02F6: $1507 = sine 1@ // (float) +02F7: $1508 = cosine 1@ // (float) +0069: $1507 *= $1500 // (float) +0069: $1508 *= $1500 // (float) +$1507 *= -1.0 +0085: 12@ = 10@ // (int) +0085: 13@ = 11@ // (int) +0095: make 12@ absolute_integer +0095: make 13@ absolute_integer +if or + 12@ > 40 + 13@ > 40 +else_jump @PLCHUTE_4222 +if +001D: 12@ > 13@ // (int) +else_jump @PLCHUTE_3877 +0089: 21@ = $1501 // (float) +0065: 21@ -= $1509 // (float) +21@ /= 20.0 +005F: $1509 += 21@ // (float) +if + 10@ >= 0 +else_jump @PLCHUTE_3733 +if + not 15@ == 2 +else_jump @PLCHUTE_3733 +0812: AS_actor $PLAYER_ACTOR perform_animation "PARA_STEERR" IFP "PARACHUTE" framedelta 1.0 loopA 1 lockX 0 lockY 0 lockF 1 time -2 // versionB +075A: set_object 17@ animation "PARA_STEERR_O" IFP_file "PARACHUTE" 1.0 lockF 1 loop 1 // IF AND SET +09C6: 34 0 0 0 +15@ = 2 + +:PLCHUTE_3733 +if + 0 > 10@ +else_jump @PLCHUTE_3870 +if + not 15@ == 3 +else_jump @PLCHUTE_3870 +0812: AS_actor $PLAYER_ACTOR perform_animation "PARA_STEERL" IFP "PARACHUTE" framedelta 1.0 loopA 1 lockX 0 lockY 0 lockF 1 time -2 // versionB +075A: set_object 17@ animation "PARA_STEERL_O" IFP_file "PARACHUTE" 1.0 lockF 1 loop 1 // IF AND SET +09C6: 35 0 0 0 +15@ = 3 + +:PLCHUTE_3870 +jump @PLCHUTE_4215 + +:PLCHUTE_3877 +if + 11@ >= 0 +else_jump @PLCHUTE_4046 +0089: 21@ = $1503 // (float) +0065: 21@ -= $1509 // (float) +21@ /= 20.0 +005F: $1509 += 21@ // (float) +if + not 15@ == 4 +else_jump @PLCHUTE_4046 +0812: AS_actor $PLAYER_ACTOR perform_animation "PARA_DECEL" IFP "PARACHUTE" framedelta 1.0 loopA 1 lockX 0 lockY 0 lockF 1 time -2 // versionB +075A: set_object 17@ animation "PARA_DECEL_O" IFP_file "PARACHUTE" 1.0 lockF 1 loop 1 // IF AND SET +09C6: 36 0 0 0 +15@ = 4 + +:PLCHUTE_4046 +if + 0 > 11@ +else_jump @PLCHUTE_4215 +0089: 21@ = $1501 // (float) +0065: 21@ -= $1509 // (float) +21@ /= 20.0 +005F: $1509 += 21@ // (float) +if + not 15@ == 5 +else_jump @PLCHUTE_4215 +0812: AS_actor $PLAYER_ACTOR perform_animation "PARA_FLOAT" IFP "PARACHUTE" framedelta 1.0 loopA 1 lockX 0 lockY 0 lockF 1 time -2 // versionB +075A: set_object 17@ animation "PARA_FLOAT_O" IFP_file "PARACHUTE" 1.0 lockF 1 loop 1 // IF AND SET +09C6: 37 0 0 0 +15@ = 5 + +:PLCHUTE_4215 +jump @PLCHUTE_4391 + +:PLCHUTE_4222 +0089: 21@ = $1501 // (float) +0065: 21@ -= $1509 // (float) +21@ /= 20.0 +005F: $1509 += 21@ // (float) +if + not 15@ == 5 +else_jump @PLCHUTE_4391 +if + not 15@ == 1 +else_jump @PLCHUTE_4391 +0812: AS_actor $PLAYER_ACTOR perform_animation "PARA_FLOAT" IFP "PARACHUTE" framedelta 1.0 loopA 1 lockX 0 lockY 0 lockF 1 time -2 // versionB +075A: set_object 17@ animation "PARA_FLOAT_O" IFP_file "PARACHUTE" 1.0 lockF 1 loop 1 // IF AND SET +09C6: 38 0 0 0 +15@ = 1 + +:PLCHUTE_4391 +Object.StorePos(17@, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0815: put_object 20@ at $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 and_keep_rotation +if +04DA: has_object 20@ collided +else_jump @PLCHUTE_4494 +075A: set_object 17@ animation "PARA_RIP_LOOP_O" IFP_file "PARACHUTE" 8.0 lockF 1 loop 1 // IF AND SET +09C6: 39 0 0 0 +0@ = 7 + +:PLCHUTE_4494 +if +00E1: player 0 pressed_key 15 +else_jump @PLCHUTE_4530 +0792: disembark_instantly_actor $PLAYER_ACTOR +$FREEFALL_STAGE = 6 +$1498 = 3 + +:PLCHUTE_4530 +if +03CA: object 17@ exists +else_jump @PLCHUTE_4769 +if +0837: object 17@ animation == "PARA_OPEN_O" +else_jump @PLCHUTE_4769 +0839: get_object 17@ animation "PARA_OPEN_O" progress_to 21@ +0087: 22@ = 6@ // (float) +0065: 22@ -= $1501 // (float) +0087: 23@ = 22@ // (float) +006B: 23@ *= 21@ // (float) +0088: $1509 = 6@ // (float) +0067: $1509 -= 23@ // (float) +0087: 22@ = 5@ // (float) +0065: 22@ -= $1500 // (float) +0087: 23@ = 22@ // (float) +006B: 23@ *= 21@ // (float) +0087: 4@ = 5@ // (float) +0063: 4@ -= 23@ // (float) +02F6: $1507 = sine 1@ // (float) +02F7: $1508 = cosine 1@ // (float) +006D: $1507 *= 4@ // (float) +006D: $1508 *= 4@ // (float) +$1507 *= -1.0 +if and + 21@ == 1.0 + 0@ == 4 +else_jump @PLCHUTE_4769 +0@ = 5 + +:PLCHUTE_4769 +if + not Actor.Dead($PLAYER_ACTOR) +else_jump @PLCHUTE_4967 +if +04AD: actor $PLAYER_ACTOR in_water +else_jump @PLCHUTE_4918 +0812: AS_actor $PLAYER_ACTOR perform_animation "PARA_LAND_WATER" IFP "PARACHUTE" framedelta 8.0 loopA 1 lockX 1 lockY 0 lockF 0 time 1000 // versionB +075A: set_object 17@ animation "PARA_LAND_WATER_O" IFP_file "PARACHUTE" 1000.0 lockF 0 loop 1 // IF AND SET +09C6: 40 0 0 0 +$FREEFALL_STAGE = 5 +0@ = 0 + +:PLCHUTE_4918 +083D: get_actor $PLAYER_ACTOR velocity_in_direction_XYZ 21@ 21@ 23@ +if + 23@ > -0.1 +else_jump @PLCHUTE_4967 +$FREEFALL_STAGE = 4 +0@ = 0 + +:PLCHUTE_4967 +if + $FREEFALL_STAGE == 4 +else_jump @PLCHUTE_5487 +if + 0@ == 0 +else_jump @PLCHUTE_5384 +$1498 = 1 +Actor.StorePos($PLAYER_ACTOR, $TEMPVAR_X_COORD, $TEMPVAR_Y_COORD, $TEMPVAR_Z_COORD) +$TEMPVAR_Z_COORD -= 1.0 +Actor.PutAt($PLAYER_ACTOR, $TEMPVAR_X_COORD, $TEMPVAR_Y_COORD, $TEMPVAR_Z_COORD) +083E: set_actor $PLAYER_ACTOR rotation 0.0 0.0 1@ while_in_air +if + -10.0 > $1509 +else_jump @PLCHUTE_5108 +$FREEFALL_STAGE = 2 +0@ = 0 +jump @PLCHUTE_5298 + +:PLCHUTE_5108 +if + -4.0 > $1509 +else_jump @PLCHUTE_5243 +0615: define_AS_pack_begin 14@ +0812: AS_actor -1 perform_animation "FALL_FRONT" IFP "PED" framedelta 20.0 loopA 0 lockX 0 lockY 0 lockF 1 time 700 // versionB +0812: AS_actor -1 perform_animation "GETUP_FRONT" IFP "PED" framedelta 8.0 loopA 0 lockX 1 lockY 0 lockF 0 time -2 // versionB +09C6: 41 0 0 0 +0616: define_AS_pack_end 14@ +0618: assign_actor $PLAYER_ACTOR to_AS_pack 14@ +061B: remove_references_to_AS_pack 14@ +jump @PLCHUTE_5291 + +:PLCHUTE_5243 +0812: AS_actor $PLAYER_ACTOR perform_animation "RUN_PLAYER" IFP "PED" framedelta 8.0 loopA 1 lockX 1 lockY 0 lockF 0 time 1000 // versionB +09C6: 42 0 0 0 + +:PLCHUTE_5291 +0@ = 1 + +:PLCHUTE_5298 +075A: set_object 17@ animation "PARA_LAND_O" IFP_file "PARACHUTE" 1000.0 lockF 0 loop 1 // IF AND SET +09C6: 43 0 0 0 +0682: detach_object 17@ 0.0 0.0 0.0 collision_detection 0 +0085: 18@ = 32@ // (int) +18@ += 1000 + +:PLCHUTE_5384 +if + 0@ == 1 +else_jump @PLCHUTE_5487 +if +0837: object 17@ animation == "PARA_LAND_O" +else_jump @PLCHUTE_5487 +0839: get_object 17@ animation "PARA_LAND_O" progress_to 21@ +if + 21@ == 1.0 +else_jump @PLCHUTE_5487 +$1498 = 2 +gosub @PLCHUTE_5736 + +:PLCHUTE_5487 +if + $FREEFALL_STAGE == 5 +else_jump @PLCHUTE_5544 +$1498 = 1 +if + 0@ == 0 +else_jump @PLCHUTE_5544 +$1498 = 2 +gosub @PLCHUTE_5736 + +:PLCHUTE_5544 +if and + $FREEFALL_STAGE > 0 + 4 > $FREEFALL_STAGE +else_jump @PLCHUTE_5621 +if + not Actor.Dead($PLAYER_ACTOR) +else_jump @PLCHUTE_5621 +083C: set_actor $PLAYER_ACTOR velocity_in_direction_XYZ $1507 $1508 $1509 +Actor.Angle($PLAYER_ACTOR) = 1@ +083E: set_actor $PLAYER_ACTOR rotation 3@ 2@ 1@ while_in_air + +:PLCHUTE_5621 +if + $FREEFALL_STAGE == 6 +else_jump @PLCHUTE_5646 +gosub @PLCHUTE_5736 + +:PLCHUTE_5646 +if + $FREEFALL_STAGE == 7 +else_jump @PLCHUTE_5671 +gosub @PLCHUTE_5678 + +:PLCHUTE_5671 +jump @PLCHUTE_118 + +:PLCHUTE_5678 +$FREEFALL_STAGE = 0 +0@ = 0 +Model.Destroy(#PARACHUTE) +04EF: release_animation "PARACHUTE" +083E: set_actor $PLAYER_ACTOR rotation 0.0 0.0 1@ while_in_air +0992: set_player $PLAYER_CHAR weapons_scrollable 1 +return + +:PLCHUTE_5736 +0682: detach_object 17@ 0.0 0.0 0.0 collision_detection 0 +09A2: destroy_object_with_fade 17@ +Object.Destroy(20@) +0555: remove_weapon 46 from_actor $PLAYER_ACTOR +$FREEFALL_STAGE = 0 +$PARACHUTE_CREATION_STAGE = 0 +0@ = 0 +Model.Destroy(#PARACHUTE) +04EF: release_animation "PARACHUTE" +Model.Destroy(371) +083E: set_actor $PLAYER_ACTOR rotation 0.0 0.0 1@ while_in_air +0992: set_player $PLAYER_CHAR weapons_scrollable 1 +end_thread + +//-------------External script 11 (ROULETTE)--------------- + +:ROULETE +thread 'ROULETE' +1@ = 0 +if + 1@ == 1 +else_jump @ROULETE_89 +0@ = Object.Init(#ROULETTE_TBL, 0.0, 0.0, 0.0) +$ROULETE_CHIPS($8549,151i) = Object.Init(#CHIP_STACK07, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0662: printstring "AAAAAAA" + +:ROULETE_89 +4@ = 0 +5@ = 0 +8@ = 0 +9@ = 0 +7@ = 0 +10@ = 500 +11@ = 500 +12@ = 0 +13@ = 0 +14@ = 0 +15@ = 0 +0653: 16@ = float_stat 81 +0209: 18@ = random_int_in_ranges 0 19 +$1523 += 1 +if + 1.0 > 16@ +else_jump @ROULETE_251 +if or + $1523 == 1 + $1523 == 5 +else_jump @ROULETE_244 +18@ = 0 + +:ROULETE_244 +jump @ROULETE_463 + +:ROULETE_251 +if + 10.0 > 16@ +else_jump @ROULETE_311 +if or + $1523 == 1 + $1523 == 5 +else_jump @ROULETE_304 +18@ = 5 + +:ROULETE_304 +jump @ROULETE_463 + +:ROULETE_311 +if + 100.0 > 16@ +else_jump @ROULETE_371 +if or + $1523 == 1 + $1523 == 5 +else_jump @ROULETE_364 +18@ = 10 + +:ROULETE_364 +jump @ROULETE_463 + +:ROULETE_371 +if + 1000.0 > 16@ +else_jump @ROULETE_431 +if or + $1523 == 1 + $1523 == 5 +else_jump @ROULETE_424 +18@ = 14 + +:ROULETE_424 +jump @ROULETE_463 + +:ROULETE_431 +if or + $1523 == 1 + $1523 == 5 +else_jump @ROULETE_463 +18@ = 17 + +:ROULETE_463 +if or + 18@ == 0 + 18@ == 1 + 18@ == 2 + 18@ == 3 + 18@ == 4 +else_jump @ROULETE_524 +17@ = 2 +19@ = -340 + +:ROULETE_524 +if or + 18@ == 5 + 18@ == 6 + 18@ == 7 + 18@ == 8 + 18@ == 9 +else_jump @ROULETE_585 +17@ = 20 +19@ = -341 + +:ROULETE_585 +if or + 18@ == 10 + 18@ == 11 + 18@ == 12 + 18@ == 13 +else_jump @ROULETE_640 +17@ = 200 +19@ = -342 + +:ROULETE_640 +if or + 18@ == 14 + 18@ == 15 + 18@ == 16 +else_jump @ROULETE_688 +17@ = 2000 +19@ = -343 + +:ROULETE_688 +if or + 18@ == 17 + 18@ == 18 +else_jump @ROULETE_729 +17@ = 20000 +19@ = -344 + +:ROULETE_729 +18@ = 0 +20@ = 0 +0085: 21@ = 17@ // (int) +21@ *= 50 +22@ = 0 +0209: $3396 = random_int_in_ranges 0 2 +if + $3396 == 0 +else_jump @ROULETE_806 +04AF: 23@ = 11 // = constant +jump @ROULETE_814 + +:ROULETE_806 +04AF: 23@ = 172 // = constant + +:ROULETE_814 +$8549 = 0 + +:ROULETE_821 +if + 151 > $8549 +else_jump @ROULETE_865 +$8398($8549,151i) = 0 +$8549 += 1 +jump @ROULETE_821 + +:ROULETE_865 +$ROULETE_CASH_WON = 0 +$8551 = 0 +if + 22@ == 1 +else_jump @ROULETE_906 +22@ = 0 +return + +:ROULETE_906 +24@ = 0.0 +25@ = 0.0 + +:ROULETE_926 +wait 0 +01BD: $CURRENT_TIME_IN_MS2 = current_time_in_ms +if +03CA: object 0@ exists +else_jump @ROULETE_7893 +if +0977: player_in_radius_of_object 0@ external_script_trigger +else_jump @ROULETE_7749 +if + $PLAYER_IN_INTERIOR == 0 +else_jump @ROULETE_7605 +if + Player.Defined($PLAYER_CHAR) +else_jump @ROULETE_7470 +if + 1@ == 0 +else_jump @ROULETE_1031 +Model.Load(23@) +1@ += 1 + +:ROULETE_1031 +if + 1@ == 1 +else_jump @ROULETE_1183 +Model.Load(23@) +if + Model.Available(23@) +else_jump @ROULETE_1183 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 1.208 0.571 -1.144 +26@ = Actor.Create(CivFemale, 23@, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +$TEMPVAR_ANGLE = Object.Angle(0@) +Actor.SetImmunities(26@, 1, 1, 1, 1, 1) +$TEMPVAR_ANGLE += 90.0 +Actor.Angle(26@) = $TEMPVAR_ANGLE +060B: set_actor 26@ decision_maker_to 65542 +0A0A: unknown_object 0@ flag 1 +1@ += 1 + +:ROULETE_1183 +if + 1@ == 2 +else_jump @ROULETE_1284 +if +0472: actor $PLAYER_ACTOR near_object_in_rectangle 0@ radius 5.0 5.0 sphere 0 on_foot +else_jump @ROULETE_1284 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset -0.215 1.34 -0.086 +27@ = Object.Init(#WHEEL_WEE, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +1@ += 1 + +:ROULETE_1284 +if + 1@ == 3 +else_jump @ROULETE_1607 +if +0472: actor $PLAYER_ACTOR near_object_in_rectangle 0@ radius 5.0 5.0 sphere 0 on_foot +else_jump @ROULETE_1607 +if + $9470 == 0 +else_jump @ROULETE_1607 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset -1.839 -2.444 -0.6 +0400: store_coords_to $3404 $3405 $3406 from_object 0@ with_offset 0.761 0.956 0.6 +if +01A6: actor $PLAYER_ACTOR sphere 0 in_cube_cornerA $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 cornerB $3404 $3405 $3406 on_foot +else_jump @ROULETE_1607 +if + 17@ == 2 +else_jump @ROULETE_1474 +0512: show_permanent_text_box 'SLOT_06' + +:ROULETE_1474 +if + 17@ == 20 +else_jump @ROULETE_1503 +0512: show_permanent_text_box 'SLOT_07' + +:ROULETE_1503 +if + 17@ == 200 +else_jump @ROULETE_1533 +0512: show_permanent_text_box 'SLOT_08' + +:ROULETE_1533 +if + 17@ == 2000 +else_jump @ROULETE_1563 +0512: show_permanent_text_box 'SLOT_09' + +:ROULETE_1563 +if + 17@ == 20000 +else_jump @ROULETE_1593 +0512: show_permanent_text_box 'SLOT_10' + +:ROULETE_1593 +03CF: load_wav 1813 as 4 +1@ += 1 + +:ROULETE_1607 +if + 1@ == 4 +else_jump @ROULETE_2964 +if + $3489 == 0 +else_jump @ROULETE_2964 +if +0472: actor $PLAYER_ACTOR near_object_in_rectangle 0@ radius 5.0 5.0 sphere 0 on_foot +else_jump @ROULETE_2964 +if + $9470 == 0 +else_jump @ROULETE_2955 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset -1.839 -2.444 -0.6 +0400: store_coords_to $3404 $3405 $3406 from_object 0@ with_offset 0.761 0.956 0.6 +if +01A6: actor $PLAYER_ACTOR sphere 0 in_cube_cornerA $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 cornerB $3404 $3405 $3406 on_foot +else_jump @ROULETE_2939 +if + Player.Controllable($PLAYER_CHAR) +else_jump @ROULETE_2932 +if +00E1: player 0 pressed_key 15 +else_jump @ROULETE_2925 +if + 9@ == 0 +else_jump @ROULETE_2918 +0652: $STAT_GAMBLING_SKILL = integer_stat 81 +if + 17@ == 20 +else_jump @ROULETE_1989 +if + not $STAT_GAMBLING_SKILL >= 1 +else_jump @ROULETE_1989 +00BC: show_text_highpriority GXT 'GAMBSTA' time 4000 flag 1 +if + not Actor.Dead(26@) +else_jump @ROULETE_1982 +0209: $3400 = random_int_in_ranges 0 2 +if +04A4: 23@ == 11 // == constant +else_jump @ROULETE_1964 +09D6: unknown_set_actor 26@ sound $3817($3400,3i) flags 1 1 0 +jump @ROULETE_1982 + +:ROULETE_1964 +09D6: unknown_set_actor 26@ sound $3876($3400,3i) flags 1 1 0 + +:ROULETE_1982 +jump @ROULETE_926 + +:ROULETE_1989 +if + 17@ == 200 +else_jump @ROULETE_2135 +if + not $STAT_GAMBLING_SKILL >= 10 +else_jump @ROULETE_2135 +00BC: show_text_highpriority GXT 'GAMBSTA' time 4000 flag 1 +if + not Actor.Dead(26@) +else_jump @ROULETE_2128 +0209: $3400 = random_int_in_ranges 0 2 +if +04A4: 23@ == 11 // == constant +else_jump @ROULETE_2110 +09D6: unknown_set_actor 26@ sound $3817($3400,3i) flags 1 1 0 +jump @ROULETE_2128 + +:ROULETE_2110 +09D6: unknown_set_actor 26@ sound $3876($3400,3i) flags 1 1 0 + +:ROULETE_2128 +jump @ROULETE_926 + +:ROULETE_2135 +if + 17@ == 2000 +else_jump @ROULETE_2281 +if + not $STAT_GAMBLING_SKILL >= 100 +else_jump @ROULETE_2281 +00BC: show_text_highpriority GXT 'GAMBSTA' time 4000 flag 1 +if + not Actor.Dead(26@) +else_jump @ROULETE_2274 +0209: $3400 = random_int_in_ranges 0 2 +if +04A4: 23@ == 11 // == constant +else_jump @ROULETE_2256 +09D6: unknown_set_actor 26@ sound $3817($3400,3i) flags 1 1 0 +jump @ROULETE_2274 + +:ROULETE_2256 +09D6: unknown_set_actor 26@ sound $3876($3400,3i) flags 1 1 0 + +:ROULETE_2274 +jump @ROULETE_926 + +:ROULETE_2281 +if + 17@ == 20000 +else_jump @ROULETE_2428 +if + not $STAT_GAMBLING_SKILL > 999 +else_jump @ROULETE_2428 +00BC: show_text_highpriority GXT 'GAMBSTA' time 4000 flag 1 +if + not Actor.Dead(26@) +else_jump @ROULETE_2421 +0209: $3400 = random_int_in_ranges 0 2 +if +04A4: 23@ == 11 // == constant +else_jump @ROULETE_2403 +09D6: unknown_set_actor 26@ sound $3817($3400,3i) flags 1 1 0 +jump @ROULETE_2421 + +:ROULETE_2403 +09D6: unknown_set_actor 26@ sound $3876($3400,3i) flags 1 1 0 + +:ROULETE_2421 +jump @ROULETE_926 + +:ROULETE_2428 +03E6: remove_text_box +Player.CanMove($PLAYER_CHAR) = False +03BF: set_player $PLAYER_CHAR ignored_by_everyone 1 +03F4: set_all_cars_apply_damage_rules 0 +Object.StorePos(0@, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +06BA: AS_actor $PLAYER_ACTOR turn_to_and_look_at $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +if +0A2B: widescreen_option_enabled +else_jump @ROULETE_2593 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset -0.632 -1.967 1.914 +Camera.SetPosition($TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3, 0.0, 0.0, 0.0) +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset -0.5 -1.391 1.107 +Camera.PointAt($TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3, 1) +jump @ROULETE_2690 + +:ROULETE_2593 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset -0.569 -1.548 1.876 +Camera.SetPosition($TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3, 0.0, 0.0, 0.0) +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset -0.411 -1.063 1.016 +Camera.PointAt($TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3, 1) + +:ROULETE_2690 +041D: set_camera_near_clip 0.1 +03F0: enable_text_draw 1 +0390: load_txd_dictionary 'LD_ROUL' +if + not Actor.Dead(26@) +else_jump @ROULETE_2798 +0209: $3400 = random_int_in_ranges 0 2 +if +04A4: 23@ == 11 // == constant +else_jump @ROULETE_2780 +09D6: unknown_set_actor 26@ sound $3828($3400,2i) flags 1 1 0 +jump @ROULETE_2798 + +:ROULETE_2780 +09D6: unknown_set_actor 26@ sound $3887($3400,2i) flags 1 1 0 + +:ROULETE_2798 +038F: load_texture "ROULBLA" as 1 // Load dictionary with 0390 first +038F: load_texture "ROULRED" as 2 // Load dictionary with 0390 first +038F: load_texture "ROULGRE" as 3 // Load dictionary with 0390 first +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset $3496 $3497 $3498 +$TEMPVAR_FLOAT_3 += 0.01 +$8552 = Object.Init(#ROULETTE_MARKER, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +09BD: allow_other_threads_to_display_text_boxes 1 +$3489 = 1 +28@ = 0 +1@ += 1 +9@ = 1 + +:ROULETE_2918 +jump @ROULETE_2932 + +:ROULETE_2925 +9@ = 0 + +:ROULETE_2932 +jump @ROULETE_2948 + +:ROULETE_2939 +03E6: remove_text_box +1@ = 3 + +:ROULETE_2948 +jump @ROULETE_2964 + +:ROULETE_2955 +03E6: remove_text_box +1@ = 3 + +:ROULETE_2964 +if + 1@ == 5 +else_jump @ROULETE_7463 +0581: enable_radar 0 +if + $3505 > 0 +else_jump @ROULETE_3517 +$3809 += 2.0 +$3810 += 2.0 +038D: draw_texture 1 position $3809 $3810 size 64.0 64.0 RGBA 0 0 0 255 +$3809 -= 2.0 +$3810 -= 2.0 +if + 18@ == 0 +else_jump @ROULETE_3130 +038D: draw_texture 3 position $3809 $3810 size 64.0 64.0 RGBA 180 180 180 255 +jump @ROULETE_3438 + +:ROULETE_3130 +if or + 18@ == 1 + 18@ == 3 + 18@ == 5 + 18@ == 7 + 18@ == 9 + 18@ == 12 +else_jump @ROULETE_3222 +038D: draw_texture 2 position $3809 $3810 size 64.0 64.0 RGBA 180 180 180 255 +jump @ROULETE_3438 + +:ROULETE_3222 +if or + 18@ == 14 + 18@ == 16 + 18@ == 18 + 18@ == 19 + 18@ == 21 + 18@ == 23 +else_jump @ROULETE_3314 +038D: draw_texture 2 position $3809 $3810 size 64.0 64.0 RGBA 180 180 180 255 +jump @ROULETE_3438 + +:ROULETE_3314 +if or + 18@ == 25 + 18@ == 27 + 18@ == 30 + 18@ == 32 + 18@ == 34 + 18@ == 36 +else_jump @ROULETE_3406 +038D: draw_texture 2 position $3809 $3810 size 64.0 64.0 RGBA 180 180 180 255 +jump @ROULETE_3438 + +:ROULETE_3406 +038D: draw_texture 1 position $3809 $3810 size 64.0 64.0 RGBA 180 180 180 255 + +:ROULETE_3438 +0086: $8553 = $3809 // (float) +$8553 += -1.668 +0086: $8554 = $3810 // (float) +$8554 += -30.025 +gosub @ROULETE_18207 +033F: set_text_draw_letter_size 0.942 4.231 +0342: set_text_draw_centered 1 +045A: draw_text_1number $8553 $8554 GXT 'NUMBER' number 18@ + +:ROULETE_3517 +0937: text_draw_box_cornerA $3479 $3483 cornerB $3480 $3484 GXT_reference 'ROUWAGE' style 2 +gosub @ROULETE_18207 +0340: set_text_draw_RGBA 134 155 184 255 +if +04A3: $CURRENT_LANGUAGE == 3 // == constant +else_jump @ROULETE_3593 +033F: set_text_draw_letter_size 0.42 2.508 + +:ROULETE_3593 +033E: set_draw_text_position $3477 $3481 GXT 'ROU_MAX' +0086: $8554 = $3481 // (float) +0059: $8554 += $3482 // (float) +gosub @ROULETE_18207 +033F: set_text_draw_letter_size $3486 $3488 +045A: draw_text_1number $3477 $8554 GXT 'DOLLAR' number 21@ +0059: $8554 += $3478 // (float) +gosub @ROULETE_18207 +0340: set_text_draw_RGBA 134 155 184 255 +033E: set_draw_text_position $3477 $8554 GXT 'ROUYOUR' +0059: $8554 += $3482 // (float) +gosub @ROULETE_18207 +033F: set_text_draw_letter_size $3486 $3488 +045A: draw_text_1number $3477 $8554 GXT 'DOLLAR' number $8551 +0059: $8554 += $3478 // (float) +gosub @ROULETE_18207 +if + $3505 > 0 +else_jump @ROULETE_3864 +0340: set_text_draw_RGBA 134 155 184 255 +033E: set_draw_text_position $3477 $8554 GXT 'ROU_WON' +0059: $8554 += $3482 // (float) +gosub @ROULETE_18207 +033F: set_text_draw_letter_size $3486 $3488 +045A: draw_text_1number $3477 $8554 GXT 'DOLLAR' number $ROULETE_CASH_WON +jump @ROULETE_3938 + +:ROULETE_3864 +0340: set_text_draw_RGBA 134 155 184 255 +033E: set_draw_text_position $3477 $8554 GXT 'ROUTHIS' +0059: $8554 += $3482 // (float) +gosub @ROULETE_18207 +033F: set_text_draw_letter_size $3486 $3488 +045A: draw_text_1number $3477 $8554 GXT 'DOLLAR' number 20@ + +:ROULETE_3938 +if + $3505 == 0 +else_jump @ROULETE_4550 +0512: show_permanent_text_box 'ROUHELP' +0750: set_object $8552 visibility 1 +if +00E1: player 0 pressed_key 16 +else_jump @ROULETE_4252 +if + 7@ == 0 +else_jump @ROULETE_4245 +if + $8551 > 0 +else_jump @ROULETE_4203 +03CF: load_wav 1813 as 4 +if + not Actor.Dead(26@) +else_jump @ROULETE_4120 +0209: $3400 = random_int_in_ranges 0 3 +if +04A4: 23@ == 11 // == constant +else_jump @ROULETE_4102 +09D6: unknown_set_actor 26@ sound $3811($3400,3i) flags 1 1 0 +jump @ROULETE_4120 + +:ROULETE_4102 +09D6: unknown_set_actor 26@ sound $3870($3400,3i) flags 1 1 0 + +:ROULETE_4120 +if +03D0: wav 4 loaded +else_jump @ROULETE_4155 +097A: play_audio_at 0.0 0.0 0.0 event 1086 + +:ROULETE_4155 +0623: add $8551 to_integer_stat 35 +008D: $3401 = integer $8551 to_float +$3401 *= 0.001 +03E6: remove_text_box +0624: add $3401 to_float_stat 81 +$3505 += 1 +jump @ROULETE_4238 + +:ROULETE_4203 +if +03D0: wav 4 loaded +else_jump @ROULETE_4238 +097A: play_audio_at 0.0 0.0 0.0 event 1085 + +:ROULETE_4238 +7@ += 1 + +:ROULETE_4245 +jump @ROULETE_4259 + +:ROULETE_4252 +7@ = 0 + +:ROULETE_4259 +if +00E1: player 0 pressed_key 15 +else_jump @ROULETE_4536 +if + 9@ == 0 +else_jump @ROULETE_4529 +9@ += 1 +$3505 = 0 +1@ = 3 +if + not Actor.Dead(26@) +else_jump @ROULETE_4401 +0209: $3400 = random_int_in_ranges 0 2 +if +04A4: 23@ == 11 // == constant +else_jump @ROULETE_4383 +09D6: unknown_set_actor 26@ sound $3826($3400,2i) flags 1 1 0 +jump @ROULETE_4401 + +:ROULETE_4383 +09D6: unknown_set_actor 26@ sound $3885($3400,2i) flags 1 1 0 + +:ROULETE_4401 +0581: enable_radar 1 +Player.CanMove($PLAYER_CHAR) = True +03BF: set_player $PLAYER_CHAR ignored_by_everyone 0 +03F4: set_all_cars_apply_damage_rules 1 +Camera.SetBehindPlayer +Camera.Restore_WithJumpCut +03F0: enable_text_draw 0 +0391: release_textures +03E6: remove_text_box +Object.Destroy($8552) +Player.Money($PLAYER_CHAR) += $8551 +22@ = 1 +gosub @ROULETE_814 +$8549 = 0 + +:ROULETE_4469 +if + 151 > $8549 +else_jump @ROULETE_4511 +Object.Destroy($ROULETE_CHIPS($8549,151i)) +$8549 += 1 +jump @ROULETE_4469 + +:ROULETE_4511 +09BD: allow_other_threads_to_display_text_boxes 0 +$3489 = 0 +jump @ROULETE_926 + +:ROULETE_4529 +jump @ROULETE_4543 + +:ROULETE_4536 +9@ = 0 + +:ROULETE_4543 +gosub @ROULETE_8037 + +:ROULETE_4550 +if + $3505 == 1 +else_jump @ROULETE_4639 +0750: set_object $8552 visibility 0 +0079: 24@ += frame_delta_time * 0.5 // (float) +if or + 24@ > 20.0 + 24@ == 20.0 +else_jump @ROULETE_4639 +0084: $3506 = $CURRENT_TIME_IN_MS2 // (int) +$3506 += 1500 +$3505 += 1 + +:ROULETE_4639 +if + $3505 == 2 +else_jump @ROULETE_4817 +if +001C: $CURRENT_TIME_IN_MS2 > $3506 // (int) +else_jump @ROULETE_4817 +007F: 24@ -= frame_delta_time * 0.08 // (float) +if or + 0.0 > 24@ + 24@ == 0.0 +else_jump @ROULETE_4817 +0209: 18@ = random_int_in_ranges 0 37 +if + not Actor.Dead(26@) +else_jump @ROULETE_4803 +if +04A4: 23@ == 11 // == constant +else_jump @ROULETE_4785 +09D6: unknown_set_actor 26@ sound $3830(18@,37i) flags 1 1 0 +jump @ROULETE_4803 + +:ROULETE_4785 +09D6: unknown_set_actor 26@ sound $3889(18@,37i) flags 1 1 0 + +:ROULETE_4803 +gosub @ROULETE_9717 +$3505 += 1 + +:ROULETE_4817 +if + $3505 == 3 +else_jump @ROULETE_5567 +0512: show_permanent_text_box 'X_CONT' +0084: $3396 = $ROULETE_CASH_WON // (int) +0060: $3396 -= $8551 // (int) +if + $3396 == 0 +else_jump @ROULETE_4948 +gosub @ROULETE_18207 +033F: set_text_draw_letter_size 1.3 3.36 +0342: set_text_draw_centered 1 +081C: draw_text_outline 2 RGBA 0 0 0 255 +0349: set_text_draw_font 3 +033E: set_draw_text_position 320.0 180.333 GXT 'NOWIN' +jump @ROULETE_5152 + +:ROULETE_4948 +if + $3396 > 0 +else_jump @ROULETE_5074 +gosub @ROULETE_18207 +033F: set_text_draw_letter_size 1.3 3.36 +0342: set_text_draw_centered 1 +081C: draw_text_outline 2 RGBA 0 0 0 255 +0349: set_text_draw_font 3 +0904: get_interface 6 color_RGBA_to $COLOR_RED $COLOR_GREEN $GAMBLES_CASHWIN $3400 +0340: set_text_draw_RGBA $COLOR_RED $COLOR_GREEN $GAMBLES_CASHWIN 255 +045A: draw_text_1number 320.0 155.333 GXT 'WINNER' number $3396 +0627: update_integer_stat 38 to $3396 +jump @ROULETE_5152 + +:ROULETE_5074 +$3396 *= -1 +gosub @ROULETE_18207 +033F: set_text_draw_letter_size 1.3 3.36 +0342: set_text_draw_centered 1 +081C: draw_text_outline 2 RGBA 0 0 0 255 +0349: set_text_draw_font 3 +045A: draw_text_1number 320.0 155.333 GXT 'LOSER' number $3396 +0627: update_integer_stat 39 to $3396 + +:ROULETE_5152 +if +00E1: player 0 pressed_key 16 +else_jump @ROULETE_5560 +if + 7@ == 0 +else_jump @ROULETE_5553 +008B: 7@ = $CURRENT_TIME_IN_MS2 // (int) +7@ += 999999 +Player.Money($PLAYER_CHAR) += $ROULETE_CASH_WON +0623: add $ROULETE_CASH_WON to_integer_stat 37 +0084: $3396 = $ROULETE_CASH_WON // (int) +0060: $3396 -= $8551 // (int) +$9325 += 1 +if + $3396 > 0 +else_jump @ROULETE_5439 +0209: $3400 = random_int_in_ranges 0 3 +if or + $3400 == 0 + $3400 == 1 +else_jump @ROULETE_5422 +if + $9325 > 1 +else_jump @ROULETE_5329 +0209: $3400 = random_int_in_ranges 3 6 +jump @ROULETE_5338 + +:ROULETE_5329 +0209: $3400 = random_int_in_ranges 0 3 + +:ROULETE_5338 +if + not Actor.Dead(26@) +else_jump @ROULETE_5415 +if +04A4: 23@ == 11 // == constant +else_jump @ROULETE_5397 +09D6: unknown_set_actor 26@ sound $3820($3400,6i) flags 1 1 0 +jump @ROULETE_5415 + +:ROULETE_5397 +09D6: unknown_set_actor 26@ sound $3879($3400,6i) flags 1 1 0 + +:ROULETE_5415 +jump @ROULETE_5432 + +:ROULETE_5422 +0947: actor $PLAYER_ACTOR speak_from_audio_table 100 store_spoken_phrase_id_to $GAMBLES_CASHWIN + +:ROULETE_5432 +jump @ROULETE_5483 + +:ROULETE_5439 +0209: $COLOR_RED = random_int_in_ranges 0 2 +if + $COLOR_RED == 0 +else_jump @ROULETE_5476 +0947: actor $PLAYER_ACTOR speak_from_audio_table 101 store_spoken_phrase_id_to $GAMBLES_CASHWIN + +:ROULETE_5476 +$9325 = 0 + +:ROULETE_5483 +22@ = 1 +gosub @ROULETE_814 +$8549 = 0 + +:ROULETE_5504 +if + 151 > $8549 +else_jump @ROULETE_5546 +Object.Destroy($ROULETE_CHIPS($8549,151i)) +$8549 += 1 +jump @ROULETE_5504 + +:ROULETE_5546 +$3505 = 0 + +:ROULETE_5553 +jump @ROULETE_5567 + +:ROULETE_5560 +7@ = 0 + +:ROULETE_5567 +if and + $3505 > 0 + 3 > $3505 +else_jump @ROULETE_5627 +007B: 25@ += frame_delta_time * 24@ // (float) +0453: set_object 27@ XYZ_rotation 0.0 0.0 25@ +0209: 18@ = random_int_in_ranges 0 37 + +:ROULETE_5627 +0494: get_joystick 0 direction_offset_to $8555 $8556 $8557 $8558 +if or +00E1: player 0 pressed_key 10 + -80 > $8555 +else_jump @ROULETE_6101 +if + 2@ == 0 +else_jump @ROULETE_6068 +008B: 12@ = $CURRENT_TIME_IN_MS2 // (int) +12@ += 80 +if + 0.0 > $3499 +else_jump @ROULETE_5818 +if + not $3500 == 2.0 +else_jump @ROULETE_5811 +if + not $3499 == 0.0 +else_jump @ROULETE_5811 +if + $3500 == -24.0 +else_jump @ROULETE_5801 +$3499 += 2.0 +jump @ROULETE_5811 + +:ROULETE_5801 +$3499 += 1.0 + +:ROULETE_5811 +jump @ROULETE_6054 + +:ROULETE_5818 +if + $3499 == 0.0 +else_jump @ROULETE_6013 +if and + 2.0 > $3500 + $3500 > -7.0 +else_jump @ROULETE_5897 +$3499 += 2.0 +$3500 = -3.0 +jump @ROULETE_6006 + +:ROULETE_5897 +if and + -6.0 > $3500 + $3500 > -15.0 +else_jump @ROULETE_5955 +$3499 += 2.0 +$3500 = -11.0 +jump @ROULETE_6006 + +:ROULETE_5955 +if and + -14.0 > $3500 + $3500 > -24.0 +else_jump @ROULETE_6006 +$3499 += 2.0 +$3500 = -19.0 + +:ROULETE_6006 +jump @ROULETE_6054 + +:ROULETE_6013 +if + $3499 == 2.0 +else_jump @ROULETE_6054 +$3499 += 2.0 +$3500 += 2.0 + +:ROULETE_6054 +2@ += 1 +jump @ROULETE_6094 + +:ROULETE_6068 +if +001E: $CURRENT_TIME_IN_MS2 > 12@ // (int) +else_jump @ROULETE_6094 +2@ = 0 + +:ROULETE_6094 +jump @ROULETE_6108 + +:ROULETE_6101 +2@ = 0 + +:ROULETE_6108 +if or +00E1: player 0 pressed_key 11 + $8555 > 80 +else_jump @ROULETE_6535 +if + 3@ == 0 +else_jump @ROULETE_6502 +008B: 13@ = $CURRENT_TIME_IN_MS2 // (int) +13@ += 80 +if + $3499 > -4.0 +else_jump @ROULETE_6426 +if + not $3500 == 2.0 +else_jump @ROULETE_6419 +if + not $3499 == -4.0 +else_jump @ROULETE_6419 +if or + $3500 == -24.0 + $3499 == 2.0 + $3499 == 4.0 +else_jump @ROULETE_6409 +if or + $3500 == -1.0 + $3500 == -5.0 +else_jump @ROULETE_6310 +$3500 = -3.0 + +:ROULETE_6310 +if or + $3500 == -9.0 + $3500 == -13.0 +else_jump @ROULETE_6351 +$3500 = -11.0 + +:ROULETE_6351 +if or + $3500 == -17.0 + $3500 == -21.0 +else_jump @ROULETE_6392 +$3500 = -19.0 + +:ROULETE_6392 +$3499 += -2.0 +jump @ROULETE_6419 + +:ROULETE_6409 +$3499 += -1.0 + +:ROULETE_6419 +jump @ROULETE_6488 + +:ROULETE_6426 +if + $3499 == -4.0 +else_jump @ROULETE_6488 +if and + $3500 > -23.0 + 1.0 > $3500 +else_jump @ROULETE_6488 +$3499 += -1.0 + +:ROULETE_6488 +3@ += 1 +jump @ROULETE_6528 + +:ROULETE_6502 +if +001E: $CURRENT_TIME_IN_MS2 > 13@ // (int) +else_jump @ROULETE_6528 +3@ = 0 + +:ROULETE_6528 +jump @ROULETE_6542 + +:ROULETE_6535 +3@ = 0 + +:ROULETE_6542 +if or +00E1: player 0 pressed_key 8 + -80 > $8556 +else_jump @ROULETE_6881 +if + 4@ == 0 +else_jump @ROULETE_6848 +008B: 14@ = $CURRENT_TIME_IN_MS2 // (int) +14@ += 80 +if + 0.0 > $3500 +else_jump @ROULETE_6793 +if + $3500 == -24.0 +else_jump @ROULETE_6658 +$3500 += 2.0 +jump @ROULETE_6786 + +:ROULETE_6658 +if + $3499 == 2.0 +else_jump @ROULETE_6717 +if + not $3500 == -3.0 +else_jump @ROULETE_6710 +$3500 += 8.0 + +:ROULETE_6710 +jump @ROULETE_6786 + +:ROULETE_6717 +if + $3499 == 4.0 +else_jump @ROULETE_6776 +if + not $3500 == -1.0 +else_jump @ROULETE_6769 +$3500 += 4.0 + +:ROULETE_6769 +jump @ROULETE_6786 + +:ROULETE_6776 +$3500 += 1.0 + +:ROULETE_6786 +jump @ROULETE_6834 + +:ROULETE_6793 +if + $3500 == 0.0 +else_jump @ROULETE_6834 +$3500 += 2.0 +$3499 = -2.0 + +:ROULETE_6834 +4@ += 1 +jump @ROULETE_6874 + +:ROULETE_6848 +if +001E: $CURRENT_TIME_IN_MS2 > 14@ // (int) +else_jump @ROULETE_6874 +4@ = 0 + +:ROULETE_6874 +jump @ROULETE_6888 + +:ROULETE_6881 +4@ = 0 + +:ROULETE_6888 +if or +00E1: player 0 pressed_key 9 + $8556 > 80 +else_jump @ROULETE_7345 +if + 5@ == 0 +else_jump @ROULETE_7312 +008B: 15@ = $CURRENT_TIME_IN_MS2 // (int) +15@ += 80 +if + $3500 > -22.0 +else_jump @ROULETE_7139 +if + $3500 == 2.0 +else_jump @ROULETE_7004 +$3500 += -2.0 +jump @ROULETE_7132 + +:ROULETE_7004 +if + $3499 == 2.0 +else_jump @ROULETE_7063 +if + not $3500 == -19.0 +else_jump @ROULETE_7056 +$3500 += -8.0 + +:ROULETE_7056 +jump @ROULETE_7132 + +:ROULETE_7063 +if + $3499 == 4.0 +else_jump @ROULETE_7122 +if + not $3500 == -21.0 +else_jump @ROULETE_7115 +$3500 += -4.0 + +:ROULETE_7115 +jump @ROULETE_7132 + +:ROULETE_7122 +$3500 += -1.0 + +:ROULETE_7132 +jump @ROULETE_7298 + +:ROULETE_7139 +if + $3499 == -4.0 +else_jump @ROULETE_7198 +if + not $3500 == -24.0 +else_jump @ROULETE_7191 +$3500 += -2.0 + +:ROULETE_7191 +jump @ROULETE_7298 + +:ROULETE_7198 +if + $3499 == 0.0 +else_jump @ROULETE_7257 +if + not $3500 == -24.0 +else_jump @ROULETE_7250 +$3500 += -2.0 + +:ROULETE_7250 +jump @ROULETE_7298 + +:ROULETE_7257 +if + not $3500 == -24.0 +else_jump @ROULETE_7298 +$3499 = -2.0 +$3500 += -2.0 + +:ROULETE_7298 +5@ += 1 +jump @ROULETE_7338 + +:ROULETE_7312 +if +001E: $CURRENT_TIME_IN_MS2 > 15@ // (int) +else_jump @ROULETE_7338 +5@ = 0 + +:ROULETE_7338 +jump @ROULETE_7352 + +:ROULETE_7345 +5@ = 0 + +:ROULETE_7352 +0086: $3503 = $3499 // (float) +0069: $3503 *= $3494 // (float) +0086: $3504 = $3500 // (float) +0069: $3504 *= $3495 // (float) +0086: $3501 = $3496 // (float) +0059: $3501 += $3503 // (float) +0086: $3502 = $3497 // (float) +0059: $3502 += $3504 // (float) +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset $3501 $3502 $3498 +$TEMPVAR_FLOAT_3 += 0.01 +Object.PutAt($8552, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:ROULETE_7463 +jump @ROULETE_7598 + +:ROULETE_7470 +if + 1@ > 0 +else_jump @ROULETE_7598 +if + 1@ > 3 +else_jump @ROULETE_7508 +03E6: remove_text_box + +:ROULETE_7508 +Actor.DestroyInstantly(26@) +Model.Destroy(23@) +22@ = 1 +gosub @ROULETE_814 +$8549 = 0 + +:ROULETE_7539 +if + 151 > $8549 +else_jump @ROULETE_7581 +Object.Destroy($ROULETE_CHIPS($8549,151i)) +$8549 += 1 +jump @ROULETE_7539 + +:ROULETE_7581 +Object.Destroy($8552) +Object.Destroy(27@) +1@ = 0 + +:ROULETE_7598 +jump @ROULETE_7742 + +:ROULETE_7605 +if + 1@ > 0 +else_jump @ROULETE_7733 +if + 1@ > 3 +else_jump @ROULETE_7643 +03E6: remove_text_box + +:ROULETE_7643 +Actor.DestroyInstantly(26@) +Model.Destroy(23@) +22@ = 1 +gosub @ROULETE_814 +$8549 = 0 + +:ROULETE_7674 +if + 151 > $8549 +else_jump @ROULETE_7716 +Object.Destroy($ROULETE_CHIPS($8549,151i)) +$8549 += 1 +jump @ROULETE_7674 + +:ROULETE_7716 +Object.Destroy($8552) +Object.Destroy(27@) +1@ = 0 + +:ROULETE_7733 +$1523 -= 1 +end_thread + +:ROULETE_7742 +jump @ROULETE_7886 + +:ROULETE_7749 +if + 1@ > 0 +else_jump @ROULETE_7877 +if + 1@ > 3 +else_jump @ROULETE_7787 +03E6: remove_text_box + +:ROULETE_7787 +Actor.DestroyInstantly(26@) +Model.Destroy(23@) +22@ = 1 +gosub @ROULETE_814 +$8549 = 0 + +:ROULETE_7818 +if + 151 > $8549 +else_jump @ROULETE_7860 +Object.Destroy($ROULETE_CHIPS($8549,151i)) +$8549 += 1 +jump @ROULETE_7818 + +:ROULETE_7860 +Object.Destroy($8552) +Object.Destroy(27@) +1@ = 0 + +:ROULETE_7877 +$1523 -= 1 +end_thread + +:ROULETE_7886 +jump @ROULETE_8030 + +:ROULETE_7893 +if + 1@ > 0 +else_jump @ROULETE_8021 +if + 1@ > 3 +else_jump @ROULETE_7931 +03E6: remove_text_box + +:ROULETE_7931 +Actor.DestroyInstantly(26@) +Model.Destroy(23@) +22@ = 1 +gosub @ROULETE_814 +$8549 = 0 + +:ROULETE_7962 +if + 151 > $8549 +else_jump @ROULETE_8004 +Object.Destroy($ROULETE_CHIPS($8549,151i)) +$8549 += 1 +jump @ROULETE_7962 + +:ROULETE_8004 +Object.Destroy($8552) +Object.Destroy(27@) +1@ = 0 + +:ROULETE_8021 +$1523 -= 1 +end_thread + +:ROULETE_8030 +jump @ROULETE_926 + +:ROULETE_8037 +$8549 = 0 + +:ROULETE_8044 +if + 151 > $8549 +else_jump @ROULETE_9715 +if +0044: $3499 == $3507($8549,151f) // (float) +else_jump @ROULETE_9701 +if +0044: $3500 == $3658($8549,151f) // (float) +else_jump @ROULETE_9701 +008B: 20@ = $8398($8549,151i) // (int) +if +00E1: player 0 pressed_key 14 +else_jump @ROULETE_9331 +if +001E: $CURRENT_TIME_IN_MS2 > 8@ // (int) +else_jump @ROULETE_9324 +$ROULETE_PLAYER_CASH = Player.Money($PLAYER_CHAR) +$ROULETE_PLAYER_CASH += 1 +0652: $STAT_GAMBLING_SKILL = integer_stat 81 +if + $STAT_GAMBLING_SKILL > 999 +else_jump @ROULETE_8352 +008A: $GAMBLES_CASHWIN = 17@ // (int) +$GAMBLES_CASHWIN -= 1000000 +if + 1 > $ROULETE_PLAYER_CASH +else_jump @ROULETE_8345 +if + 28@ == 0 +else_jump @ROULETE_8345 +if + not Actor.Dead(26@) +else_jump @ROULETE_8338 +0209: $3400 = random_int_in_ranges 0 3 +if +04A4: 23@ == 11 // == constant +else_jump @ROULETE_8320 +09D6: unknown_set_actor 26@ sound $3867($3400,3i) flags 1 1 0 +jump @ROULETE_8338 + +:ROULETE_8320 +09D6: unknown_set_actor 26@ sound $3926($3400,3i) flags 1 1 0 + +:ROULETE_8338 +28@ = 1 + +:ROULETE_8345 +jump @ROULETE_8872 + +:ROULETE_8352 +if + $STAT_GAMBLING_SKILL > 100 +else_jump @ROULETE_8524 +008A: $GAMBLES_CASHWIN = 17@ // (int) +$GAMBLES_CASHWIN -= 100000 +if + 1 > $ROULETE_PLAYER_CASH +else_jump @ROULETE_8517 +if + 28@ == 0 +else_jump @ROULETE_8517 +if + not Actor.Dead(26@) +else_jump @ROULETE_8510 +0209: $3400 = random_int_in_ranges 0 3 +if +04A4: 23@ == 11 // == constant +else_jump @ROULETE_8492 +09D6: unknown_set_actor 26@ sound $3867($3400,3i) flags 1 1 0 +jump @ROULETE_8510 + +:ROULETE_8492 +09D6: unknown_set_actor 26@ sound $3926($3400,3i) flags 1 1 0 + +:ROULETE_8510 +28@ = 1 + +:ROULETE_8517 +jump @ROULETE_8872 + +:ROULETE_8524 +if + $STAT_GAMBLING_SKILL > 10 +else_jump @ROULETE_8694 +008A: $GAMBLES_CASHWIN = 17@ // (int) +$GAMBLES_CASHWIN -= 10000 +if + 1 > $ROULETE_PLAYER_CASH +else_jump @ROULETE_8687 +if + 28@ == 0 +else_jump @ROULETE_8687 +if + not Actor.Dead(26@) +else_jump @ROULETE_8680 +0209: $3400 = random_int_in_ranges 0 3 +if +04A4: 23@ == 11 // == constant +else_jump @ROULETE_8662 +09D6: unknown_set_actor 26@ sound $3867($3400,3i) flags 1 1 0 +jump @ROULETE_8680 + +:ROULETE_8662 +09D6: unknown_set_actor 26@ sound $3926($3400,3i) flags 1 1 0 + +:ROULETE_8680 +28@ = 1 + +:ROULETE_8687 +jump @ROULETE_8872 + +:ROULETE_8694 +if + $STAT_GAMBLING_SKILL > 1 +else_jump @ROULETE_8864 +008A: $GAMBLES_CASHWIN = 17@ // (int) +$GAMBLES_CASHWIN -= 1000 +if + 1 > $ROULETE_PLAYER_CASH +else_jump @ROULETE_8857 +if + 28@ == 0 +else_jump @ROULETE_8857 +if + not Actor.Dead(26@) +else_jump @ROULETE_8850 +0209: $3400 = random_int_in_ranges 0 3 +if +04A4: 23@ == 11 // == constant +else_jump @ROULETE_8832 +09D6: unknown_set_actor 26@ sound $3867($3400,3i) flags 1 1 0 +jump @ROULETE_8850 + +:ROULETE_8832 +09D6: unknown_set_actor 26@ sound $3926($3400,3i) flags 1 1 0 + +:ROULETE_8850 +28@ = 1 + +:ROULETE_8857 +jump @ROULETE_8872 + +:ROULETE_8864 +008A: $GAMBLES_CASHWIN = 17@ // (int) + +:ROULETE_8872 +if and +001F: 21@ > $8551 // (int) +001C: $ROULETE_PLAYER_CASH > $GAMBLES_CASHWIN // (int) +else_jump @ROULETE_9159 +03CF: load_wav 1813 as 4 +if +03D0: wav 4 loaded +else_jump @ROULETE_8941 +097A: play_audio_at 0.0 0.0 0.0 event 1083 + +:ROULETE_8941 +005A: 20@ += 17@ // (int) +008A: $ROULETE_PLAYER_CASH = 17@ // (int) +$ROULETE_PLAYER_CASH *= -1 +Player.Money($PLAYER_CHAR) += $ROULETE_PLAYER_CASH +005E: $8551 += 17@ // (int) +008A: $ROULETE_PLAYER_CASH = 17@ // (int) +$ROULETE_PLAYER_CASH *= 26 +if +001E: $ROULETE_PLAYER_CASH > 20@ // (int) +else_jump @ROULETE_9110 +Object.StorePos($8552, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +$TEMPVAR_FLOAT_3 += -0.14 +008A: $ROULETE_PLAYER_CASH = 20@ // (int) +0074: $ROULETE_PLAYER_CASH /= 17@ // (int) +008D: $3401 = integer $ROULETE_PLAYER_CASH to_float +$3401 *= 0.005 +0059: $TEMPVAR_FLOAT_3 += $3401 // (float) +Object.Destroy($ROULETE_CHIPS($8549,151i)) +$ROULETE_CHIPS($8549,151i) = Object.Init(19@, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:ROULETE_9110 +008B: 8@ = $CURRENT_TIME_IN_MS2 // (int) +005A: 8@ += 10@ // (int) +if + 10@ == 500 +else_jump @ROULETE_9152 +10@ = 80 + +:ROULETE_9152 +jump @ROULETE_9324 + +:ROULETE_9159 +if +002C: $GAMBLES_CASHWIN >= $ROULETE_PLAYER_CASH // (int) +else_jump @ROULETE_9264 +if + not Actor.Dead(26@) +else_jump @ROULETE_9264 +0209: $3400 = random_int_in_ranges 0 3 +if +04A4: 23@ == 11 // == constant +else_jump @ROULETE_9246 +09D6: unknown_set_actor 26@ sound $3814($3400,3i) flags 1 1 0 +jump @ROULETE_9264 + +:ROULETE_9246 +09D6: unknown_set_actor 26@ sound $3873($3400,3i) flags 1 1 0 + +:ROULETE_9264 +03CF: load_wav 1813 as 4 +if +03D0: wav 4 loaded +else_jump @ROULETE_9306 +097A: play_audio_at 0.0 0.0 0.0 event 1085 + +:ROULETE_9306 +008B: 8@ = $CURRENT_TIME_IN_MS2 // (int) +8@ += 6000000 + +:ROULETE_9324 +jump @ROULETE_9689 + +:ROULETE_9331 +008B: 8@ = $CURRENT_TIME_IN_MS2 // (int) +10@ = 500 +if +00E1: player 0 pressed_key 17 +else_jump @ROULETE_9673 +if +001E: $CURRENT_TIME_IN_MS2 > 6@ // (int) +else_jump @ROULETE_9666 +if or +001D: 20@ > 17@ // (int) +003B: 20@ == 17@ // (int) +else_jump @ROULETE_9624 +03CF: load_wav 1813 as 4 +if +03D0: wav 4 loaded +else_jump @ROULETE_9452 +097A: play_audio_at 0.0 0.0 0.0 event 1084 + +:ROULETE_9452 +0062: 20@ -= 17@ // (int) +0066: $8551 -= 17@ // (int) +Player.Money($PLAYER_CHAR) += 17@ +008A: $ROULETE_PLAYER_CASH = 17@ // (int) +$ROULETE_PLAYER_CASH *= 26 +if +001E: $ROULETE_PLAYER_CASH > 20@ // (int) +else_jump @ROULETE_9624 +Object.StorePos($8552, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +$TEMPVAR_FLOAT_3 += -0.14 +008A: $ROULETE_PLAYER_CASH = 20@ // (int) +0074: $ROULETE_PLAYER_CASH /= 17@ // (int) +008D: $3401 = integer $ROULETE_PLAYER_CASH to_float +$3401 *= 0.005 +0059: $TEMPVAR_FLOAT_3 += $3401 // (float) +Object.Destroy($ROULETE_CHIPS($8549,151i)) +if + 20@ > 0 +else_jump @ROULETE_9624 +$ROULETE_CHIPS($8549,151i) = Object.Init(19@, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:ROULETE_9624 +008B: 6@ = $CURRENT_TIME_IN_MS2 // (int) +005A: 6@ += 11@ // (int) +if + 11@ == 500 +else_jump @ROULETE_9666 +11@ = 80 + +:ROULETE_9666 +jump @ROULETE_9689 + +:ROULETE_9673 +008B: 6@ = $CURRENT_TIME_IN_MS2 // (int) +11@ = 500 + +:ROULETE_9689 +008A: $8398($8549,151i) = 20@ // (int) + +:ROULETE_9701 +$8549 += 1 +jump @ROULETE_8044 + +:ROULETE_9715 +return + +:ROULETE_9717 +if + 18@ == 0 +else_jump @ROULETE_9757 +$8398[0] *= 36 +0058: $ROULETE_CASH_WON += $8398[0] // (int) +$8398[0] = 0 + +:ROULETE_9757 +if + 18@ == 1 +else_jump @ROULETE_9940 +$8398[1] *= 36 +0058: $ROULETE_CASH_WON += $8398[1] // (int) +$8398[37] *= 18 +0058: $ROULETE_CASH_WON += $8398[37] // (int) +$8398[61] *= 18 +0058: $ROULETE_CASH_WON += $8398[61] // (int) +$8398[94] *= 12 +0058: $ROULETE_CASH_WON += $8398[94] // (int) +$8398[106] *= 9 +0058: $ROULETE_CASH_WON += $8398[106] // (int) +$8398[128] *= 3 +0058: $ROULETE_CASH_WON += $8398[128] // (int) +$8398[131] *= 3 +0058: $ROULETE_CASH_WON += $8398[131] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[140] *= 6 +0058: $ROULETE_CASH_WON += $8398[140] // (int) + +:ROULETE_9940 +if + 18@ == 2 +else_jump @ROULETE_10153 +$8398[2] *= 36 +0058: $ROULETE_CASH_WON += $8398[2] // (int) +$8398[37] *= 18 +0058: $ROULETE_CASH_WON += $8398[37] // (int) +$8398[38] *= 18 +0058: $ROULETE_CASH_WON += $8398[38] // (int) +$8398[62] *= 18 +0058: $ROULETE_CASH_WON += $8398[62] // (int) +$8398[94] *= 12 +0058: $ROULETE_CASH_WON += $8398[94] // (int) +$8398[106] *= 9 +0058: $ROULETE_CASH_WON += $8398[106] // (int) +$8398[107] *= 9 +0058: $ROULETE_CASH_WON += $8398[106] // (int) +$8398[129] *= 3 +0058: $ROULETE_CASH_WON += $8398[129] // (int) +$8398[131] *= 3 +0058: $ROULETE_CASH_WON += $8398[131] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[140] *= 6 +0058: $ROULETE_CASH_WON += $8398[140] // (int) + +:ROULETE_10153 +if + 18@ == 3 +else_jump @ROULETE_10336 +$8398[3] *= 36 +0058: $ROULETE_CASH_WON += $8398[3] // (int) +$8398[38] *= 18 +0058: $ROULETE_CASH_WON += $8398[38] // (int) +$8398[63] *= 18 +0058: $ROULETE_CASH_WON += $8398[63] // (int) +$8398[94] *= 12 +0058: $ROULETE_CASH_WON += $8398[94] // (int) +$8398[107] *= 9 +0058: $ROULETE_CASH_WON += $8398[106] // (int) +$8398[130] *= 3 +0058: $ROULETE_CASH_WON += $8398[130] // (int) +$8398[131] *= 3 +0058: $ROULETE_CASH_WON += $8398[131] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[140] *= 6 +0058: $ROULETE_CASH_WON += $8398[140] // (int) + +:ROULETE_10336 +if + 18@ == 4 +else_jump @ROULETE_10564 +$8398[4] *= 36 +0058: $ROULETE_CASH_WON += $8398[4] // (int) +$8398[61] *= 18 +0058: $ROULETE_CASH_WON += $8398[61] // (int) +$8398[39] *= 18 +0058: $ROULETE_CASH_WON += $8398[39] // (int) +$8398[64] *= 18 +0058: $ROULETE_CASH_WON += $8398[64] // (int) +$8398[95] *= 12 +0058: $ROULETE_CASH_WON += $8398[95] // (int) +$8398[106] *= 9 +0058: $ROULETE_CASH_WON += $8398[106] // (int) +$8398[108] *= 9 +0058: $ROULETE_CASH_WON += $8398[108] // (int) +$8398[128] *= 3 +0058: $ROULETE_CASH_WON += $8398[128] // (int) +$8398[131] *= 3 +0058: $ROULETE_CASH_WON += $8398[131] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[140] *= 6 +0058: $ROULETE_CASH_WON += $8398[140] // (int) +$8398[141] *= 6 +0058: $ROULETE_CASH_WON += $8398[141] // (int) + +:ROULETE_10564 +if + 18@ == 5 +else_jump @ROULETE_10837 +$8398[5] *= 36 +0058: $ROULETE_CASH_WON += $8398[5] // (int) +$8398[62] *= 18 +0058: $ROULETE_CASH_WON += $8398[62] // (int) +$8398[39] *= 18 +0058: $ROULETE_CASH_WON += $8398[39] // (int) +$8398[40] *= 18 +0058: $ROULETE_CASH_WON += $8398[40] // (int) +$8398[65] *= 18 +0058: $ROULETE_CASH_WON += $8398[65] // (int) +$8398[95] *= 12 +0058: $ROULETE_CASH_WON += $8398[95] // (int) +$8398[106] *= 9 +0058: $ROULETE_CASH_WON += $8398[106] // (int) +$8398[107] *= 9 +0058: $ROULETE_CASH_WON += $8398[107] // (int) +$8398[108] *= 9 +0058: $ROULETE_CASH_WON += $8398[108] // (int) +$8398[109] *= 9 +0058: $ROULETE_CASH_WON += $8398[109] // (int) +$8398[129] *= 3 +0058: $ROULETE_CASH_WON += $8398[129] // (int) +$8398[131] *= 3 +0058: $ROULETE_CASH_WON += $8398[131] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[140] *= 6 +0058: $ROULETE_CASH_WON += $8398[140] // (int) +$8398[141] *= 6 +0058: $ROULETE_CASH_WON += $8398[141] // (int) + +:ROULETE_10837 +if + 18@ == 6 +else_jump @ROULETE_11065 +$8398[6] *= 36 +0058: $ROULETE_CASH_WON += $8398[6] // (int) +$8398[63] *= 18 +0058: $ROULETE_CASH_WON += $8398[63] // (int) +$8398[40] *= 18 +0058: $ROULETE_CASH_WON += $8398[40] // (int) +$8398[66] *= 18 +0058: $ROULETE_CASH_WON += $8398[66] // (int) +$8398[95] *= 12 +0058: $ROULETE_CASH_WON += $8398[95] // (int) +$8398[107] *= 9 +0058: $ROULETE_CASH_WON += $8398[107] // (int) +$8398[109] *= 9 +0058: $ROULETE_CASH_WON += $8398[109] // (int) +$8398[130] *= 3 +0058: $ROULETE_CASH_WON += $8398[130] // (int) +$8398[131] *= 3 +0058: $ROULETE_CASH_WON += $8398[131] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[140] *= 6 +0058: $ROULETE_CASH_WON += $8398[140] // (int) +$8398[141] *= 6 +0058: $ROULETE_CASH_WON += $8398[141] // (int) + +:ROULETE_11065 +if + 18@ == 7 +else_jump @ROULETE_11293 +$8398[7] *= 36 +0058: $ROULETE_CASH_WON += $8398[7] // (int) +$8398[64] *= 18 +0058: $ROULETE_CASH_WON += $8398[64] // (int) +$8398[41] *= 18 +0058: $ROULETE_CASH_WON += $8398[41] // (int) +$8398[67] *= 18 +0058: $ROULETE_CASH_WON += $8398[67] // (int) +$8398[96] *= 12 +0058: $ROULETE_CASH_WON += $8398[96] // (int) +$8398[108] *= 9 +0058: $ROULETE_CASH_WON += $8398[108] // (int) +$8398[110] *= 9 +0058: $ROULETE_CASH_WON += $8398[110] // (int) +$8398[128] *= 3 +0058: $ROULETE_CASH_WON += $8398[128] // (int) +$8398[131] *= 3 +0058: $ROULETE_CASH_WON += $8398[131] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[141] *= 6 +0058: $ROULETE_CASH_WON += $8398[141] // (int) +$8398[142] *= 6 +0058: $ROULETE_CASH_WON += $8398[142] // (int) + +:ROULETE_11293 +if + 18@ == 8 +else_jump @ROULETE_11566 +$8398[8] *= 36 +0058: $ROULETE_CASH_WON += $8398[8] // (int) +$8398[65] *= 18 +0058: $ROULETE_CASH_WON += $8398[65] // (int) +$8398[41] *= 18 +0058: $ROULETE_CASH_WON += $8398[41] // (int) +$8398[42] *= 18 +0058: $ROULETE_CASH_WON += $8398[42] // (int) +$8398[68] *= 18 +0058: $ROULETE_CASH_WON += $8398[68] // (int) +$8398[96] *= 12 +0058: $ROULETE_CASH_WON += $8398[96] // (int) +$8398[108] *= 9 +0058: $ROULETE_CASH_WON += $8398[108] // (int) +$8398[109] *= 9 +0058: $ROULETE_CASH_WON += $8398[109] // (int) +$8398[110] *= 9 +0058: $ROULETE_CASH_WON += $8398[110] // (int) +$8398[111] *= 9 +0058: $ROULETE_CASH_WON += $8398[111] // (int) +$8398[129] *= 3 +0058: $ROULETE_CASH_WON += $8398[129] // (int) +$8398[131] *= 3 +0058: $ROULETE_CASH_WON += $8398[131] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[141] *= 6 +0058: $ROULETE_CASH_WON += $8398[141] // (int) +$8398[142] *= 6 +0058: $ROULETE_CASH_WON += $8398[142] // (int) + +:ROULETE_11566 +if + 18@ == 9 +else_jump @ROULETE_11794 +$8398[9] *= 36 +0058: $ROULETE_CASH_WON += $8398[9] // (int) +$8398[66] *= 18 +0058: $ROULETE_CASH_WON += $8398[66] // (int) +$8398[42] *= 18 +0058: $ROULETE_CASH_WON += $8398[42] // (int) +$8398[69] *= 18 +0058: $ROULETE_CASH_WON += $8398[69] // (int) +$8398[96] *= 12 +0058: $ROULETE_CASH_WON += $8398[96] // (int) +$8398[109] *= 9 +0058: $ROULETE_CASH_WON += $8398[109] // (int) +$8398[111] *= 9 +0058: $ROULETE_CASH_WON += $8398[111] // (int) +$8398[130] *= 3 +0058: $ROULETE_CASH_WON += $8398[130] // (int) +$8398[131] *= 3 +0058: $ROULETE_CASH_WON += $8398[131] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[141] *= 6 +0058: $ROULETE_CASH_WON += $8398[141] // (int) +$8398[142] *= 6 +0058: $ROULETE_CASH_WON += $8398[142] // (int) + +:ROULETE_11794 +if + 18@ == 10 +else_jump @ROULETE_12022 +$8398[10] *= 36 +0058: $ROULETE_CASH_WON += $8398[10] // (int) +$8398[67] *= 18 +0058: $ROULETE_CASH_WON += $8398[67] // (int) +$8398[43] *= 18 +0058: $ROULETE_CASH_WON += $8398[43] // (int) +$8398[70] *= 18 +0058: $ROULETE_CASH_WON += $8398[70] // (int) +$8398[97] *= 12 +0058: $ROULETE_CASH_WON += $8398[97] // (int) +$8398[110] *= 9 +0058: $ROULETE_CASH_WON += $8398[110] // (int) +$8398[112] *= 9 +0058: $ROULETE_CASH_WON += $8398[112] // (int) +$8398[128] *= 3 +0058: $ROULETE_CASH_WON += $8398[128] // (int) +$8398[131] *= 3 +0058: $ROULETE_CASH_WON += $8398[131] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[142] *= 6 +0058: $ROULETE_CASH_WON += $8398[142] // (int) +$8398[143] *= 6 +0058: $ROULETE_CASH_WON += $8398[143] // (int) + +:ROULETE_12022 +if + 18@ == 11 +else_jump @ROULETE_12295 +$8398[11] *= 36 +0058: $ROULETE_CASH_WON += $8398[11] // (int) +$8398[68] *= 18 +0058: $ROULETE_CASH_WON += $8398[68] // (int) +$8398[43] *= 18 +0058: $ROULETE_CASH_WON += $8398[43] // (int) +$8398[44] *= 18 +0058: $ROULETE_CASH_WON += $8398[44] // (int) +$8398[71] *= 18 +0058: $ROULETE_CASH_WON += $8398[71] // (int) +$8398[97] *= 12 +0058: $ROULETE_CASH_WON += $8398[97] // (int) +$8398[110] *= 9 +0058: $ROULETE_CASH_WON += $8398[110] // (int) +$8398[111] *= 9 +0058: $ROULETE_CASH_WON += $8398[111] // (int) +$8398[112] *= 9 +0058: $ROULETE_CASH_WON += $8398[112] // (int) +$8398[113] *= 9 +0058: $ROULETE_CASH_WON += $8398[113] // (int) +$8398[129] *= 3 +0058: $ROULETE_CASH_WON += $8398[129] // (int) +$8398[131] *= 3 +0058: $ROULETE_CASH_WON += $8398[131] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[142] *= 6 +0058: $ROULETE_CASH_WON += $8398[142] // (int) +$8398[143] *= 6 +0058: $ROULETE_CASH_WON += $8398[143] // (int) + +:ROULETE_12295 +if + 18@ == 12 +else_jump @ROULETE_12523 +$8398[12] *= 36 +0058: $ROULETE_CASH_WON += $8398[12] // (int) +$8398[69] *= 18 +0058: $ROULETE_CASH_WON += $8398[69] // (int) +$8398[44] *= 18 +0058: $ROULETE_CASH_WON += $8398[44] // (int) +$8398[72] *= 18 +0058: $ROULETE_CASH_WON += $8398[72] // (int) +$8398[97] *= 12 +0058: $ROULETE_CASH_WON += $8398[97] // (int) +$8398[111] *= 9 +0058: $ROULETE_CASH_WON += $8398[111] // (int) +$8398[113] *= 9 +0058: $ROULETE_CASH_WON += $8398[113] // (int) +$8398[130] *= 3 +0058: $ROULETE_CASH_WON += $8398[130] // (int) +$8398[131] *= 3 +0058: $ROULETE_CASH_WON += $8398[131] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[142] *= 6 +0058: $ROULETE_CASH_WON += $8398[142] // (int) +$8398[143] *= 6 +0058: $ROULETE_CASH_WON += $8398[143] // (int) + +:ROULETE_12523 +if + 18@ == 13 +else_jump @ROULETE_12751 +$8398[13] *= 36 +0058: $ROULETE_CASH_WON += $8398[13] // (int) +$8398[70] *= 18 +0058: $ROULETE_CASH_WON += $8398[70] // (int) +$8398[45] *= 18 +0058: $ROULETE_CASH_WON += $8398[45] // (int) +$8398[73] *= 18 +0058: $ROULETE_CASH_WON += $8398[73] // (int) +$8398[98] *= 12 +0058: $ROULETE_CASH_WON += $8398[98] // (int) +$8398[112] *= 9 +0058: $ROULETE_CASH_WON += $8398[112] // (int) +$8398[114] *= 9 +0058: $ROULETE_CASH_WON += $8398[114] // (int) +$8398[128] *= 3 +0058: $ROULETE_CASH_WON += $8398[128] // (int) +$8398[132] *= 3 +0058: $ROULETE_CASH_WON += $8398[132] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[143] *= 6 +0058: $ROULETE_CASH_WON += $8398[143] // (int) +$8398[144] *= 6 +0058: $ROULETE_CASH_WON += $8398[144] // (int) + +:ROULETE_12751 +if + 18@ == 14 +else_jump @ROULETE_13024 +$8398[14] *= 36 +0058: $ROULETE_CASH_WON += $8398[14] // (int) +$8398[71] *= 18 +0058: $ROULETE_CASH_WON += $8398[71] // (int) +$8398[45] *= 18 +0058: $ROULETE_CASH_WON += $8398[45] // (int) +$8398[46] *= 18 +0058: $ROULETE_CASH_WON += $8398[46] // (int) +$8398[74] *= 18 +0058: $ROULETE_CASH_WON += $8398[74] // (int) +$8398[98] *= 12 +0058: $ROULETE_CASH_WON += $8398[98] // (int) +$8398[112] *= 9 +0058: $ROULETE_CASH_WON += $8398[112] // (int) +$8398[113] *= 9 +0058: $ROULETE_CASH_WON += $8398[113] // (int) +$8398[114] *= 9 +0058: $ROULETE_CASH_WON += $8398[114] // (int) +$8398[115] *= 9 +0058: $ROULETE_CASH_WON += $8398[115] // (int) +$8398[129] *= 3 +0058: $ROULETE_CASH_WON += $8398[129] // (int) +$8398[132] *= 3 +0058: $ROULETE_CASH_WON += $8398[132] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[143] *= 6 +0058: $ROULETE_CASH_WON += $8398[143] // (int) +$8398[144] *= 6 +0058: $ROULETE_CASH_WON += $8398[144] // (int) + +:ROULETE_13024 +if + 18@ == 15 +else_jump @ROULETE_13252 +$8398[15] *= 36 +0058: $ROULETE_CASH_WON += $8398[15] // (int) +$8398[72] *= 18 +0058: $ROULETE_CASH_WON += $8398[72] // (int) +$8398[46] *= 18 +0058: $ROULETE_CASH_WON += $8398[46] // (int) +$8398[75] *= 18 +0058: $ROULETE_CASH_WON += $8398[75] // (int) +$8398[98] *= 12 +0058: $ROULETE_CASH_WON += $8398[98] // (int) +$8398[113] *= 9 +0058: $ROULETE_CASH_WON += $8398[113] // (int) +$8398[115] *= 9 +0058: $ROULETE_CASH_WON += $8398[115] // (int) +$8398[130] *= 3 +0058: $ROULETE_CASH_WON += $8398[130] // (int) +$8398[132] *= 3 +0058: $ROULETE_CASH_WON += $8398[132] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[143] *= 6 +0058: $ROULETE_CASH_WON += $8398[143] // (int) +$8398[144] *= 6 +0058: $ROULETE_CASH_WON += $8398[144] // (int) + +:ROULETE_13252 +if + 18@ == 16 +else_jump @ROULETE_13480 +$8398[16] *= 36 +0058: $ROULETE_CASH_WON += $8398[16] // (int) +$8398[73] *= 18 +0058: $ROULETE_CASH_WON += $8398[73] // (int) +$8398[47] *= 18 +0058: $ROULETE_CASH_WON += $8398[47] // (int) +$8398[76] *= 18 +0058: $ROULETE_CASH_WON += $8398[76] // (int) +$8398[99] *= 12 +0058: $ROULETE_CASH_WON += $8398[99] // (int) +$8398[114] *= 9 +0058: $ROULETE_CASH_WON += $8398[114] // (int) +$8398[116] *= 9 +0058: $ROULETE_CASH_WON += $8398[116] // (int) +$8398[128] *= 3 +0058: $ROULETE_CASH_WON += $8398[128] // (int) +$8398[132] *= 3 +0058: $ROULETE_CASH_WON += $8398[132] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[144] *= 6 +0058: $ROULETE_CASH_WON += $8398[144] // (int) +$8398[145] *= 6 +0058: $ROULETE_CASH_WON += $8398[145] // (int) + +:ROULETE_13480 +if + 18@ == 17 +else_jump @ROULETE_13753 +$8398[17] *= 36 +0058: $ROULETE_CASH_WON += $8398[17] // (int) +$8398[74] *= 18 +0058: $ROULETE_CASH_WON += $8398[74] // (int) +$8398[47] *= 18 +0058: $ROULETE_CASH_WON += $8398[47] // (int) +$8398[48] *= 18 +0058: $ROULETE_CASH_WON += $8398[48] // (int) +$8398[77] *= 18 +0058: $ROULETE_CASH_WON += $8398[77] // (int) +$8398[99] *= 12 +0058: $ROULETE_CASH_WON += $8398[99] // (int) +$8398[114] *= 9 +0058: $ROULETE_CASH_WON += $8398[114] // (int) +$8398[115] *= 9 +0058: $ROULETE_CASH_WON += $8398[115] // (int) +$8398[116] *= 9 +0058: $ROULETE_CASH_WON += $8398[116] // (int) +$8398[117] *= 9 +0058: $ROULETE_CASH_WON += $8398[117] // (int) +$8398[129] *= 3 +0058: $ROULETE_CASH_WON += $8398[129] // (int) +$8398[132] *= 3 +0058: $ROULETE_CASH_WON += $8398[132] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[144] *= 6 +0058: $ROULETE_CASH_WON += $8398[144] // (int) +$8398[145] *= 6 +0058: $ROULETE_CASH_WON += $8398[145] // (int) + +:ROULETE_13753 +if + 18@ == 18 +else_jump @ROULETE_13981 +$8398[18] *= 36 +0058: $ROULETE_CASH_WON += $8398[18] // (int) +$8398[75] *= 18 +0058: $ROULETE_CASH_WON += $8398[75] // (int) +$8398[48] *= 18 +0058: $ROULETE_CASH_WON += $8398[48] // (int) +$8398[78] *= 18 +0058: $ROULETE_CASH_WON += $8398[78] // (int) +$8398[99] *= 12 +0058: $ROULETE_CASH_WON += $8398[99] // (int) +$8398[115] *= 9 +0058: $ROULETE_CASH_WON += $8398[115] // (int) +$8398[117] *= 9 +0058: $ROULETE_CASH_WON += $8398[117] // (int) +$8398[130] *= 3 +0058: $ROULETE_CASH_WON += $8398[130] // (int) +$8398[132] *= 3 +0058: $ROULETE_CASH_WON += $8398[132] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[134] *= 2 +0058: $ROULETE_CASH_WON += $8398[134] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[144] *= 6 +0058: $ROULETE_CASH_WON += $8398[144] // (int) +$8398[145] *= 6 +0058: $ROULETE_CASH_WON += $8398[145] // (int) + +:ROULETE_13981 +if + 18@ == 19 +else_jump @ROULETE_14209 +$8398[19] *= 36 +0058: $ROULETE_CASH_WON += $8398[19] // (int) +$8398[76] *= 18 +0058: $ROULETE_CASH_WON += $8398[76] // (int) +$8398[49] *= 18 +0058: $ROULETE_CASH_WON += $8398[49] // (int) +$8398[79] *= 18 +0058: $ROULETE_CASH_WON += $8398[79] // (int) +$8398[100] *= 12 +0058: $ROULETE_CASH_WON += $8398[100] // (int) +$8398[116] *= 9 +0058: $ROULETE_CASH_WON += $8398[116] // (int) +$8398[118] *= 9 +0058: $ROULETE_CASH_WON += $8398[118] // (int) +$8398[128] *= 3 +0058: $ROULETE_CASH_WON += $8398[128] // (int) +$8398[132] *= 3 +0058: $ROULETE_CASH_WON += $8398[132] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[145] *= 6 +0058: $ROULETE_CASH_WON += $8398[145] // (int) +$8398[146] *= 6 +0058: $ROULETE_CASH_WON += $8398[146] // (int) + +:ROULETE_14209 +if + 18@ == 20 +else_jump @ROULETE_14482 +$8398[20] *= 36 +0058: $ROULETE_CASH_WON += $8398[20] // (int) +$8398[77] *= 18 +0058: $ROULETE_CASH_WON += $8398[77] // (int) +$8398[49] *= 18 +0058: $ROULETE_CASH_WON += $8398[49] // (int) +$8398[50] *= 18 +0058: $ROULETE_CASH_WON += $8398[50] // (int) +$8398[80] *= 18 +0058: $ROULETE_CASH_WON += $8398[80] // (int) +$8398[100] *= 12 +0058: $ROULETE_CASH_WON += $8398[100] // (int) +$8398[116] *= 9 +0058: $ROULETE_CASH_WON += $8398[116] // (int) +$8398[117] *= 9 +0058: $ROULETE_CASH_WON += $8398[117] // (int) +$8398[118] *= 9 +0058: $ROULETE_CASH_WON += $8398[118] // (int) +$8398[119] *= 9 +0058: $ROULETE_CASH_WON += $8398[119] // (int) +$8398[129] *= 3 +0058: $ROULETE_CASH_WON += $8398[129] // (int) +$8398[132] *= 3 +0058: $ROULETE_CASH_WON += $8398[132] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[145] *= 6 +0058: $ROULETE_CASH_WON += $8398[145] // (int) +$8398[146] *= 6 +0058: $ROULETE_CASH_WON += $8398[146] // (int) + +:ROULETE_14482 +if + 18@ == 21 +else_jump @ROULETE_14710 +$8398[21] *= 36 +0058: $ROULETE_CASH_WON += $8398[21] // (int) +$8398[78] *= 18 +0058: $ROULETE_CASH_WON += $8398[78] // (int) +$8398[50] *= 18 +0058: $ROULETE_CASH_WON += $8398[50] // (int) +$8398[81] *= 18 +0058: $ROULETE_CASH_WON += $8398[81] // (int) +$8398[100] *= 12 +0058: $ROULETE_CASH_WON += $8398[100] // (int) +$8398[117] *= 9 +0058: $ROULETE_CASH_WON += $8398[117] // (int) +$8398[119] *= 9 +0058: $ROULETE_CASH_WON += $8398[119] // (int) +$8398[130] *= 3 +0058: $ROULETE_CASH_WON += $8398[130] // (int) +$8398[132] *= 3 +0058: $ROULETE_CASH_WON += $8398[132] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[145] *= 6 +0058: $ROULETE_CASH_WON += $8398[145] // (int) +$8398[146] *= 6 +0058: $ROULETE_CASH_WON += $8398[146] // (int) + +:ROULETE_14710 +if + 18@ == 22 +else_jump @ROULETE_14938 +$8398[22] *= 36 +0058: $ROULETE_CASH_WON += $8398[22] // (int) +$8398[79] *= 18 +0058: $ROULETE_CASH_WON += $8398[79] // (int) +$8398[51] *= 18 +0058: $ROULETE_CASH_WON += $8398[51] // (int) +$8398[82] *= 18 +0058: $ROULETE_CASH_WON += $8398[82] // (int) +$8398[101] *= 12 +0058: $ROULETE_CASH_WON += $8398[101] // (int) +$8398[118] *= 9 +0058: $ROULETE_CASH_WON += $8398[118] // (int) +$8398[120] *= 9 +0058: $ROULETE_CASH_WON += $8398[120] // (int) +$8398[128] *= 3 +0058: $ROULETE_CASH_WON += $8398[128] // (int) +$8398[132] *= 3 +0058: $ROULETE_CASH_WON += $8398[132] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[146] *= 6 +0058: $ROULETE_CASH_WON += $8398[146] // (int) +$8398[147] *= 6 +0058: $ROULETE_CASH_WON += $8398[147] // (int) + +:ROULETE_14938 +if + 18@ == 23 +else_jump @ROULETE_15211 +$8398[23] *= 36 +0058: $ROULETE_CASH_WON += $8398[23] // (int) +$8398[80] *= 18 +0058: $ROULETE_CASH_WON += $8398[80] // (int) +$8398[51] *= 18 +0058: $ROULETE_CASH_WON += $8398[51] // (int) +$8398[52] *= 18 +0058: $ROULETE_CASH_WON += $8398[52] // (int) +$8398[83] *= 18 +0058: $ROULETE_CASH_WON += $8398[83] // (int) +$8398[101] *= 12 +0058: $ROULETE_CASH_WON += $8398[101] // (int) +$8398[118] *= 9 +0058: $ROULETE_CASH_WON += $8398[118] // (int) +$8398[119] *= 9 +0058: $ROULETE_CASH_WON += $8398[119] // (int) +$8398[120] *= 9 +0058: $ROULETE_CASH_WON += $8398[120] // (int) +$8398[121] *= 9 +0058: $ROULETE_CASH_WON += $8398[121] // (int) +$8398[129] *= 3 +0058: $ROULETE_CASH_WON += $8398[129] // (int) +$8398[132] *= 3 +0058: $ROULETE_CASH_WON += $8398[132] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[146] *= 6 +0058: $ROULETE_CASH_WON += $8398[146] // (int) +$8398[147] *= 6 +0058: $ROULETE_CASH_WON += $8398[147] // (int) + +:ROULETE_15211 +if + 18@ == 24 +else_jump @ROULETE_15439 +$8398[24] *= 36 +0058: $ROULETE_CASH_WON += $8398[24] // (int) +$8398[81] *= 18 +0058: $ROULETE_CASH_WON += $8398[81] // (int) +$8398[52] *= 18 +0058: $ROULETE_CASH_WON += $8398[52] // (int) +$8398[84] *= 18 +0058: $ROULETE_CASH_WON += $8398[84] // (int) +$8398[101] *= 12 +0058: $ROULETE_CASH_WON += $8398[101] // (int) +$8398[119] *= 9 +0058: $ROULETE_CASH_WON += $8398[119] // (int) +$8398[121] *= 9 +0058: $ROULETE_CASH_WON += $8398[121] // (int) +$8398[130] *= 3 +0058: $ROULETE_CASH_WON += $8398[130] // (int) +$8398[132] *= 3 +0058: $ROULETE_CASH_WON += $8398[132] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[146] *= 6 +0058: $ROULETE_CASH_WON += $8398[146] // (int) +$8398[147] *= 6 +0058: $ROULETE_CASH_WON += $8398[147] // (int) + +:ROULETE_15439 +if + 18@ == 25 +else_jump @ROULETE_15667 +$8398[25] *= 36 +0058: $ROULETE_CASH_WON += $8398[25] // (int) +$8398[82] *= 18 +0058: $ROULETE_CASH_WON += $8398[82] // (int) +$8398[53] *= 18 +0058: $ROULETE_CASH_WON += $8398[53] // (int) +$8398[85] *= 18 +0058: $ROULETE_CASH_WON += $8398[85] // (int) +$8398[102] *= 12 +0058: $ROULETE_CASH_WON += $8398[102] // (int) +$8398[120] *= 9 +0058: $ROULETE_CASH_WON += $8398[120] // (int) +$8398[122] *= 9 +0058: $ROULETE_CASH_WON += $8398[122] // (int) +$8398[128] *= 3 +0058: $ROULETE_CASH_WON += $8398[128] // (int) +$8398[133] *= 3 +0058: $ROULETE_CASH_WON += $8398[133] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[147] *= 6 +0058: $ROULETE_CASH_WON += $8398[147] // (int) +$8398[148] *= 6 +0058: $ROULETE_CASH_WON += $8398[148] // (int) + +:ROULETE_15667 +if + 18@ == 26 +else_jump @ROULETE_15940 +$8398[26] *= 36 +0058: $ROULETE_CASH_WON += $8398[26] // (int) +$8398[83] *= 18 +0058: $ROULETE_CASH_WON += $8398[83] // (int) +$8398[53] *= 18 +0058: $ROULETE_CASH_WON += $8398[53] // (int) +$8398[54] *= 18 +0058: $ROULETE_CASH_WON += $8398[54] // (int) +$8398[86] *= 18 +0058: $ROULETE_CASH_WON += $8398[86] // (int) +$8398[102] *= 12 +0058: $ROULETE_CASH_WON += $8398[102] // (int) +$8398[120] *= 9 +0058: $ROULETE_CASH_WON += $8398[120] // (int) +$8398[121] *= 9 +0058: $ROULETE_CASH_WON += $8398[121] // (int) +$8398[122] *= 9 +0058: $ROULETE_CASH_WON += $8398[122] // (int) +$8398[123] *= 9 +0058: $ROULETE_CASH_WON += $8398[123] // (int) +$8398[129] *= 3 +0058: $ROULETE_CASH_WON += $8398[129] // (int) +$8398[133] *= 3 +0058: $ROULETE_CASH_WON += $8398[133] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[147] *= 6 +0058: $ROULETE_CASH_WON += $8398[147] // (int) +$8398[148] *= 6 +0058: $ROULETE_CASH_WON += $8398[148] // (int) + +:ROULETE_15940 +if + 18@ == 27 +else_jump @ROULETE_16168 +$8398[27] *= 36 +0058: $ROULETE_CASH_WON += $8398[27] // (int) +$8398[84] *= 18 +0058: $ROULETE_CASH_WON += $8398[84] // (int) +$8398[54] *= 18 +0058: $ROULETE_CASH_WON += $8398[54] // (int) +$8398[87] *= 18 +0058: $ROULETE_CASH_WON += $8398[87] // (int) +$8398[102] *= 12 +0058: $ROULETE_CASH_WON += $8398[102] // (int) +$8398[121] *= 9 +0058: $ROULETE_CASH_WON += $8398[121] // (int) +$8398[123] *= 9 +0058: $ROULETE_CASH_WON += $8398[123] // (int) +$8398[130] *= 3 +0058: $ROULETE_CASH_WON += $8398[130] // (int) +$8398[133] *= 3 +0058: $ROULETE_CASH_WON += $8398[133] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[147] *= 6 +0058: $ROULETE_CASH_WON += $8398[147] // (int) +$8398[148] *= 6 +0058: $ROULETE_CASH_WON += $8398[148] // (int) + +:ROULETE_16168 +if + 18@ == 28 +else_jump @ROULETE_16396 +$8398[28] *= 36 +0058: $ROULETE_CASH_WON += $8398[28] // (int) +$8398[85] *= 18 +0058: $ROULETE_CASH_WON += $8398[85] // (int) +$8398[55] *= 18 +0058: $ROULETE_CASH_WON += $8398[55] // (int) +$8398[88] *= 18 +0058: $ROULETE_CASH_WON += $8398[88] // (int) +$8398[103] *= 12 +0058: $ROULETE_CASH_WON += $8398[103] // (int) +$8398[122] *= 9 +0058: $ROULETE_CASH_WON += $8398[122] // (int) +$8398[124] *= 9 +0058: $ROULETE_CASH_WON += $8398[124] // (int) +$8398[128] *= 3 +0058: $ROULETE_CASH_WON += $8398[128] // (int) +$8398[133] *= 3 +0058: $ROULETE_CASH_WON += $8398[133] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[148] *= 6 +0058: $ROULETE_CASH_WON += $8398[148] // (int) +$8398[149] *= 6 +0058: $ROULETE_CASH_WON += $8398[149] // (int) + +:ROULETE_16396 +if + 18@ == 29 +else_jump @ROULETE_16669 +$8398[29] *= 36 +0058: $ROULETE_CASH_WON += $8398[29] // (int) +$8398[86] *= 18 +0058: $ROULETE_CASH_WON += $8398[86] // (int) +$8398[55] *= 18 +0058: $ROULETE_CASH_WON += $8398[55] // (int) +$8398[56] *= 18 +0058: $ROULETE_CASH_WON += $8398[56] // (int) +$8398[89] *= 18 +0058: $ROULETE_CASH_WON += $8398[89] // (int) +$8398[103] *= 12 +0058: $ROULETE_CASH_WON += $8398[103] // (int) +$8398[122] *= 9 +0058: $ROULETE_CASH_WON += $8398[122] // (int) +$8398[123] *= 9 +0058: $ROULETE_CASH_WON += $8398[123] // (int) +$8398[124] *= 9 +0058: $ROULETE_CASH_WON += $8398[124] // (int) +$8398[125] *= 9 +0058: $ROULETE_CASH_WON += $8398[125] // (int) +$8398[129] *= 3 +0058: $ROULETE_CASH_WON += $8398[129] // (int) +$8398[133] *= 3 +0058: $ROULETE_CASH_WON += $8398[133] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[148] *= 6 +0058: $ROULETE_CASH_WON += $8398[148] // (int) +$8398[149] *= 6 +0058: $ROULETE_CASH_WON += $8398[149] // (int) + +:ROULETE_16669 +if + 18@ == 30 +else_jump @ROULETE_16897 +$8398[30] *= 36 +0058: $ROULETE_CASH_WON += $8398[30] // (int) +$8398[87] *= 18 +0058: $ROULETE_CASH_WON += $8398[87] // (int) +$8398[56] *= 18 +0058: $ROULETE_CASH_WON += $8398[56] // (int) +$8398[90] *= 18 +0058: $ROULETE_CASH_WON += $8398[90] // (int) +$8398[103] *= 12 +0058: $ROULETE_CASH_WON += $8398[103] // (int) +$8398[123] *= 9 +0058: $ROULETE_CASH_WON += $8398[123] // (int) +$8398[125] *= 9 +0058: $ROULETE_CASH_WON += $8398[125] // (int) +$8398[130] *= 3 +0058: $ROULETE_CASH_WON += $8398[130] // (int) +$8398[133] *= 3 +0058: $ROULETE_CASH_WON += $8398[133] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[148] *= 6 +0058: $ROULETE_CASH_WON += $8398[148] // (int) +$8398[149] *= 6 +0058: $ROULETE_CASH_WON += $8398[149] // (int) + +:ROULETE_16897 +if + 18@ == 31 +else_jump @ROULETE_17125 +$8398[31] *= 36 +0058: $ROULETE_CASH_WON += $8398[31] // (int) +$8398[88] *= 18 +0058: $ROULETE_CASH_WON += $8398[88] // (int) +$8398[57] *= 18 +0058: $ROULETE_CASH_WON += $8398[57] // (int) +$8398[91] *= 18 +0058: $ROULETE_CASH_WON += $8398[91] // (int) +$8398[104] *= 12 +0058: $ROULETE_CASH_WON += $8398[104] // (int) +$8398[124] *= 9 +0058: $ROULETE_CASH_WON += $8398[124] // (int) +$8398[126] *= 9 +0058: $ROULETE_CASH_WON += $8398[126] // (int) +$8398[128] *= 3 +0058: $ROULETE_CASH_WON += $8398[128] // (int) +$8398[133] *= 3 +0058: $ROULETE_CASH_WON += $8398[133] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[149] *= 6 +0058: $ROULETE_CASH_WON += $8398[149] // (int) +$8398[150] *= 6 +0058: $ROULETE_CASH_WON += $8398[150] // (int) + +:ROULETE_17125 +if + 18@ == 32 +else_jump @ROULETE_17398 +$8398[32] *= 36 +0058: $ROULETE_CASH_WON += $8398[32] // (int) +$8398[89] *= 18 +0058: $ROULETE_CASH_WON += $8398[89] // (int) +$8398[57] *= 18 +0058: $ROULETE_CASH_WON += $8398[57] // (int) +$8398[58] *= 18 +0058: $ROULETE_CASH_WON += $8398[58] // (int) +$8398[92] *= 18 +0058: $ROULETE_CASH_WON += $8398[92] // (int) +$8398[104] *= 12 +0058: $ROULETE_CASH_WON += $8398[104] // (int) +$8398[124] *= 9 +0058: $ROULETE_CASH_WON += $8398[124] // (int) +$8398[125] *= 9 +0058: $ROULETE_CASH_WON += $8398[125] // (int) +$8398[126] *= 9 +0058: $ROULETE_CASH_WON += $8398[126] // (int) +$8398[127] *= 9 +0058: $ROULETE_CASH_WON += $8398[127] // (int) +$8398[129] *= 3 +0058: $ROULETE_CASH_WON += $8398[129] // (int) +$8398[133] *= 3 +0058: $ROULETE_CASH_WON += $8398[133] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[149] *= 6 +0058: $ROULETE_CASH_WON += $8398[149] // (int) +$8398[150] *= 6 +0058: $ROULETE_CASH_WON += $8398[150] // (int) + +:ROULETE_17398 +if + 18@ == 33 +else_jump @ROULETE_17626 +$8398[33] *= 36 +0058: $ROULETE_CASH_WON += $8398[33] // (int) +$8398[90] *= 18 +0058: $ROULETE_CASH_WON += $8398[90] // (int) +$8398[58] *= 18 +0058: $ROULETE_CASH_WON += $8398[58] // (int) +$8398[93] *= 18 +0058: $ROULETE_CASH_WON += $8398[93] // (int) +$8398[104] *= 12 +0058: $ROULETE_CASH_WON += $8398[104] // (int) +$8398[125] *= 9 +0058: $ROULETE_CASH_WON += $8398[125] // (int) +$8398[127] *= 9 +0058: $ROULETE_CASH_WON += $8398[127] // (int) +$8398[130] *= 3 +0058: $ROULETE_CASH_WON += $8398[130] // (int) +$8398[133] *= 3 +0058: $ROULETE_CASH_WON += $8398[133] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[149] *= 6 +0058: $ROULETE_CASH_WON += $8398[149] // (int) +$8398[150] *= 6 +0058: $ROULETE_CASH_WON += $8398[150] // (int) + +:ROULETE_17626 +if + 18@ == 34 +else_jump @ROULETE_17809 +$8398[34] *= 36 +0058: $ROULETE_CASH_WON += $8398[34] // (int) +$8398[91] *= 18 +0058: $ROULETE_CASH_WON += $8398[91] // (int) +$8398[59] *= 18 +0058: $ROULETE_CASH_WON += $8398[59] // (int) +$8398[105] *= 12 +0058: $ROULETE_CASH_WON += $8398[105] // (int) +$8398[126] *= 9 +0058: $ROULETE_CASH_WON += $8398[126] // (int) +$8398[128] *= 3 +0058: $ROULETE_CASH_WON += $8398[128] // (int) +$8398[133] *= 3 +0058: $ROULETE_CASH_WON += $8398[133] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[150] *= 6 +0058: $ROULETE_CASH_WON += $8398[150] // (int) + +:ROULETE_17809 +if + 18@ == 35 +else_jump @ROULETE_18022 +$8398[35] *= 36 +0058: $ROULETE_CASH_WON += $8398[35] // (int) +$8398[92] *= 18 +0058: $ROULETE_CASH_WON += $8398[92] // (int) +$8398[59] *= 18 +0058: $ROULETE_CASH_WON += $8398[59] // (int) +$8398[60] *= 18 +0058: $ROULETE_CASH_WON += $8398[60] // (int) +$8398[105] *= 12 +0058: $ROULETE_CASH_WON += $8398[105] // (int) +$8398[126] *= 9 +0058: $ROULETE_CASH_WON += $8398[126] // (int) +$8398[127] *= 9 +0058: $ROULETE_CASH_WON += $8398[127] // (int) +$8398[129] *= 3 +0058: $ROULETE_CASH_WON += $8398[129] // (int) +$8398[133] *= 3 +0058: $ROULETE_CASH_WON += $8398[133] // (int) +$8398[137] *= 2 +0058: $ROULETE_CASH_WON += $8398[137] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[139] *= 2 +0058: $ROULETE_CASH_WON += $8398[139] // (int) +$8398[150] *= 6 +0058: $ROULETE_CASH_WON += $8398[150] // (int) + +:ROULETE_18022 +if + 18@ == 36 +else_jump @ROULETE_18205 +$8398[36] *= 36 +0058: $ROULETE_CASH_WON += $8398[36] // (int) +$8398[93] *= 18 +0058: $ROULETE_CASH_WON += $8398[93] // (int) +$8398[60] *= 18 +0058: $ROULETE_CASH_WON += $8398[60] // (int) +$8398[105] *= 12 +0058: $ROULETE_CASH_WON += $8398[105] // (int) +$8398[127] *= 9 +0058: $ROULETE_CASH_WON += $8398[127] // (int) +$8398[130] *= 3 +0058: $ROULETE_CASH_WON += $8398[130] // (int) +$8398[133] *= 3 +0058: $ROULETE_CASH_WON += $8398[133] // (int) +$8398[136] *= 2 +0058: $ROULETE_CASH_WON += $8398[136] // (int) +$8398[135] *= 2 +0058: $ROULETE_CASH_WON += $8398[135] // (int) +$8398[138] *= 2 +0058: $ROULETE_CASH_WON += $8398[138] // (int) +$8398[150] *= 6 +0058: $ROULETE_CASH_WON += $8398[150] // (int) + +:ROULETE_18205 +return + +:ROULETE_18207 +0340: set_text_draw_RGBA 180 180 180 255 +033F: set_text_draw_letter_size $3485 $3487 +03E4: set_text_draw_align_right 0 +0341: set_text_draw_align_justify 0 +0342: set_text_draw_centered 0 +0343: set_text_draw_linewidth 640.0 +0348: enable_text_draw_proportional 1 +0345: enable_text_draw_background 0 +return + +//-------------External script 12 (SLOT_MACHINE)--------------- + +:BANDIT +thread 'BANDIT' +4@ = 0 +6@ = 0 +10@ = 0.0 +11@ = 0.0 +12@ = 0.0 +13@ = 0 +0209: 14@ = random_int_in_ranges 0 5 +if + 14@ == 1 +else_jump @BANDIT_96 +14@ = 5 + +:BANDIT_96 +if + 14@ == 0 +else_jump @BANDIT_121 +14@ = 1 + +:BANDIT_121 +if + 14@ == 2 +else_jump @BANDIT_146 +14@ = 10 + +:BANDIT_146 +if + 14@ == 3 +else_jump @BANDIT_171 +14@ = 20 + +:BANDIT_171 +if + 14@ == 4 +else_jump @BANDIT_196 +14@ = 50 + +:BANDIT_196 +if + 4@ == 1 +else_jump @BANDIT_252 +0@ = Object.Init(#KB_BANDIT_U, 0.0, 0.0, 0.0) +1@ = Object.Init(#CJ_WHEEL_1, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:BANDIT_252 +wait 0 +01BD: $CURRENT_TIME_IN_MS2 = current_time_in_ms +if +03CA: object 0@ exists +else_jump @BANDIT_2841 +if +0977: player_in_radius_of_object 0@ external_script_trigger +else_jump @BANDIT_2827 +if + Player.Defined($PLAYER_CHAR) +else_jump @BANDIT_2813 +0871: init_jump_table 4@ total_jumps 7 default_jump 0 @BANDIT_2806 jumps 0 @BANDIT_372 1 @BANDIT_586 2 @BANDIT_774 3 @BANDIT_1338 4 @BANDIT_1577 5 @BANDIT_1925 6 @BANDIT_2531 + +:BANDIT_372 +15@ = Object.Model(0@) +if + Model.Available(15@) +else_jump @BANDIT_579 +$TEMPVAR_ANGLE = Object.Angle(0@) +if +83CA: not object 1@ exists +else_jump @BANDIT_460 +080A: get_object 0@ spoot 1 store_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +1@ = Object.Init(#CJ_WHEEL_1, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle(1@) = $TEMPVAR_ANGLE + +:BANDIT_460 +if +83CA: not object 2@ exists +else_jump @BANDIT_516 +080A: get_object 0@ spoot 2 store_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +2@ = Object.Init(#CJ_WHEEL_02, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle(2@) = $TEMPVAR_ANGLE + +:BANDIT_516 +if +83CA: not object 3@ exists +else_jump @BANDIT_572 +080A: get_object 0@ spoot 3 store_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +3@ = Object.Init(#CJ_WHEEL_03, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle(3@) = $TEMPVAR_ANGLE + +:BANDIT_572 +4@ += 1 + +:BANDIT_579 +jump @BANDIT_2806 + +:BANDIT_586 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 -1.0 -0.5 +091C: get_actor_in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 1.5 model #VENDMACHFD external_script_named "PEDSLOT" handle_as 16@ +if + 16@ == -1 +else_jump @BANDIT_767 +if +00FF: actor $PLAYER_ACTOR sphere 0 in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.6 0.6 1.0 on_foot +else_jump @BANDIT_740 +07CC: set_player $PLAYER_CHAR can_enter_exit_vehicles 0 +03CF: load_wav 1814 as 4 +gosub @BANDIT_2855 +4@ += 1 +jump @BANDIT_767 + +:BANDIT_740 +if + 13@ == 1 +else_jump @BANDIT_767 +0391: release_textures +13@ = 0 + +:BANDIT_767 +jump @BANDIT_2806 + +:BANDIT_774 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 -1.0 -0.5 +091C: get_actor_in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 1.5 model #VENDMACHFD external_script_named "PEDSLOT" handle_as 16@ +if + 16@ == -1 +else_jump @BANDIT_1288 +04ED: load_animation "CASINO" +if +04EE: animation "CASINO" loaded +else_jump @BANDIT_1281 +if +00FF: actor $PLAYER_ACTOR sphere 0 in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.6 0.6 1.0 on_foot +else_jump @BANDIT_1238 +0A3E: unknown_get_actor_in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.6 0.6 1.0 handle_as 17@ +if + 17@ == -1 +else_jump @BANDIT_1231 +if +89BE: not are_text_boxes_locked_to_any_thread +else_jump @BANDIT_1231 +gosub @BANDIT_2855 +if +00E1: player 0 pressed_key 15 +else_jump @BANDIT_1231 +008A: $3396 = 14@ // (int) +$3396 -= 1 +if + Player.Money($PLAYER_CHAR) > $3396 +else_jump @BANDIT_1211 +Player.CanMove($PLAYER_CHAR) = False +06AB: set_actor $PLAYER_ACTOR all_weapons_hidden 1 +$TEMPVAR_ANGLE = Object.Angle(0@) +0804: AS_actor $PLAYER_ACTOR walk_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 angle $TEMPVAR_ANGLE radius 0.4 animation "SLOT_PLYR" IFP_file "CASINO" 4.0 LA 0 LX 0 LY 0 LF 0 LT 0 +008A: $3396 = 14@ // (int) +$3396 *= -1 +Player.Money($PLAYER_CHAR) += $3396 +0623: add 14@ to_integer_stat 35 +0091: $3401 = integer 14@ to_float +$3401 *= 0.001 +0624: add $3401 to_float_stat 81 +03E6: remove_text_box +09BD: allow_other_threads_to_display_text_boxes 1 +008B: 5@ = $CURRENT_TIME_IN_MS2 // (int) +5@ += 750 +4@ += 1 +jump @BANDIT_1231 + +:BANDIT_1211 +018C: play_sound 1053 at 0.0 0.0 0.0 + +:BANDIT_1231 +jump @BANDIT_1281 + +:BANDIT_1238 +if + 13@ == 1 +else_jump @BANDIT_1265 +0391: release_textures +13@ = 0 + +:BANDIT_1265 +03E6: remove_text_box +07CC: set_player $PLAYER_CHAR can_enter_exit_vehicles 1 +4@ = 1 + +:BANDIT_1281 +jump @BANDIT_1331 + +:BANDIT_1288 +if + 13@ == 1 +else_jump @BANDIT_1315 +0391: release_textures +13@ = 0 + +:BANDIT_1315 +03E6: remove_text_box +07CC: set_player $PLAYER_CHAR can_enter_exit_vehicles 1 +4@ = 1 + +:BANDIT_1331 +jump @BANDIT_2806 + +:BANDIT_1338 +gosub @BANDIT_2855 +if +001E: $CURRENT_TIME_IN_MS2 > 5@ // (int) +else_jump @BANDIT_1570 +03CF: load_wav 1814 as 4 +if +03D0: wav 4 loaded +else_jump @BANDIT_1406 +097A: play_audio_at 0.0 0.0 0.0 event 1087 + +:BANDIT_1406 +07CC: set_player $PLAYER_CHAR can_enter_exit_vehicles 1 +03F0: enable_text_draw 1 +if + 13@ == 0 +else_jump @BANDIT_1521 +0390: load_txd_dictionary 'LD_SLOT' +038F: load_texture "CHERRY" as 1 // Load dictionary with 0390 first +038F: load_texture "GRAPES" as 2 // Load dictionary with 0390 first +038F: load_texture "R_69" as 3 // Load dictionary with 0390 first +038F: load_texture "BELL" as 4 // Load dictionary with 0390 first +038F: load_texture "BAR1_O" as 5 // Load dictionary with 0390 first +038F: load_texture "BAR2_O" as 6 // Load dictionary with 0390 first +13@ = 1 + +:BANDIT_1521 +03CF: load_wav 1814 as 4 +if +03D0: wav 4 loaded +else_jump @BANDIT_1563 +097A: play_audio_at 0.0 0.0 0.0 event 1089 + +:BANDIT_1563 +4@ += 1 + +:BANDIT_1570 +jump @BANDIT_2806 + +:BANDIT_1577 +0079: 10@ += frame_delta_time * 1.0 // (float) +if + 10@ > 10.0 +else_jump @BANDIT_1664 +10@ = 10.0 +0209: $3396 = random_int_in_ranges 2000 3000 +6@ = 0 +008B: 5@ = $CURRENT_TIME_IN_MS2 // (int) +005C: 5@ += $3396 // (int) +0687: clear_actor $PLAYER_ACTOR task +4@ += 1 + +:BANDIT_1664 +0079: 11@ += frame_delta_time * 1.1 // (float) +if + 11@ > 10.0 +else_jump @BANDIT_1705 +11@ = 10.0 + +:BANDIT_1705 +0079: 12@ += frame_delta_time * 1.05 // (float) +if + 12@ > 10.0 +else_jump @BANDIT_1746 +12@ = 10.0 + +:BANDIT_1746 +$TEMPVAR_ANGLE = Object.Angle(0@) +$3400 = 0 + +:BANDIT_1761 +if + 3 > $3400 +else_jump @BANDIT_1911 +if + 10@($3400,3f) > 0.0 +else_jump @BANDIT_1897 +007B: 7@($3400,3f) += frame_delta_time * 10@($3400,3f) // (float) +if or + 7@($3400,3f) > 360.0 + 7@($3400,3f) == 360.0 +else_jump @BANDIT_1873 +7@($3400,3f) -= 360.0 + +:BANDIT_1873 +0453: set_object 1@($3400,3i) XYZ_rotation 7@($3400,3f) 0.0 $TEMPVAR_ANGLE + +:BANDIT_1897 +$3400 += 1 +jump @BANDIT_1761 + +:BANDIT_1911 +gosub @BANDIT_2855 +jump @BANDIT_2806 + +:BANDIT_1925 +if +001E: $CURRENT_TIME_IN_MS2 > 5@ // (int) +else_jump @BANDIT_2352 +007F: 10@(6@,3f) -= frame_delta_time * 0.3 // (float) +if + 0.6 > 10@(6@,3f) +else_jump @BANDIT_2352 +0088: $3401 = 7@(6@,3f) // (float) +$3401 /= 20.0 +008C: $3396 = float $3401 to_integer +$3396 *= 20 +008D: $3401 = integer $3396 to_float +0088: $3402 = 7@(6@,3f) // (float) +0061: $3402 -= $3401 // (float) +if + 10.0 > $3402 +else_jump @BANDIT_2338 +10@(6@,3f) = 0.0 +0088: $3401 = 7@(6@,3f) // (float) +$3401 /= 20.0 +008C: $3396 = float $3401 to_integer +008F: 7@(6@,3f) = integer $3396 to_float +7@(6@,3f) *= 20.0 +0209: $3396 = random_int_in_ranges 750 1000 +008B: 5@ = $CURRENT_TIME_IN_MS2 // (int) +005C: 5@ += $3396 // (int) +if + 2 > 6@ +else_jump @BANDIT_2282 +03CF: load_wav 1814 as 4 +if +03D0: wav 4 loaded +else_jump @BANDIT_2226 +097A: play_audio_at 0.0 0.0 0.0 event 1088 + +:BANDIT_2226 +03CF: load_wav 1814 as 4 +if +03D0: wav 4 loaded +else_jump @BANDIT_2268 +097A: play_audio_at 0.0 0.0 0.0 event 1089 + +:BANDIT_2268 +6@ += 1 +jump @BANDIT_2331 + +:BANDIT_2282 +03CF: load_wav 1814 as 4 +if +03D0: wav 4 loaded +else_jump @BANDIT_2324 +097A: play_audio_at 0.0 0.0 0.0 event 1088 + +:BANDIT_2324 +4@ += 1 + +:BANDIT_2331 +jump @BANDIT_2352 + +:BANDIT_2338 +10@(6@,3f) = 0.6 + +:BANDIT_2352 +$TEMPVAR_ANGLE = Object.Angle(0@) +$3400 = 0 + +:BANDIT_2367 +if + 3 > $3400 +else_jump @BANDIT_2517 +if + 10@($3400,3f) > 0.0 +else_jump @BANDIT_2503 +007B: 7@($3400,3f) += frame_delta_time * 10@($3400,3f) // (float) +if or + 7@($3400,3f) > 360.0 + 7@($3400,3f) == 360.0 +else_jump @BANDIT_2479 +7@($3400,3f) -= 360.0 + +:BANDIT_2479 +0453: set_object 1@($3400,3i) XYZ_rotation 7@($3400,3f) 0.0 $TEMPVAR_ANGLE + +:BANDIT_2503 +$3400 += 1 +jump @BANDIT_2367 + +:BANDIT_2517 +gosub @BANDIT_2855 +jump @BANDIT_2806 + +:BANDIT_2531 +0088: $3401 = 7@ // (float) +$3401 /= 20.0 +008C: $3396 = float $3401 to_integer +0088: $3401 = 8@ // (float) +$3401 /= 20.0 +008C: $COLOR_RED = float $3401 to_integer +0088: $3401 = 9@ // (float) +$3401 /= 20.0 +008C: $COLOR_GREEN = float $3401 to_integer +if and +003A: $3413($3396,18i) == $3431($COLOR_RED,18i) // (int) +003A: $3413($3396,18i) == $3449($COLOR_GREEN,18i) // (int) +else_jump @BANDIT_2754 +008A: $GAMBLES_CASHWIN = 14@ // (int) +0068: $GAMBLES_CASHWIN *= $3413($3396,18i) // (int) +create_thread @CASHWIN $GAMBLES_CASHWIN +Player.Money($PLAYER_CHAR) += $GAMBLES_CASHWIN +03CF: load_wav 1814 as 4 +if +03D0: wav 4 loaded +else_jump @BANDIT_2733 +097A: play_audio_at 0.0 0.0 0.0 event 1090 + +:BANDIT_2733 +0623: add $GAMBLES_CASHWIN to_integer_stat 37 +0627: update_integer_stat 38 to $GAMBLES_CASHWIN +jump @BANDIT_2774 + +:BANDIT_2754 +create_thread @CASHWIN 0 2500 +0627: update_integer_stat 39 to 14@ + +:BANDIT_2774 +Player.CanMove($PLAYER_CHAR) = True +09BD: allow_other_threads_to_display_text_boxes 0 +4@ = 1 +gosub @BANDIT_2855 +jump @BANDIT_2806 + +:BANDIT_2806 +jump @BANDIT_2820 + +:BANDIT_2813 +jump @BANDIT_3437 + +:BANDIT_2820 +jump @BANDIT_2834 + +:BANDIT_2827 +jump @BANDIT_3437 + +:BANDIT_2834 +jump @BANDIT_2848 + +:BANDIT_2841 +jump @BANDIT_3437 + +:BANDIT_2848 +jump @BANDIT_252 + +:BANDIT_2855 +if + 13@ == 1 +else_jump @BANDIT_3435 +03E3: set_texture_to_be_drawn_antialiased 1 +0937: text_draw_box_cornerA $3468 $3473 cornerB $3469 $3474 GXT_reference 'DUMMY' style 0 +$3400 = 0 + +:BANDIT_2909 +if + 3 > $3400 +else_jump @BANDIT_3435 +0088: $3401 = 7@($3400,3f) // (float) +$3401 /= 20.0 +008C: $3396 = float $3401 to_integer +if + $3400 == 0 +else_jump @BANDIT_2995 +0084: $COLOR_RED = $3413($3396,18i) // (int) +0086: $3404 = $3467 // (float) + +:BANDIT_2995 +if + $3400 == 1 +else_jump @BANDIT_3043 +0084: $COLOR_RED = $3431($3396,18i) // (int) +0086: $3404 = $3467 // (float) +$3404 += 64.0 + +:BANDIT_3043 +if + $3400 == 2 +else_jump @BANDIT_3091 +0084: $COLOR_RED = $3449($3396,18i) // (int) +0086: $3404 = $3467 // (float) +$3404 += 128.0 + +:BANDIT_3091 +if +003A: $COLOR_RED == $3407 // (int) +else_jump @BANDIT_3146 +03E3: set_texture_to_be_drawn_antialiased 1 +038D: draw_texture 1 position $3404 $3472 size 64.0 64.0 RGBA 200 200 200 255 + +:BANDIT_3146 +if +003A: $COLOR_RED == $3408 // (int) +else_jump @BANDIT_3201 +03E3: set_texture_to_be_drawn_antialiased 1 +038D: draw_texture 2 position $3404 $3472 size 64.0 64.0 RGBA 200 200 200 255 + +:BANDIT_3201 +if +003A: $COLOR_RED == $3409 // (int) +else_jump @BANDIT_3256 +03E3: set_texture_to_be_drawn_antialiased 1 +038D: draw_texture 3 position $3404 $3472 size 64.0 64.0 RGBA 200 200 200 255 + +:BANDIT_3256 +if +003A: $COLOR_RED == $3410 // (int) +else_jump @BANDIT_3311 +03E3: set_texture_to_be_drawn_antialiased 1 +038D: draw_texture 4 position $3404 $3472 size 64.0 64.0 RGBA 200 200 200 255 + +:BANDIT_3311 +if +003A: $COLOR_RED == $3411 // (int) +else_jump @BANDIT_3366 +03E3: set_texture_to_be_drawn_antialiased 1 +038D: draw_texture 5 position $3404 $3472 size 64.0 64.0 RGBA 200 200 200 255 + +:BANDIT_3366 +if +003A: $COLOR_RED == $3412 // (int) +else_jump @BANDIT_3421 +03E3: set_texture_to_be_drawn_antialiased 1 +038D: draw_texture 6 position $3404 $3472 size 64.0 64.0 RGBA 200 200 200 255 + +:BANDIT_3421 +$3400 += 1 +jump @BANDIT_2909 + +:BANDIT_3435 +return + +:BANDIT_3437 +if + 4@ > 0 +else_jump @BANDIT_3532 +if + 4@ > 1 +else_jump @BANDIT_3482 +03E6: remove_text_box +07CC: set_player $PLAYER_CHAR can_enter_exit_vehicles 1 + +:BANDIT_3482 +if + 4@ > 2 +else_jump @BANDIT_3510 +04EF: release_animation "CASINO" + +:BANDIT_3510 +Object.Destroy(1@) +Object.Destroy(2@) +Object.Destroy(3@) +4@ = 0 + +:BANDIT_3532 +if + 13@ == 1 +else_jump @BANDIT_3559 +0391: release_textures +13@ = 0 + +:BANDIT_3559 +end_thread + +//-------------External script 13 (TICKET)--------------- + +:TICKET +thread 'TICKET' +2@ = 0 +if + 2@ == 1 +else_jump @TICKET_60 +0@ = Actor.Create(CivFemale, 0, 0.0, 0.0, 0.0) + +:TICKET_60 +04ED: load_animation "CASINO" + +:TICKET_70 +if +84EE: not animation "CASINO" loaded +else_jump @TICKET_102 +wait 0 +jump @TICKET_70 + +:TICKET_102 +3@ = 1 +4@ = 0 + +:TICKET_116 +wait 0 +if + not Actor.Dead(0@) +else_jump @TICKET_180 +if +09C5: unknown_actor 0@ +else_jump @TICKET_166 +gosub @TICKET_194 +jump @TICKET_173 + +:TICKET_166 +gosub @TICKET_875 + +:TICKET_173 +jump @TICKET_187 + +:TICKET_180 +gosub @TICKET_875 + +:TICKET_187 +jump @TICKET_116 + +:TICKET_194 +0871: init_jump_table 3@ total_jumps 1 default_jump 0 @TICKET_271 jumps 1 @TICKET_257 -1 @TICKET_271 -1 @TICKET_271 -1 @TICKET_271 -1 @TICKET_271 -1 @TICKET_271 -1 @TICKET_271 + +:TICKET_257 +gosub @TICKET_273 +jump @TICKET_271 + +:TICKET_271 +return + +:TICKET_273 +0871: init_jump_table 4@ total_jumps 7 default_jump 0 @TICKET_873 jumps 0 @TICKET_336 1 @TICKET_387 2 @TICKET_472 3 @TICKET_566 4 @TICKET_650 5 @TICKET_736 6 @TICKET_830 + +:TICKET_336 +0605: actor 0@ perform_animation "SLOT_IN" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +4@ += 1 +jump @TICKET_873 + +:TICKET_387 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @TICKET_465 +0605: actor 0@ perform_animation "SLOT_BET_01" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time 2@ +4@ += 1 + +:TICKET_465 +jump @TICKET_873 + +:TICKET_472 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @TICKET_559 +0209: 2@ = random_int_in_ranges 5000 10000 +0605: actor 0@ perform_animation "SLOT_WAIT" IFP "CASINO" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 1 time 2@ +4@ += 1 + +:TICKET_559 +jump @TICKET_873 + +:TICKET_566 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @TICKET_643 +0605: actor 0@ perform_animation "SLOT_BET_02" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +4@ += 1 + +:TICKET_643 +jump @TICKET_873 + +:TICKET_650 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @TICKET_729 +0605: actor 0@ perform_animation "SLOT_LOSE_OUT" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +4@ += 1 + +:TICKET_729 +jump @TICKET_873 + +:TICKET_736 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @TICKET_823 +0209: 2@ = random_int_in_ranges 4000 8000 +0605: actor 0@ perform_animation "SLOT_WAIT" IFP "CASINO" framedelta 4.0 loop 1 lockX 0 lockY 0 lockF 1 time 2@ +4@ += 1 + +:TICKET_823 +jump @TICKET_873 + +:TICKET_830 +062E: get_actor 0@ task 1541 status_store_to 2@ // ret 7 if not found +if +04A4: 2@ == 7 // == constant +else_jump @TICKET_866 +gosub @TICKET_875 + +:TICKET_866 +jump @TICKET_873 + +:TICKET_873 +return + +:TICKET_875 +04EF: release_animation "CASINO" +end_thread +return +0663: printint "PEDSTATE" 3@ +0663: printint "SUBSTATESTATUS" 4@ +0663: printint "LOOP_TIMER" 33@ +0663: printint "SCRIPT_TIMER" 32@ +return + +//-------------External script 14 (VENDING_MACHINE)--------------- + +:VENDING +thread 'VENDING' +1@ = 0 +if + 1@ == 1 +else_jump @VENDING_80 +0@ = Object.Init(#VENDMACHFD, 0.0, 0.0, 0.0) +3@ = Object.Init(#KB_BEER, 0.0, 0.0, 0.0) + +:VENDING_80 +wait 0 +01BD: $CURRENT_TIME_IN_MS2 = current_time_in_ms +if +03CA: object 0@ exists +else_jump @VENDING_1570 +if +0977: player_in_radius_of_object 0@ external_script_trigger +else_jump @VENDING_1475 +if + Player.Defined($PLAYER_CHAR) +else_jump @VENDING_1382 +if + 1@ == 0 +else_jump @VENDING_173 +04ED: load_animation "VENDING" +1@ += 1 + +:VENDING_173 +if + 1@ == 1 +else_jump @VENDING_395 +if +04EE: animation "VENDING" loaded +else_jump @VENDING_384 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 -1.0 0.5 +if +00FF: actor $PLAYER_ACTOR sphere 0 in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.6 0.6 1.0 on_foot +else_jump @VENDING_377 +if or + Object.Model(0@) == #VENDIN3 + Object.Model(0@) == #CJ_CANDYVENDOR + Object.Model(0@) == #CJ_EXT_CANDY +else_jump @VENDING_343 +03CF: load_wav 42601 as 4 +0512: show_permanent_text_box 'SLOT_04' +jump @VENDING_363 + +:VENDING_343 +03CF: load_wav 42600 as 4 +0512: show_permanent_text_box 'SLOT_05' + +:VENDING_363 +07CC: set_player $PLAYER_CHAR can_enter_exit_vehicles 0 +1@ += 1 + +:VENDING_377 +jump @VENDING_395 + +:VENDING_384 +04ED: load_animation "VENDING" + +:VENDING_395 +if + 1@ == 2 +else_jump @VENDING_1201 +if +04EE: animation "VENDING" loaded +else_jump @VENDING_1190 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 -1.0 0.5 +if or + Object.Model(0@) == #VENDIN3 + Object.Model(0@) == #CJ_CANDYVENDOR + Object.Model(0@) == #CJ_EXT_CANDY +else_jump @VENDING_512 +03CF: load_wav 42601 as 4 +jump @VENDING_521 + +:VENDING_512 +03CF: load_wav 42600 as 4 + +:VENDING_521 +if +00FF: actor $PLAYER_ACTOR sphere 0 in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.6 0.6 1.0 on_foot +else_jump @VENDING_1167 +if +00E1: player 0 pressed_key 15 +else_jump @VENDING_1160 +if + Player.Controllable($PLAYER_CHAR) +else_jump @VENDING_1160 +if + Player.Money($PLAYER_CHAR) > 0 +else_jump @VENDING_1132 +if +03D0: wav 4 loaded +else_jump @VENDING_1125 +$TEMPVAR_ANGLE = Object.Angle(0@) +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 -0.2 0.6 +3@ = Object.Init(#CJ_JUICE_CAN, 0.0, 0.0, 0.0) +$TEMPVAR_ANGLE = Object.Angle(0@) +0615: define_AS_pack_begin $3395 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.2 -1.0 0.0 +0804: AS_actor -1 walk_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 angle $TEMPVAR_ANGLE radius 0.4 animation "VEND_USE" IFP_file "VENDING" 4.0 LA 0 LX 0 LY 0 LF 1 LT 0 +if or + Object.Model(0@) == #VENDIN3 + Object.Model(0@) == #CJ_CANDYVENDOR + Object.Model(0@) == #CJ_EXT_CANDY +else_jump @VENDING_864 +0A1A: actor -1 perform_walk_animation "VEND_EAT_P" IFP "VENDING" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 0 -1 ms // versionC +jump @VENDING_992 + +:VENDING_864 +07E4: get_model -172 dimensions_cornerA_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 dimensions_cornerB_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +$TEMPVAR_FLOAT_2 /= 2.0 +$TEMPVAR_FLOAT_2 += 0.027 +0A1A: actor -1 perform_walk_animation "VEND_USE_PT2" IFP "VENDING" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 0 -1 ms // versionC +0A1A: actor -1 perform_walk_animation "VEND_DRINK2_P" IFP "VENDING" framedelta 4.0 loopA 0 lockX 0 lockY 0 lockF 0 -1 ms // versionC + +:VENDING_992 +0616: define_AS_pack_end $3395 +0618: assign_actor $PLAYER_ACTOR to_AS_pack $3395 +061B: remove_references_to_AS_pack $3395 +Player.Money($PLAYER_CHAR) += -1 +03E6: remove_text_box +if or + Object.Model(0@) == #VENDIN3 + Object.Model(0@) == #CJ_CANDYVENDOR + Object.Model(0@) == #CJ_EXT_CANDY +else_jump @VENDING_1067 +03CF: load_wav 42601 as 4 +jump @VENDING_1076 + +:VENDING_1067 +03CF: load_wav 42600 as 4 + +:VENDING_1076 +if +03D0: wav 4 loaded +else_jump @VENDING_1102 +0949: link_wav 4 to_actor $PLAYER_ACTOR +03D1: play_wav 4 + +:VENDING_1102 +008B: 2@ = $CURRENT_TIME_IN_MS2 // (int) +2@ += 3000 +1@ += 1 + +:VENDING_1125 +jump @VENDING_1160 + +:VENDING_1132 +Actor.StorePos($PLAYER_ACTOR, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +018C: play_sound 1053 at $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 + +:VENDING_1160 +jump @VENDING_1183 + +:VENDING_1167 +03E6: remove_text_box +07CC: set_player $PLAYER_CHAR can_enter_exit_vehicles 1 +1@ = 1 + +:VENDING_1183 +jump @VENDING_1201 + +:VENDING_1190 +04ED: load_animation "VENDING" + +:VENDING_1201 +if + 1@ == 3 +else_jump @VENDING_1315 +062E: get_actor $PLAYER_ACTOR task 1560 status_store_to $416 // ret 7 if not found +if +04A3: $416 == 7 // == constant +else_jump @VENDING_1315 +0623: add 5 to_integer_stat 245 +$3396 = Actor.Health($PLAYER_ACTOR) +$3396 += 30 +Actor.Health($PLAYER_ACTOR) = $3396 +Object.RemoveReferences(3@) +03E6: remove_text_box +07CC: set_player $PLAYER_CHAR can_enter_exit_vehicles 1 +008B: 2@ = $CURRENT_TIME_IN_MS2 // (int) +2@ += 1500 +1@ += 1 + +:VENDING_1315 +if + 1@ == 4 +else_jump @VENDING_1375 +if +001E: $CURRENT_TIME_IN_MS2 > 2@ // (int) +else_jump @VENDING_1375 +0687: clear_actor $PLAYER_ACTOR task +04EF: release_animation "VENDING" +1@ = 0 + +:VENDING_1375 +jump @VENDING_1468 + +:VENDING_1382 +if + 1@ > 0 +else_jump @VENDING_1468 +if + 1@ > 1 +else_jump @VENDING_1427 +03E6: remove_text_box +07CC: set_player $PLAYER_CHAR can_enter_exit_vehicles 1 + +:VENDING_1427 +if + 1@ > 2 +else_jump @VENDING_1450 +Object.RemoveReferences(3@) + +:VENDING_1450 +04EF: release_animation "VENDING" +1@ = 0 + +:VENDING_1468 +jump @VENDING_1563 + +:VENDING_1475 +if + 1@ > 0 +else_jump @VENDING_1561 +if + 1@ > 1 +else_jump @VENDING_1520 +03E6: remove_text_box +07CC: set_player $PLAYER_CHAR can_enter_exit_vehicles 1 + +:VENDING_1520 +if + 1@ > 2 +else_jump @VENDING_1543 +Object.RemoveReferences(3@) + +:VENDING_1543 +04EF: release_animation "VENDING" +1@ = 0 + +:VENDING_1561 +end_thread + +:VENDING_1563 +jump @VENDING_1658 + +:VENDING_1570 +if + 1@ > 0 +else_jump @VENDING_1656 +if + 1@ > 1 +else_jump @VENDING_1615 +03E6: remove_text_box +07CC: set_player $PLAYER_CHAR can_enter_exit_vehicles 1 + +:VENDING_1615 +if + 1@ > 2 +else_jump @VENDING_1638 +Object.RemoveReferences(3@) + +:VENDING_1638 +04EF: release_animation "VENDING" +1@ = 0 + +:VENDING_1656 +end_thread + +:VENDING_1658 +jump @VENDING_80 +end_thread + +//-------------External script 15 (VIDPOK)--------------- + +:VIDPOK +thread 'VIDPOK' +3@ = 0 +4@ = 0 +5@ = 0 +6@ = 0 +7@ = 0 +if + 4@ == -1 +else_jump @VIDPOK_108 +0@ = Object.Create(#KMB_ROCK, 0.0, 0.0, 0.0) +$8867 = Object.Create(#KMB_ROCK, 0.0, 0.0, 0.0) + +:VIDPOK_108 +if + Player.Defined($PLAYER_CHAR) +else_jump @VIDPOK_132 +12@ = Player.Money($PLAYER_CHAR) + +:VIDPOK_132 +if + 100 > 12@ +else_jump @VIDPOK_164 +13@ = 5 +jump @VIDPOK_307 + +:VIDPOK_164 +if + 1000 > 12@ +else_jump @VIDPOK_197 +13@ = 6 +jump @VIDPOK_307 + +:VIDPOK_197 +if + 10000 > 12@ +else_jump @VIDPOK_230 +13@ = 7 +jump @VIDPOK_307 + +:VIDPOK_230 +if + 50000 > 12@ +else_jump @VIDPOK_265 +13@ = 8 +jump @VIDPOK_307 + +:VIDPOK_265 +if + 100000 > 12@ +else_jump @VIDPOK_300 +13@ = 9 +jump @VIDPOK_307 + +:VIDPOK_300 +13@ = 10 + +:VIDPOK_307 +0209: 12@ = random_int_in_ranges 0 13@ +0871: init_jump_table 12@ total_jumps 10 default_jump 0 @VIDPOK_589 jumps 0 @VIDPOK_445 1 @VIDPOK_459 2 @VIDPOK_473 3 @VIDPOK_487 4 @VIDPOK_501 5 @VIDPOK_515 6 @VIDPOK_529 +0872: jump_table_jumps 7 @VIDPOK_544 8 @VIDPOK_559 9 @VIDPOK_574 -1 @VIDPOK_589 -1 @VIDPOK_589 -1 @VIDPOK_589 -1 @VIDPOK_589 -1 @VIDPOK_589 -1 @VIDPOK_589 + +:VIDPOK_445 +1@ = 1 +jump @VIDPOK_589 + +:VIDPOK_459 +1@ = 5 +jump @VIDPOK_589 + +:VIDPOK_473 +1@ = 10 +jump @VIDPOK_589 + +:VIDPOK_487 +1@ = 25 +jump @VIDPOK_589 + +:VIDPOK_501 +1@ = 50 +jump @VIDPOK_589 + +:VIDPOK_515 +1@ = 100 +jump @VIDPOK_589 + +:VIDPOK_529 +1@ = 500 +jump @VIDPOK_589 + +:VIDPOK_544 +1@ = 1000 +jump @VIDPOK_589 + +:VIDPOK_559 +1@ = 5000 +jump @VIDPOK_589 + +:VIDPOK_574 +1@ = 10000 +jump @VIDPOK_589 + +:VIDPOK_589 +wait 0 +if +03CA: object 0@ exists +else_jump @VIDPOK_1655 +if + $8867 == 0 +else_jump @VIDPOK_1567 +if + Player.Defined($PLAYER_CHAR) +else_jump @VIDPOK_1531 +if + $9470 == 0 +else_jump @VIDPOK_1495 +if +0472: actor $PLAYER_ACTOR near_object_in_rectangle 0@ radius 5.0 5.0 sphere 0 on_foot +else_jump @VIDPOK_1459 +12@ = 0 +13@ = Object.Model(0@) +07E4: get_model 13@ dimensions_cornerA_to 19@ 20@ 21@ dimensions_cornerB_to 22@ 23@ 24@ +0087: 15@ = 22@ // (float) +0063: 15@ -= 19@ // (float) +if + 15@ > 4.0 +else_jump @VIDPOK_1164 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 -1.0 0.0 +if +00FF: actor $PLAYER_ACTOR sphere 0 in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.3 0.3 1.5 on_foot +else_jump @VIDPOK_845 +12@ = 1 + +:VIDPOK_845 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset -0.838 -1.0 0.0 +if +00FF: actor $PLAYER_ACTOR sphere 0 in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.3 0.3 1.5 on_foot +else_jump @VIDPOK_923 +12@ = 1 + +:VIDPOK_923 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset -1.676 -1.0 0.0 +if +00FF: actor $PLAYER_ACTOR sphere 0 in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.3 0.3 1.5 on_foot +else_jump @VIDPOK_1001 +12@ = 1 + +:VIDPOK_1001 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.838 -1.0 0.0 +if +00FF: actor $PLAYER_ACTOR sphere 0 in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.3 0.3 1.5 on_foot +else_jump @VIDPOK_1079 +12@ = 1 + +:VIDPOK_1079 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 1.676 -1.0 0.0 +if +00FF: actor $PLAYER_ACTOR sphere 0 in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.3 0.3 1.5 on_foot +else_jump @VIDPOK_1157 +12@ = 1 + +:VIDPOK_1157 +jump @VIDPOK_1242 + +:VIDPOK_1164 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 -1.0 0.0 +if +00FF: actor $PLAYER_ACTOR sphere 0 in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.3 0.3 1.5 on_foot +else_jump @VIDPOK_1242 +12@ = 1 + +:VIDPOK_1242 +if + 12@ == 1 +else_jump @VIDPOK_1425 +if + $8870 == 0 +else_jump @VIDPOK_1394 +if +00E1: player 0 pressed_key 15 +else_jump @VIDPOK_1351 +if + 2@ == 1 +else_jump @VIDPOK_1322 +03E6: remove_text_box +2@ = 0 + +:VIDPOK_1322 +3@ = 0 +4@ = 0 +008A: $8867 = 0@ // (int) +jump @VIDPOK_1387 + +:VIDPOK_1351 +if + 2@ == 0 +else_jump @VIDPOK_1387 +0512: show_permanent_text_box 'VP01' +2@ = 1 + +:VIDPOK_1387 +jump @VIDPOK_1418 + +:VIDPOK_1394 +if +80E1: not player 0 pressed_key 15 +else_jump @VIDPOK_1418 +$8870 = 0 + +:VIDPOK_1418 +jump @VIDPOK_1452 + +:VIDPOK_1425 +if + 2@ == 1 +else_jump @VIDPOK_1452 +03E6: remove_text_box +2@ = 0 + +:VIDPOK_1452 +jump @VIDPOK_1488 + +:VIDPOK_1459 +if + 2@ == 1 +else_jump @VIDPOK_1486 +03E6: remove_text_box +2@ = 0 + +:VIDPOK_1486 +end_thread + +:VIDPOK_1488 +jump @VIDPOK_1524 + +:VIDPOK_1495 +if + 2@ == 1 +else_jump @VIDPOK_1522 +03E6: remove_text_box +2@ = 0 + +:VIDPOK_1522 +end_thread + +:VIDPOK_1524 +jump @VIDPOK_1560 + +:VIDPOK_1531 +if + 2@ == 1 +else_jump @VIDPOK_1558 +03E6: remove_text_box +2@ = 0 + +:VIDPOK_1558 +end_thread + +:VIDPOK_1560 +jump @VIDPOK_1648 + +:VIDPOK_1567 +if +003C: $8867 == 0@ // (int) +else_jump @VIDPOK_1648 +if + Player.Defined($PLAYER_CHAR) +else_jump @VIDPOK_1648 +if + 7@ == 0 +else_jump @VIDPOK_1634 +gosub @VIDPOK_1693 +jump @VIDPOK_1648 + +:VIDPOK_1634 +gosub @VIDPOK_35037 +$8867 = 0 + +:VIDPOK_1648 +jump @VIDPOK_1684 + +:VIDPOK_1655 +if + 2@ == 1 +else_jump @VIDPOK_1682 +03E6: remove_text_box +2@ = 0 + +:VIDPOK_1682 +end_thread + +:VIDPOK_1684 +jump @VIDPOK_589 +return + +:VIDPOK_1693 +if +0735: is_keyboard_key_pressed 32 +else_jump @VIDPOK_1715 +25@ = 1 + +:VIDPOK_1715 +if + 25@ == 1 +else_jump @VIDPOK_1799 +008A: $8903 = 3@ // (int) +008A: $8904 = 4@ // (int) +065D: NOP $8903 "M_STAGE" +065D: NOP $8904 "M_GOALS" +065D: NOP $HIGH_CARDS_NUMBER "HIGH_CARDS_HELD" + +:VIDPOK_1799 +8@ += 1 +if + 8@ > 9 +else_jump @VIDPOK_1831 +8@ = 0 + +:VIDPOK_1831 +01BD: 9@ = current_time_in_ms +0085: 11@ = 9@ // (int) +0062: 11@ -= 10@ // (int) +0085: 10@ = 9@ // (int) +if + 3@ == 0 +else_jump @VIDPOK_4542 +if + 4@ == 0 +else_jump @VIDPOK_3660 +09BD: allow_other_threads_to_display_text_boxes 1 +if +03CA: object 0@ exists +else_jump @VIDPOK_1924 +$TEMPVAR_ANGLE = Object.Angle(0@) + +:VIDPOK_1924 +Player.CanMove($PLAYER_CHAR) = False +05D4: AS_actor $PLAYER_ACTOR rotate_angle $TEMPVAR_ANGLE +0826: enable_hud 0 +$8905 = 200 +$POKER_X_SCREEN[0] = 529.0 +$POKER_Y_SCREEN[0] = 57.0 +$POKER_X_SCREEN[1] = 565.0 +$POKER_Y_SCREEN[1] = 384.0 +$POKER_X_SCREEN[2] = 527.0 +$POKER_Y_SCREEN[2] = 133.0 +$POKER_X_SCREEN[3] = 323.0 +$POKER_Y_SCREEN[3] = 291.0 +$POKER_X_SCREEN[4] = 180.0 +$POKER_Y_SCREEN[4] = 413.0 +$POKER_X_SCREEN[5] = 79.0 +$POKER_Y_SCREEN[5] = 34.0 +$POKER_X_SCREEN[6] = 531.0 +$POKER_Y_SCREEN[6] = 79.0 +$POKER_X_SCREEN[7] = 527.0 +$POKER_Y_SCREEN[7] = 157.0 +$POKER_X_CARD[0] = 122.0 +$POKER_Y_CARD[0] = 314.0 +$POKER_X_CARD[1] = 222.0 +$POKER_Y_CARD[1] = 314.0 +$POKER_X_CARD[2] = 320.0 +$POKER_Y_CARD[2] = 314.0 +$POKER_X_CARD[3] = 419.0 +$POKER_Y_CARD[3] = 314.0 +$POKER_X_CARD[4] = 517.0 +$POKER_Y_CARD[4] = 314.0 +$POKER_CARD_WIDTH = 91.0 +$POKER_CARD_HEIGHT = 137.0 +$POKER_Y_ROW[0] = 33.0 +$POKER_Y_ROW[1] = 61.0 +$POKER_Y_ROW[2] = 76.0 +$POKER_Y_ROW[3] = 92.0 +$POKER_Y_ROW[4] = 108.0 +$POKER_Y_ROW[5] = 124.0 +$POKER_Y_ROW[6] = 140.0 +$POKER_Y_ROW[7] = 156.0 +$POKER_Y_ROW[8] = 172.0 +$POKER_Y_ROW[9] = 188.0 +$POKER_X_COL[0] = 86.0 +$POKER_X_COL[1] = 239.0 +$POKER_X_COL[2] = 286.0 +$POKER_X_COL[3] = 330.0 +$POKER_X_COL[4] = 378.0 +$POKER_X_COL[5] = 450.0 +$POKER_HOLD_BUTTON_OFFSET = -86.0 +$POKER_HOLD_WIDTH = 49.0 +$POKER_HOLD_HEIGHT = 18.0 +$POKER_X_BET_ONE = 123.0 +$POKER_Y_BET_ONE = 401.0 +$POKER_BET_ONE_WIDTH = 81.0 +$POKER_BET_ONE_HEIGHT = 18.0 +$POKER_X_DEAL = 222.0 +$POKER_Y_DEAL = 401.0 +$POKER_DEAL_WIDTH = 87.0 +$POKER_DEAL_HEIGHT = 18.0 +$POKER_BORDER_THICKNESS = 4.0 +$POKER_X_LINE[0] = 384.0 +$POKER_Y_LINE[0] = 131.0 +$POKER_LINE_WIDTH[0] = 2.0 +$POKER_LINE_HEIGHT[0] = 152.0 +$POKER_X_LINE[1] = 458.0 +$POKER_Y_LINE[1] = 131.0 +$POKER_LINE_WIDTH[1] = 2.0 +$POKER_LINE_HEIGHT[1] = 154.0 +$POKER_X_LINE[2] = 267.0 +$POKER_Y_LINE[2] = 207.0 +$POKER_LINE_WIDTH[2] = 382.0 +$POKER_LINE_HEIGHT[2] = 2.0 +$POKER_X_LINE[3] = 77.0 +$POKER_Y_LINE[3] = 131.0 +$POKER_LINE_WIDTH[3] = 2.0 +$POKER_LINE_HEIGHT[3] = 152.0 +$POKER_X_LINE[4] = 267.0 +$POKER_Y_LINE[4] = 54.0 +$POKER_LINE_WIDTH[4] = 383.0 +$POKER_LINE_HEIGHT[4] = 2.0 +$POKER_X_LINE[5] = 199.0 +$POKER_Y_LINE[5] = 131.0 +$POKER_LINE_WIDTH[5] = 2.0 +$POKER_LINE_HEIGHT[5] = 152.0 +$POKER_X_LINE[6] = 246.0 +$POKER_Y_LINE[6] = 131.0 +$POKER_LINE_WIDTH[6] = 2.0 +$POKER_LINE_HEIGHT[6] = 152.0 +$POKER_X_LINE[7] = 292.0 +$POKER_Y_LINE[7] = 131.0 +$POKER_LINE_WIDTH[7] = 2.0 +$POKER_LINE_HEIGHT[7] = 153.0 +$POKER_X_LINE[8] = 338.0 +$POKER_Y_LINE[8] = 131.0 +$POKER_LINE_WIDTH[8] = 2.0 +$POKER_LINE_HEIGHT[8] = 153.0 +$POKER_X_TEXT_SCALE[0] = 0.82 +$POKER_Y_TEXT_SCALE[0] = 3.02 +$POKER_TEXT_COLOR_R[0] = 128 +$POKER_TEXT_COLOR_G[0] = 0 +$POKER_TEXT_COLOR_B[0] = 0 +$POKER_TEXT_FONT[0] = 1 +$POKER_TEXT_CENTRE[0] = 1 +$POKER_TEXT_EDGE[0] = 1 +0084: $POKER_TEXT_EDGE_R[0] = $8905 // (int) +0084: $POKER_TEXT_EDGE_G[0] = $8905 // (int) +$POKER_TEXT_EDGE_B[0] = 0 +$POKER_X_TEXT_SCALE[1] = 0.52 +$POKER_Y_TEXT_SCALE[1] = 2.39 +$POKER_TEXT_COLOR_R[1] = 128 +$POKER_TEXT_COLOR_G[1] = 0 +$POKER_TEXT_COLOR_B[1] = 0 +$POKER_TEXT_FONT[1] = 1 +$POKER_TEXT_CENTRE[1] = 0 +$POKER_TEXT_EDGE[1] = 1 +0084: $POKER_TEXT_EDGE_R[1] = $8905 // (int) +0084: $POKER_TEXT_EDGE_G[1] = $8905 // (int) +$POKER_TEXT_EDGE_B[1] = 0 +$POKER_X_TEXT_SCALE[2] = 0.36 +$POKER_Y_TEXT_SCALE[2] = 1.53 +0084: $POKER_TEXT_COLOR_R[2] = $8905 // (int) +0084: $POKER_TEXT_COLOR_G[2] = $8905 // (int) +$POKER_TEXT_COLOR_B[2] = 0 +$POKER_TEXT_FONT[2] = 1 +$POKER_TEXT_CENTRE[2] = 0 +$POKER_TEXT_EDGE[2] = 1 +$POKER_TEXT_EDGE_R[2] = 0 +$POKER_TEXT_EDGE_G[2] = 0 +$POKER_TEXT_EDGE_B[2] = 0 +$POKER_X_TEXT_SCALE[3] = 0.36 +$POKER_Y_TEXT_SCALE[3] = 1.72 +0084: $POKER_TEXT_COLOR_R[3] = $8905 // (int) +0084: $POKER_TEXT_COLOR_G[3] = $8905 // (int) +$POKER_TEXT_COLOR_B[3] = 0 +$POKER_TEXT_FONT[3] = 1 +$POKER_TEXT_CENTRE[3] = 0 +$POKER_TEXT_EDGE[3] = 1 +$POKER_TEXT_EDGE_R[3] = 0 +$POKER_TEXT_EDGE_G[3] = 0 +$POKER_TEXT_EDGE_B[3] = 0 +$POKER_X_TEXT_SCALE[4] = 0.42 +$POKER_Y_TEXT_SCALE[4] = 1.6 +0084: $POKER_TEXT_COLOR_R[4] = $8905 // (int) +0084: $POKER_TEXT_COLOR_G[4] = $8905 // (int) +$POKER_TEXT_COLOR_B[4] = 0 +$POKER_TEXT_FONT[4] = 1 +$POKER_TEXT_CENTRE[4] = 0 +$POKER_TEXT_EDGE[4] = 1 +$POKER_TEXT_EDGE_R[4] = 0 +$POKER_TEXT_EDGE_G[4] = 0 +$POKER_TEXT_EDGE_B[4] = 0 +$POKER_X_TEXT_SCALE[5] = 0.44 +$POKER_Y_TEXT_SCALE[5] = 1.35 +0084: $POKER_TEXT_COLOR_R[5] = $8905 // (int) +0084: $POKER_TEXT_COLOR_G[5] = $8905 // (int) +$POKER_TEXT_COLOR_B[5] = 0 +$POKER_TEXT_FONT[5] = 1 +$POKER_TEXT_CENTRE[5] = 1 +$POKER_TEXT_EDGE[5] = 1 +$POKER_TEXT_EDGE_R[5] = 0 +$POKER_TEXT_EDGE_G[5] = 0 +$POKER_TEXT_EDGE_B[5] = 0 +$POKER_TILE_HEIGHT = 81.0 +$POKER_TILE_WIDTH = 63.0 +$POKER_TABLE_X = 268.0 +$POKER_TABLE_Y = 130.0 +$POKER_TABLE_WIDTH = 384.0 +$POKER_TABLE_HEIGHT = 152.0 +$9044[0] = 222.0 +$9049[0] = 130.0 +$9054[0] = 49.0 +$9059[0] = 152.0 +$9044[1] = 269.0 +$9049[1] = 130.0 +$9054[1] = 46.0 +$9059[1] = 152.0 +$9044[2] = 314.0 +$9049[2] = 130.0 +$9054[2] = 48.0 +$9059[2] = 152.0 +$9044[3] = 360.0 +$9049[3] = 130.0 +$9054[3] = 46.0 +$9059[3] = 152.0 +$9044[4] = 421.0 +$9049[4] = 130.0 +$9054[4] = 72.0 +$9059[4] = 152.0 +$POKER_BUTTON_TEXT_OFFSET = 2.5 +4@ += 1 + +:VIDPOK_3660 +if + 4@ == 1 +else_jump @VIDPOK_3692 +fade 0 500 +4@ += 1 + +:VIDPOK_3692 +if + 4@ == 2 +else_jump @VIDPOK_3730 +if + not fading +else_jump @VIDPOK_3730 +4@ += 1 + +:VIDPOK_3730 +if + 4@ == 3 +else_jump @VIDPOK_4503 +03F0: enable_text_draw 1 +0390: load_txd_dictionary 'LD_POKE' +038F: load_texture "CD1C" as 1 // Load dictionary with 0390 first +038F: load_texture "CD2C" as 2 // Load dictionary with 0390 first +038F: load_texture "CD3C" as 3 // Load dictionary with 0390 first +038F: load_texture "CD4C" as 4 // Load dictionary with 0390 first +038F: load_texture "CD5C" as 5 // Load dictionary with 0390 first +038F: load_texture "CD6C" as 6 // Load dictionary with 0390 first +038F: load_texture "CD7C" as 7 // Load dictionary with 0390 first +038F: load_texture "CD8C" as 8 // Load dictionary with 0390 first +038F: load_texture "CD9C" as 9 // Load dictionary with 0390 first +038F: load_texture "CD10C" as 10 // Load dictionary with 0390 first +038F: load_texture "CD11C" as 11 // Load dictionary with 0390 first +038F: load_texture "CD12C" as 12 // Load dictionary with 0390 first +038F: load_texture "CD13C" as 13 // Load dictionary with 0390 first +038F: load_texture "CD1D" as 14 // Load dictionary with 0390 first +038F: load_texture "CD2D" as 15 // Load dictionary with 0390 first +038F: load_texture "CD3D" as 16 // Load dictionary with 0390 first +038F: load_texture "CD4D" as 17 // Load dictionary with 0390 first +038F: load_texture "CD5D" as 18 // Load dictionary with 0390 first +038F: load_texture "CD6D" as 19 // Load dictionary with 0390 first +038F: load_texture "CD7D" as 20 // Load dictionary with 0390 first +038F: load_texture "CD8D" as 21 // Load dictionary with 0390 first +038F: load_texture "CD9D" as 22 // Load dictionary with 0390 first +038F: load_texture "CD10D" as 23 // Load dictionary with 0390 first +038F: load_texture "CD11D" as 24 // Load dictionary with 0390 first +038F: load_texture "CD12D" as 25 // Load dictionary with 0390 first +038F: load_texture "CD13D" as 26 // Load dictionary with 0390 first +038F: load_texture "CD1S" as 27 // Load dictionary with 0390 first +038F: load_texture "CD2S" as 28 // Load dictionary with 0390 first +038F: load_texture "CD3S" as 29 // Load dictionary with 0390 first +038F: load_texture "CD4S" as 30 // Load dictionary with 0390 first +038F: load_texture "CD5S" as 31 // Load dictionary with 0390 first +038F: load_texture "CD6S" as 32 // Load dictionary with 0390 first +038F: load_texture "CD7S" as 33 // Load dictionary with 0390 first +038F: load_texture "CD8S" as 34 // Load dictionary with 0390 first +038F: load_texture "CD9S" as 35 // Load dictionary with 0390 first +038F: load_texture "CD10S" as 36 // Load dictionary with 0390 first +038F: load_texture "CD11S" as 37 // Load dictionary with 0390 first +038F: load_texture "CD12S" as 38 // Load dictionary with 0390 first +038F: load_texture "CD13S" as 39 // Load dictionary with 0390 first +038F: load_texture "CD1H" as 40 // Load dictionary with 0390 first +038F: load_texture "CD2H" as 41 // Load dictionary with 0390 first +038F: load_texture "CD3H" as 42 // Load dictionary with 0390 first +038F: load_texture "CD4H" as 43 // Load dictionary with 0390 first +038F: load_texture "CD5H" as 44 // Load dictionary with 0390 first +038F: load_texture "CD6H" as 45 // Load dictionary with 0390 first +038F: load_texture "CD7H" as 46 // Load dictionary with 0390 first +038F: load_texture "CD8H" as 47 // Load dictionary with 0390 first +038F: load_texture "CD9H" as 48 // Load dictionary with 0390 first +038F: load_texture "CD10H" as 49 // Load dictionary with 0390 first +038F: load_texture "CD11H" as 50 // Load dictionary with 0390 first +038F: load_texture "CD12H" as 51 // Load dictionary with 0390 first +038F: load_texture "CD13H" as 52 // Load dictionary with 0390 first +038F: load_texture "CDBACK" as 53 // Load dictionary with 0390 first +038F: load_texture "ADDCOIN" as 54 // Load dictionary with 0390 first +038F: load_texture "DEAL" as 57 // Load dictionary with 0390 first +038F: load_texture "HOLDOFF" as 60 // Load dictionary with 0390 first +038F: load_texture "HOLDMID" as 61 // Load dictionary with 0390 first +038F: load_texture "HOLDON" as 62 // Load dictionary with 0390 first +038F: load_texture "TVCORN" as 63 // Load dictionary with 0390 first +038F: load_texture "BACKRED" as 64 // Load dictionary with 0390 first +038F: load_texture "BACKCYAN" as 65 // Load dictionary with 0390 first +03CF: load_wav 1800 as 4 + +:VIDPOK_4418 +if +83D0: not wav 4 loaded +else_jump @VIDPOK_4444 +wait 0 +jump @VIDPOK_4418 + +:VIDPOK_4444 +if + Player.Defined($PLAYER_CHAR) +else_jump @VIDPOK_4490 +12@ = Player.Money($PLAYER_CHAR) +gosub @VIDPOK_34873 +005C: 12@ += $MAX_WAGER // (int) +$8826 = 1 + +:VIDPOK_4490 +fade 1 0 +4@ = 99 + +:VIDPOK_4503 +if + 4@ == 99 +else_jump @VIDPOK_4542 +$8844 = 0 +3@ += 1 +4@ = 0 + +:VIDPOK_4542 +if + 3@ == 1 +else_jump @VIDPOK_5710 +if + 4@ == 0 +else_jump @VIDPOK_4725 +$8843 = 2 +$8842 = 2 +12@ = 0 + +:VIDPOK_4599 +if + 5 > 12@ +else_jump @VIDPOK_4653 +$8827(12@,5i) = 0 +$8837(12@,5i) = 0 +12@ += 1 +jump @VIDPOK_4599 + +:VIDPOK_4653 +12@ = Player.Money($PLAYER_CHAR) +gosub @VIDPOK_34873 +005C: 12@ += $MAX_WAGER // (int) +008B: 13@ = $8826 // (int) +006A: 13@ *= 1@ // (int) +if +001D: 13@ > 12@ // (int) +else_jump @VIDPOK_4718 +$8826 = 1 + +:VIDPOK_4718 +4@ += 1 + +:VIDPOK_4725 +if + 4@ == 1 +else_jump @VIDPOK_5235 +if + $8844 == 0 +else_jump @VIDPOK_4782 +$8842 = 3 +$8843 = 2 +jump @VIDPOK_4796 + +:VIDPOK_4782 +$8842 = 2 +$8843 = 3 + +:VIDPOK_4796 +0494: get_joystick 0 direction_offset_to $MOVE_AXIS_X $MOVE_AXIS_Y $SPECIAL_AXIS_X $SPECIAL_AXIS_Y +if or +00E1: player 0 pressed_key 11 + $MOVE_AXIS_X > 64 +else_jump @VIDPOK_4914 +if + $8871 == 0 +else_jump @VIDPOK_4907 +if + $8844 == 0 +else_jump @VIDPOK_4886 +$8844 = 1 +jump @VIDPOK_4893 + +:VIDPOK_4886 +$8844 = 0 + +:VIDPOK_4893 +$8871 += 1 +jump @VIDPOK_5235 + +:VIDPOK_4907 +jump @VIDPOK_5048 + +:VIDPOK_4914 +if or +00E1: player 0 pressed_key 10 + -64 > $MOVE_AXIS_X +else_jump @VIDPOK_5016 +if + $8871 == 0 +else_jump @VIDPOK_5009 +if + $8844 == 1 +else_jump @VIDPOK_4988 +$8844 = 0 +jump @VIDPOK_4995 + +:VIDPOK_4988 +$8844 = 1 + +:VIDPOK_4995 +$8871 += 1 +jump @VIDPOK_5235 + +:VIDPOK_5009 +jump @VIDPOK_5048 + +:VIDPOK_5016 +if and + $MOVE_AXIS_X > -64 + 64 > $MOVE_AXIS_X +else_jump @VIDPOK_5048 +$8871 = 0 + +:VIDPOK_5048 +if + $8869 == 0 +else_jump @VIDPOK_5211 +if +00E1: player 0 pressed_key 16 +else_jump @VIDPOK_5204 +if + $8844 == 0 +else_jump @VIDPOK_5149 +$8869 += 1 +097A: play_audio_at -1000.0 -1000.0 -1000.0 event 1026 +4@ += 1 +jump @VIDPOK_5235 +jump @VIDPOK_5204 + +:VIDPOK_5149 +$8869 += 1 +097A: play_audio_at -1000.0 -1000.0 -1000.0 event 1026 +$8843 = 2 +32@ = 0 +4@ += 3 +jump @VIDPOK_5235 + +:VIDPOK_5204 +jump @VIDPOK_5235 + +:VIDPOK_5211 +if +80E1: not player 0 pressed_key 16 +else_jump @VIDPOK_5235 +$8869 = 0 + +:VIDPOK_5235 +if + 4@ == 2 +else_jump @VIDPOK_5371 +if + 5 > $8826 +else_jump @VIDPOK_5285 +$8826 += 1 +jump @VIDPOK_5292 + +:VIDPOK_5285 +$8826 = 1 + +:VIDPOK_5292 +008B: 12@ = $8826 // (int) +006A: 12@ *= 1@ // (int) +13@ = Player.Money($PLAYER_CHAR) +gosub @VIDPOK_34873 +005C: 13@ += $MAX_WAGER // (int) +if +001D: 12@ > 13@ // (int) +else_jump @VIDPOK_5357 +$8826 = 1 + +:VIDPOK_5357 +32@ = 0 +4@ += 1 + +:VIDPOK_5371 +if + 4@ == 3 +else_jump @VIDPOK_5396 +4@ = 1 + +:VIDPOK_5396 +if + 4@ == 4 +else_jump @VIDPOK_5493 +12@ = Player.Money($PLAYER_CHAR) +gosub @VIDPOK_34873 +005C: 12@ += $MAX_WAGER // (int) +008B: 13@ = $8826 // (int) +006A: 13@ *= 1@ // (int) +if +001D: 13@ > 12@ // (int) +else_jump @VIDPOK_5486 +4@ = 1 +jump @VIDPOK_5493 + +:VIDPOK_5486 +4@ = 99 + +:VIDPOK_5493 +if + 4@ == 99 +else_jump @VIDPOK_5703 +if + $8826 == 6 +else_jump @VIDPOK_5536 +$8826 = 4 + +:VIDPOK_5536 +if + $8826 == 7 +else_jump @VIDPOK_5561 +$8826 = 3 + +:VIDPOK_5561 +if + $8826 == 8 +else_jump @VIDPOK_5586 +$8826 = 2 + +:VIDPOK_5586 +if + $8826 == 9 +else_jump @VIDPOK_5611 +$8826 = 1 + +:VIDPOK_5611 +008B: 12@ = $8826 // (int) +006A: 12@ *= 1@ // (int) +0A10: increase_integer_stat 35 by 12@ +0093: 15@ = integer 12@ to_float +15@ *= 0.001 +0A1F: increase_float_stat 81 by 15@ +008A: $8872 = 12@ // (int) +12@ *= -1 +Player.Money($PLAYER_CHAR) += 12@ +4@ = 0 +3@ += 1 +jump @VIDPOK_5710 + +:VIDPOK_5703 +gosub @VIDPOK_26528 + +:VIDPOK_5710 +if + 3@ == 2 +else_jump @VIDPOK_6358 +if + 4@ == 0 +else_jump @VIDPOK_5832 +$8843 = 0 +$8842 = 0 +12@ = 0 + +:VIDPOK_5767 +if + 5 > 12@ +else_jump @VIDPOK_5821 +$8827(12@,5i) = 0 +$8837(12@,5i) = 0 +12@ += 1 +jump @VIDPOK_5767 + +:VIDPOK_5821 +059D: shuffle_card_decks 1 +4@ += 1 + +:VIDPOK_5832 +if + 4@ == 1 +else_jump @VIDPOK_5884 +059E: get_card_to 12@ +gosub @VIDPOK_33631 +008A: $8827[0] = 12@ // (int) +32@ = 0 +4@ += 1 + +:VIDPOK_5884 +if + 4@ == 2 +else_jump @VIDPOK_5928 +if + 32@ > 400 +else_jump @VIDPOK_5928 +4@ += 1 + +:VIDPOK_5928 +if + 4@ == 3 +else_jump @VIDPOK_5980 +059E: get_card_to 12@ +gosub @VIDPOK_33631 +008A: $8827[1] = 12@ // (int) +32@ = 0 +4@ += 1 + +:VIDPOK_5980 +if + 4@ == 4 +else_jump @VIDPOK_6024 +if + 32@ > 400 +else_jump @VIDPOK_6024 +4@ += 1 + +:VIDPOK_6024 +if + 4@ == 5 +else_jump @VIDPOK_6076 +059E: get_card_to 12@ +gosub @VIDPOK_33631 +008A: $8827[2] = 12@ // (int) +32@ = 0 +4@ += 1 + +:VIDPOK_6076 +if + 4@ == 6 +else_jump @VIDPOK_6120 +if + 32@ > 400 +else_jump @VIDPOK_6120 +4@ += 1 + +:VIDPOK_6120 +if + 4@ == 7 +else_jump @VIDPOK_6172 +059E: get_card_to 12@ +gosub @VIDPOK_33631 +008A: $8827[3] = 12@ // (int) +32@ = 0 +4@ += 1 + +:VIDPOK_6172 +if + 4@ == 8 +else_jump @VIDPOK_6216 +if + 32@ > 400 +else_jump @VIDPOK_6216 +4@ += 1 + +:VIDPOK_6216 +if + 4@ == 9 +else_jump @VIDPOK_6268 +059E: get_card_to 12@ +gosub @VIDPOK_33631 +008A: $8827[4] = 12@ // (int) +32@ = 0 +4@ += 1 + +:VIDPOK_6268 +if + 4@ == 10 +else_jump @VIDPOK_6312 +if + 32@ > 800 +else_jump @VIDPOK_6312 +4@ = 99 + +:VIDPOK_6312 +if + 4@ == 99 +else_jump @VIDPOK_6351 +4@ = 0 +3@ += 1 +jump @VIDPOK_6358 + +:VIDPOK_6351 +gosub @VIDPOK_26528 + +:VIDPOK_6358 +if + 3@ == 3 +else_jump @VIDPOK_7499 +if + 4@ == 0 +else_jump @VIDPOK_6483 +$8843 = 2 +$8842 = 0 +12@ = 0 + +:VIDPOK_6415 +if + 5 > 12@ +else_jump @VIDPOK_6469 +$8837(12@,5i) = 2 +$8832(12@,5i) = 0 +12@ += 1 +jump @VIDPOK_6415 + +:VIDPOK_6469 +$8844 = 0 +4@ += 1 + +:VIDPOK_6483 +if + 4@ == 1 +else_jump @VIDPOK_7403 +0494: get_joystick 0 direction_offset_to $MOVE_AXIS_X $MOVE_AXIS_Y $SPECIAL_AXIS_X $SPECIAL_AXIS_Y +if or +00E1: player 0 pressed_key 11 + $MOVE_AXIS_X > 64 +else_jump @VIDPOK_6644 +if + $8871 == 0 +else_jump @VIDPOK_6637 +if + 5 > $8844 +else_jump @VIDPOK_6637 +$8844 += 1 +if + $8844 == 5 +else_jump @VIDPOK_6609 +$8844 = 0 + +:VIDPOK_6609 +4@ += 1 +32@ = 0 +$8871 += 1 +jump @VIDPOK_7171 + +:VIDPOK_6637 +jump @VIDPOK_6810 + +:VIDPOK_6644 +if or +00E1: player 0 pressed_key 10 + -64 > $MOVE_AXIS_X +else_jump @VIDPOK_6778 +if + $8871 == 0 +else_jump @VIDPOK_6771 +if and + $8844 > -1 + 5 > $8844 +else_jump @VIDPOK_6771 +$8844 -= 1 +if + $8844 == -1 +else_jump @VIDPOK_6743 +$8844 = 4 + +:VIDPOK_6743 +4@ += 1 +$8871 += 1 +32@ = 0 +jump @VIDPOK_7171 + +:VIDPOK_6771 +jump @VIDPOK_6810 + +:VIDPOK_6778 +if and + $MOVE_AXIS_X > -64 + 64 > $MOVE_AXIS_X +else_jump @VIDPOK_6810 +$8871 = 0 + +:VIDPOK_6810 +if or +00E1: player 0 pressed_key 9 + $MOVE_AXIS_Y > 64 +else_jump @VIDPOK_6862 +$8844 = 5 +4@ += 1 +32@ = 0 +jump @VIDPOK_7171 + +:VIDPOK_6862 +if or +00E1: player 0 pressed_key 8 + -64 > $MOVE_AXIS_Y +else_jump @VIDPOK_6932 +if + $8844 == 5 +else_jump @VIDPOK_6932 +$8844 = 1 +4@ += 1 +32@ = 0 +jump @VIDPOK_7171 + +:VIDPOK_6932 +if +00E1: player 0 pressed_key 16 +else_jump @VIDPOK_7146 +if + $8869 == 0 +else_jump @VIDPOK_7139 +if + 5 > $8844 +else_jump @VIDPOK_7091 +if + $8832($8844,5i) == 0 +else_jump @VIDPOK_7025 +$8832($8844,5i) = 1 +jump @VIDPOK_7036 + +:VIDPOK_7025 +$8832($8844,5i) = 0 + +:VIDPOK_7036 +32@ = 0 +097A: play_audio_at -1000.0 -1000.0 -1000.0 event 1026 +4@ += 1 +$8869 += 1 +jump @VIDPOK_7171 +jump @VIDPOK_7139 + +:VIDPOK_7091 +097A: play_audio_at -1000.0 -1000.0 -1000.0 event 1026 +32@ = 0 +4@ += 2 +$8869 += 1 +jump @VIDPOK_7171 + +:VIDPOK_7139 +jump @VIDPOK_7171 + +:VIDPOK_7146 +if + not $8869 == 0 +else_jump @VIDPOK_7171 +$8869 = 0 + +:VIDPOK_7171 +12@ = 0 + +:VIDPOK_7178 +if + 6 > 12@ +else_jump @VIDPOK_7403 +if + 5 > 12@ +else_jump @VIDPOK_7349 +if +87D6: not 12@ == $8844 // @ == $ (int) +else_jump @VIDPOK_7291 +if + $8832(12@,5i) == 0 +else_jump @VIDPOK_7273 +$8837(12@,5i) = 2 +jump @VIDPOK_7284 + +:VIDPOK_7273 +$8837(12@,5i) = 4 + +:VIDPOK_7284 +jump @VIDPOK_7342 + +:VIDPOK_7291 +if + $8832(12@,5i) == 0 +else_jump @VIDPOK_7331 +$8837(12@,5i) = 3 +jump @VIDPOK_7342 + +:VIDPOK_7331 +$8837(12@,5i) = 5 + +:VIDPOK_7342 +jump @VIDPOK_7389 + +:VIDPOK_7349 +if +87D6: not 12@ == $8844 // @ == $ (int) +else_jump @VIDPOK_7382 +$8843 = 2 +jump @VIDPOK_7389 + +:VIDPOK_7382 +$8843 = 3 + +:VIDPOK_7389 +12@ += 1 +jump @VIDPOK_7178 + +:VIDPOK_7403 +if + 4@ == 2 +else_jump @VIDPOK_7428 +4@ = 1 + +:VIDPOK_7428 +if + 4@ == 3 +else_jump @VIDPOK_7453 +4@ = 99 + +:VIDPOK_7453 +if + 4@ == 99 +else_jump @VIDPOK_7492 +4@ = 0 +3@ += 1 +jump @VIDPOK_7499 + +:VIDPOK_7492 +gosub @VIDPOK_26528 + +:VIDPOK_7499 +if + 3@ == 4 +else_jump @VIDPOK_8617 +if + 4@ == 0 +else_jump @VIDPOK_7739 +$8843 = 0 +$8842 = 0 +12@ = 0 + +:VIDPOK_7556 +if + 5 > 12@ +else_jump @VIDPOK_7599 +$8837(12@,5i) = 0 +12@ += 1 +jump @VIDPOK_7556 + +:VIDPOK_7599 +$HIGH_CARDS_NUMBER = 0 +12@ = 0 + +:VIDPOK_7613 +if + 5 > 12@ +else_jump @VIDPOK_7732 +if + not $8832(12@,5i) == 0 +else_jump @VIDPOK_7718 +0084: $9069 = $8827(12@,5i) // (int) +gosub @VIDPOK_33378 +if or + $9070 == 1 + $9070 == 11 + $9070 == 12 + $9070 == 13 +else_jump @VIDPOK_7718 +$HIGH_CARDS_NUMBER += 1 + +:VIDPOK_7718 +12@ += 1 +jump @VIDPOK_7613 + +:VIDPOK_7732 +4@ += 1 + +:VIDPOK_7739 +if + 4@ == 1 +else_jump @VIDPOK_7843 +12@ = 0 + +:VIDPOK_7764 +if + 5 > 12@ +else_jump @VIDPOK_7829 +if + $8832(12@,5i) == 0 +else_jump @VIDPOK_7815 +$8827(12@,5i) = 0 + +:VIDPOK_7815 +12@ += 1 +jump @VIDPOK_7764 + +:VIDPOK_7829 +32@ = 0 +4@ += 1 + +:VIDPOK_7843 +if + 4@ == 2 +else_jump @VIDPOK_7887 +if + 32@ > 500 +else_jump @VIDPOK_7887 +4@ += 1 + +:VIDPOK_7887 +if + 4@ == 3 +else_jump @VIDPOK_7971 +if + $8832[0] == 0 +else_jump @VIDPOK_7964 +059E: get_card_to 12@ +gosub @VIDPOK_33633 +008A: $8827[0] = 12@ // (int) +32@ = 0 +4@ += 1 +jump @VIDPOK_7971 + +:VIDPOK_7964 +4@ += 2 + +:VIDPOK_7971 +if + 4@ == 4 +else_jump @VIDPOK_8015 +if + 32@ > 400 +else_jump @VIDPOK_8015 +4@ += 1 + +:VIDPOK_8015 +if + 4@ == 5 +else_jump @VIDPOK_8099 +if + $8832[1] == 0 +else_jump @VIDPOK_8092 +059E: get_card_to 12@ +gosub @VIDPOK_33633 +008A: $8827[1] = 12@ // (int) +32@ = 0 +4@ += 1 +jump @VIDPOK_8099 + +:VIDPOK_8092 +4@ += 2 + +:VIDPOK_8099 +if + 4@ == 6 +else_jump @VIDPOK_8143 +if + 32@ > 400 +else_jump @VIDPOK_8143 +4@ += 1 + +:VIDPOK_8143 +if + 4@ == 7 +else_jump @VIDPOK_8227 +if + $8832[2] == 0 +else_jump @VIDPOK_8220 +059E: get_card_to 12@ +gosub @VIDPOK_33633 +008A: $8827[2] = 12@ // (int) +32@ = 0 +4@ += 1 +jump @VIDPOK_8227 + +:VIDPOK_8220 +4@ += 2 + +:VIDPOK_8227 +if + 4@ == 8 +else_jump @VIDPOK_8271 +if + 32@ > 400 +else_jump @VIDPOK_8271 +4@ += 1 + +:VIDPOK_8271 +if + 4@ == 9 +else_jump @VIDPOK_8355 +if + $8832[3] == 0 +else_jump @VIDPOK_8348 +059E: get_card_to 12@ +gosub @VIDPOK_33633 +008A: $8827[3] = 12@ // (int) +32@ = 0 +4@ += 1 +jump @VIDPOK_8355 + +:VIDPOK_8348 +4@ += 2 + +:VIDPOK_8355 +if + 4@ == 10 +else_jump @VIDPOK_8399 +if + 32@ > 400 +else_jump @VIDPOK_8399 +4@ += 1 + +:VIDPOK_8399 +if + 4@ == 11 +else_jump @VIDPOK_8483 +if + $8832[4] == 0 +else_jump @VIDPOK_8476 +059E: get_card_to 12@ +gosub @VIDPOK_33633 +008A: $8827[4] = 12@ // (int) +32@ = 0 +4@ += 1 +jump @VIDPOK_8483 + +:VIDPOK_8476 +4@ += 2 + +:VIDPOK_8483 +if + 4@ == 12 +else_jump @VIDPOK_8527 +if + 32@ > 400 +else_jump @VIDPOK_8527 +4@ += 1 + +:VIDPOK_8527 +if + 4@ == 13 +else_jump @VIDPOK_8571 +if + 32@ > 800 +else_jump @VIDPOK_8571 +4@ = 99 + +:VIDPOK_8571 +if + 4@ == 99 +else_jump @VIDPOK_8610 +4@ = 0 +3@ += 1 +jump @VIDPOK_8617 + +:VIDPOK_8610 +gosub @VIDPOK_26528 + +:VIDPOK_8617 +if + 3@ == 5 +else_jump @VIDPOK_10141 +if + 4@ == 0 +else_jump @VIDPOK_8737 +$8845 = 0 +$8846 = 0 +$8847 = 0 +$8848 = 0 +$8849 = 0 +$8850 = 0 +$8851 = 0 +$8852 = 0 +$8853 = 0 +$8854 = 0 +$8855 = 0 +4@ += 1 + +:VIDPOK_8737 +if + 4@ == 1 +else_jump @VIDPOK_10063 +12@ = 0 + +:VIDPOK_8762 +if + 5 > 12@ +else_jump @VIDPOK_8856 +0084: $9069 = $8827(12@,5i) // (int) +gosub @VIDPOK_33378 +0084: $8856(12@,5i) = $9070 // (int) +0084: $9069 = $8827(12@,5i) // (int) +gosub @VIDPOK_33526 +0084: $8861(12@,5i) = $9070 // (int) +12@ += 1 +jump @VIDPOK_8762 + +:VIDPOK_8856 +03A9: save_newline_to_debug_file +14@ = 1 + +:VIDPOK_8865 +if + 14@ > 0 +else_jump @VIDPOK_9050 +12@ = 0 +13@ = 0 +14@ = 0 + +:VIDPOK_8904 +if + 5 > 12@ +else_jump @VIDPOK_9043 +0085: 13@ = 12@ // (int) +13@ += 1 +if + 5 > 13@ +else_jump @VIDPOK_9029 +if +001C: $8856(12@,5i) > $8856(13@,5i) // (int) +else_jump @VIDPOK_9029 +008B: 26@ = $8856(13@,5i) // (int) +0084: $8856(13@,5i) = $8856(12@,5i) // (int) +008A: $8856(12@,5i) = 26@ // (int) +14@ += 1 + +:VIDPOK_9029 +12@ += 1 +jump @VIDPOK_8904 + +:VIDPOK_9043 +jump @VIDPOK_8865 + +:VIDPOK_9050 +if and +003A: $8861[0] == $8861[1] // (int) +003A: $8861[1] == $8861[2] // (int) +003A: $8861[2] == $8861[3] // (int) +003A: $8861[3] == $8861[4] // (int) +else_jump @VIDPOK_9100 +$8849 = 1 + +:VIDPOK_9100 +008B: 12@ = $8856[0] // (int) +12@ += 1 +if +07D6: 12@ == $8856[1] // @ == $ (int) +else_jump @VIDPOK_9268 +008B: 12@ = $8856[1] // (int) +12@ += 1 +if +07D6: 12@ == $8856[2] // @ == $ (int) +else_jump @VIDPOK_9268 +008B: 12@ = $8856[2] // (int) +12@ += 1 +if +07D6: 12@ == $8856[3] // @ == $ (int) +else_jump @VIDPOK_9268 +008B: 12@ = $8856[3] // (int) +12@ += 1 +if +07D6: 12@ == $8856[4] // @ == $ (int) +else_jump @VIDPOK_9268 +$8850 = 1 +if + $8849 == 1 +else_jump @VIDPOK_9268 +$8846 = 1 + +:VIDPOK_9268 +if and + $8856[0] == 1 + $8856[1] == 10 + $8856[2] == 11 + $8856[3] == 12 + $8856[4] == 13 +else_jump @VIDPOK_9353 +$8850 = 1 +if + $8849 == 1 +else_jump @VIDPOK_9353 +$8846 = 1 +$8845 = 1 + +:VIDPOK_9353 +12@ = 0 +13@ = 0 +14@ = 0 + +:VIDPOK_9374 +if + 5 > 12@ +else_jump @VIDPOK_9647 +0085: 13@ = 12@ // (int) +13@ += 1 +if + 5 > 13@ +else_jump @VIDPOK_9633 +if +003A: $8856(12@,5i) == $8856(13@,5i) // (int) +else_jump @VIDPOK_9491 +14@ += 1 +if + 13@ == 4 +else_jump @VIDPOK_9484 +jump @VIDPOK_9491 + +:VIDPOK_9484 +jump @VIDPOK_9633 + +:VIDPOK_9491 +if + 14@ > 0 +else_jump @VIDPOK_9633 +if + 14@ == 1 +else_jump @VIDPOK_9576 +if + $8854 == 0 +else_jump @VIDPOK_9564 +0084: $8854 = $8856(12@,5i) // (int) +jump @VIDPOK_9576 + +:VIDPOK_9564 +0084: $8855 = $8856(12@,5i) // (int) + +:VIDPOK_9576 +if + 14@ == 2 +else_jump @VIDPOK_9601 +$8851 = 1 + +:VIDPOK_9601 +if + 14@ == 3 +else_jump @VIDPOK_9626 +$8847 = 1 + +:VIDPOK_9626 +14@ = 0 + +:VIDPOK_9633 +12@ += 1 +jump @VIDPOK_9374 + +:VIDPOK_9647 +if and + $8851 == 1 + not $8854 == 0 +else_jump @VIDPOK_9679 +$8848 = 1 + +:VIDPOK_9679 +if and + not $8854 == 0 + not $8855 == 0 +else_jump @VIDPOK_9711 +$8852 = 1 + +:VIDPOK_9711 +if + not $8854 == 0 +else_jump @VIDPOK_9761 +if or + $8854 > 10 + $8854 == 1 +else_jump @VIDPOK_9761 +$8853 = 1 + +:VIDPOK_9761 +if + $8845 == 1 +else_jump @VIDPOK_9793 +$8866 = 9 +jump @VIDPOK_10056 + +:VIDPOK_9793 +if + $8846 == 1 +else_jump @VIDPOK_9825 +$8866 = 8 +jump @VIDPOK_10056 + +:VIDPOK_9825 +if + $8847 == 1 +else_jump @VIDPOK_9857 +$8866 = 7 +jump @VIDPOK_10056 + +:VIDPOK_9857 +if + $8848 == 1 +else_jump @VIDPOK_9889 +$8866 = 6 +jump @VIDPOK_10056 + +:VIDPOK_9889 +if + $8849 == 1 +else_jump @VIDPOK_9921 +$8866 = 5 +jump @VIDPOK_10056 + +:VIDPOK_9921 +if + $8850 == 1 +else_jump @VIDPOK_9953 +$8866 = 4 +jump @VIDPOK_10056 + +:VIDPOK_9953 +if + $8851 == 1 +else_jump @VIDPOK_9985 +$8866 = 3 +jump @VIDPOK_10056 + +:VIDPOK_9985 +if + $8852 == 1 +else_jump @VIDPOK_10017 +$8866 = 2 +jump @VIDPOK_10056 + +:VIDPOK_10017 +if + $8853 == 1 +else_jump @VIDPOK_10049 +$8866 = 1 +jump @VIDPOK_10056 + +:VIDPOK_10049 +$8866 = 0 + +:VIDPOK_10056 +4@ += 1 + +:VIDPOK_10063 +if + 4@ == 2 +else_jump @VIDPOK_10088 +4@ = 99 + +:VIDPOK_10088 +if + 4@ == 99 +else_jump @VIDPOK_10134 +3@ += 1 +4@ = 0 +32@ = 0 +jump @VIDPOK_10141 + +:VIDPOK_10134 +gosub @VIDPOK_26528 + +:VIDPOK_10141 +if + 3@ == 6 +else_jump @VIDPOK_12152 +if + 4@ == 0 +else_jump @VIDPOK_11919 +0085: 12@ = 1@ // (int) +if + $8866 == 9 +else_jump @VIDPOK_10381 +0871: init_jump_table $8826 total_jumps 5 default_jump 0 @VIDPOK_10381 jumps 1 @VIDPOK_10266 2 @VIDPOK_10289 3 @VIDPOK_10312 4 @VIDPOK_10335 5 @VIDPOK_10358 -1 @VIDPOK_10381 -1 @VIDPOK_10381 + +:VIDPOK_10266 +0085: 14@ = 12@ // (int) +14@ *= 250 +jump @VIDPOK_10381 + +:VIDPOK_10289 +0085: 14@ = 12@ // (int) +14@ *= 500 +jump @VIDPOK_10381 + +:VIDPOK_10312 +0085: 14@ = 12@ // (int) +14@ *= 750 +jump @VIDPOK_10381 + +:VIDPOK_10335 +0085: 14@ = 12@ // (int) +14@ *= 1000 +jump @VIDPOK_10381 + +:VIDPOK_10358 +0085: 14@ = 12@ // (int) +14@ *= 4000 +jump @VIDPOK_10381 + +:VIDPOK_10381 +if + $8866 == 8 +else_jump @VIDPOK_10575 +0871: init_jump_table $8826 total_jumps 5 default_jump 0 @VIDPOK_10575 jumps 1 @VIDPOK_10462 2 @VIDPOK_10484 3 @VIDPOK_10506 4 @VIDPOK_10529 5 @VIDPOK_10552 -1 @VIDPOK_10575 -1 @VIDPOK_10575 + +:VIDPOK_10462 +0085: 14@ = 12@ // (int) +14@ *= 50 +jump @VIDPOK_10575 + +:VIDPOK_10484 +0085: 14@ = 12@ // (int) +14@ *= 100 +jump @VIDPOK_10575 + +:VIDPOK_10506 +0085: 14@ = 12@ // (int) +14@ *= 150 +jump @VIDPOK_10575 + +:VIDPOK_10529 +0085: 14@ = 12@ // (int) +14@ *= 200 +jump @VIDPOK_10575 + +:VIDPOK_10552 +0085: 14@ = 12@ // (int) +14@ *= 250 +jump @VIDPOK_10575 + +:VIDPOK_10575 +if + $8866 == 7 +else_jump @VIDPOK_10766 +0871: init_jump_table $8826 total_jumps 5 default_jump 0 @VIDPOK_10766 jumps 1 @VIDPOK_10656 2 @VIDPOK_10678 3 @VIDPOK_10700 4 @VIDPOK_10722 5 @VIDPOK_10744 -1 @VIDPOK_10766 -1 @VIDPOK_10766 + +:VIDPOK_10656 +0085: 14@ = 12@ // (int) +14@ *= 25 +jump @VIDPOK_10766 + +:VIDPOK_10678 +0085: 14@ = 12@ // (int) +14@ *= 50 +jump @VIDPOK_10766 + +:VIDPOK_10700 +0085: 14@ = 12@ // (int) +14@ *= 75 +jump @VIDPOK_10766 + +:VIDPOK_10722 +0085: 14@ = 12@ // (int) +14@ *= 100 +jump @VIDPOK_10766 + +:VIDPOK_10744 +0085: 14@ = 12@ // (int) +14@ *= 125 +jump @VIDPOK_10766 + +:VIDPOK_10766 +if + $8866 == 6 +else_jump @VIDPOK_10957 +0871: init_jump_table $8826 total_jumps 5 default_jump 0 @VIDPOK_10957 jumps 1 @VIDPOK_10847 2 @VIDPOK_10869 3 @VIDPOK_10891 4 @VIDPOK_10913 5 @VIDPOK_10935 -1 @VIDPOK_10957 -1 @VIDPOK_10957 + +:VIDPOK_10847 +0085: 14@ = 12@ // (int) +14@ *= 9 +jump @VIDPOK_10957 + +:VIDPOK_10869 +0085: 14@ = 12@ // (int) +14@ *= 18 +jump @VIDPOK_10957 + +:VIDPOK_10891 +0085: 14@ = 12@ // (int) +14@ *= 27 +jump @VIDPOK_10957 + +:VIDPOK_10913 +0085: 14@ = 12@ // (int) +14@ *= 36 +jump @VIDPOK_10957 + +:VIDPOK_10935 +0085: 14@ = 12@ // (int) +14@ *= 45 +jump @VIDPOK_10957 + +:VIDPOK_10957 +if + $8866 == 5 +else_jump @VIDPOK_11148 +0871: init_jump_table $8826 total_jumps 5 default_jump 0 @VIDPOK_11148 jumps 1 @VIDPOK_11038 2 @VIDPOK_11060 3 @VIDPOK_11082 4 @VIDPOK_11104 5 @VIDPOK_11126 -1 @VIDPOK_11148 -1 @VIDPOK_11148 + +:VIDPOK_11038 +0085: 14@ = 12@ // (int) +14@ *= 6 +jump @VIDPOK_11148 + +:VIDPOK_11060 +0085: 14@ = 12@ // (int) +14@ *= 12 +jump @VIDPOK_11148 + +:VIDPOK_11082 +0085: 14@ = 12@ // (int) +14@ *= 18 +jump @VIDPOK_11148 + +:VIDPOK_11104 +0085: 14@ = 12@ // (int) +14@ *= 24 +jump @VIDPOK_11148 + +:VIDPOK_11126 +0085: 14@ = 12@ // (int) +14@ *= 30 +jump @VIDPOK_11148 + +:VIDPOK_11148 +if + $8866 == 4 +else_jump @VIDPOK_11339 +0871: init_jump_table $8826 total_jumps 5 default_jump 0 @VIDPOK_11339 jumps 1 @VIDPOK_11229 2 @VIDPOK_11251 3 @VIDPOK_11273 4 @VIDPOK_11295 5 @VIDPOK_11317 -1 @VIDPOK_11339 -1 @VIDPOK_11339 + +:VIDPOK_11229 +0085: 14@ = 12@ // (int) +14@ *= 4 +jump @VIDPOK_11339 + +:VIDPOK_11251 +0085: 14@ = 12@ // (int) +14@ *= 8 +jump @VIDPOK_11339 + +:VIDPOK_11273 +0085: 14@ = 12@ // (int) +14@ *= 12 +jump @VIDPOK_11339 + +:VIDPOK_11295 +0085: 14@ = 12@ // (int) +14@ *= 16 +jump @VIDPOK_11339 + +:VIDPOK_11317 +0085: 14@ = 12@ // (int) +14@ *= 20 +jump @VIDPOK_11339 + +:VIDPOK_11339 +if + $8866 == 3 +else_jump @VIDPOK_11530 +0871: init_jump_table $8826 total_jumps 5 default_jump 0 @VIDPOK_11530 jumps 1 @VIDPOK_11420 2 @VIDPOK_11442 3 @VIDPOK_11464 4 @VIDPOK_11486 5 @VIDPOK_11508 -1 @VIDPOK_11530 -1 @VIDPOK_11530 + +:VIDPOK_11420 +0085: 14@ = 12@ // (int) +14@ *= 3 +jump @VIDPOK_11530 + +:VIDPOK_11442 +0085: 14@ = 12@ // (int) +14@ *= 6 +jump @VIDPOK_11530 + +:VIDPOK_11464 +0085: 14@ = 12@ // (int) +14@ *= 9 +jump @VIDPOK_11530 + +:VIDPOK_11486 +0085: 14@ = 12@ // (int) +14@ *= 12 +jump @VIDPOK_11530 + +:VIDPOK_11508 +0085: 14@ = 12@ // (int) +14@ *= 15 +jump @VIDPOK_11530 + +:VIDPOK_11530 +if + $8866 == 2 +else_jump @VIDPOK_11721 +0871: init_jump_table $8826 total_jumps 5 default_jump 0 @VIDPOK_11721 jumps 1 @VIDPOK_11611 2 @VIDPOK_11633 3 @VIDPOK_11655 4 @VIDPOK_11677 5 @VIDPOK_11699 -1 @VIDPOK_11721 -1 @VIDPOK_11721 + +:VIDPOK_11611 +0085: 14@ = 12@ // (int) +14@ *= 2 +jump @VIDPOK_11721 + +:VIDPOK_11633 +0085: 14@ = 12@ // (int) +14@ *= 4 +jump @VIDPOK_11721 + +:VIDPOK_11655 +0085: 14@ = 12@ // (int) +14@ *= 6 +jump @VIDPOK_11721 + +:VIDPOK_11677 +0085: 14@ = 12@ // (int) +14@ *= 8 +jump @VIDPOK_11721 + +:VIDPOK_11699 +0085: 14@ = 12@ // (int) +14@ *= 10 +jump @VIDPOK_11721 + +:VIDPOK_11721 +if + $8866 == 1 +else_jump @VIDPOK_11912 +0871: init_jump_table $8826 total_jumps 5 default_jump 0 @VIDPOK_11912 jumps 1 @VIDPOK_11802 2 @VIDPOK_11824 3 @VIDPOK_11846 4 @VIDPOK_11868 5 @VIDPOK_11890 -1 @VIDPOK_11912 -1 @VIDPOK_11912 + +:VIDPOK_11802 +0085: 14@ = 12@ // (int) +14@ *= 1 +jump @VIDPOK_11912 + +:VIDPOK_11824 +0085: 14@ = 12@ // (int) +14@ *= 2 +jump @VIDPOK_11912 + +:VIDPOK_11846 +0085: 14@ = 12@ // (int) +14@ *= 3 +jump @VIDPOK_11912 + +:VIDPOK_11868 +0085: 14@ = 12@ // (int) +14@ *= 4 +jump @VIDPOK_11912 + +:VIDPOK_11890 +0085: 14@ = 12@ // (int) +14@ *= 5 +jump @VIDPOK_11912 + +:VIDPOK_11912 +4@ += 1 + +:VIDPOK_11919 +if + not $8866 == 0 +else_jump @VIDPOK_12070 +if or + 32@ > 4000 +00E1: player 0 pressed_key 16 +else_jump @VIDPOK_12063 +097A: play_audio_at -1000.0 -1000.0 -1000.0 event 1025 +Player.Money($PLAYER_CHAR) += 14@ +0085: 12@ = 14@ // (int) +0064: 12@ -= $8872 // (int) +0A10: increase_integer_stat 37 by 12@ +08F8: display_stat_update_box 0 +0627: update_integer_stat 38 to 12@ +08F8: display_stat_update_box 1 +3@ = 1 +4@ = 0 +$8844 = 1 +$8869 = 1 +$8872 = 0 + +:VIDPOK_12063 +jump @VIDPOK_12145 + +:VIDPOK_12070 +if or + 32@ > 4000 +00E1: player 0 pressed_key 16 +else_jump @VIDPOK_12145 +08F8: display_stat_update_box 0 +0627: update_integer_stat 39 to $8872 +08F8: display_stat_update_box 1 +$8872 = 0 +$8869 = 1 +3@ = 1 +4@ = 0 +$8844 = 1 + +:VIDPOK_12145 +gosub @VIDPOK_26528 + +:VIDPOK_12152 +gosub @VIDPOK_12210 +if + 3@ > 0 +else_jump @VIDPOK_12208 +if +00E1: player 0 pressed_key 15 +else_jump @VIDPOK_12208 +7@ = 1 +$8870 = 1 + +:VIDPOK_12208 +return + +:VIDPOK_12210 +if +0736: is_keyboard_key_just_pressed 67 +else_jump @VIDPOK_12776 +$8906 += 1 +if + $8906 > 13 +else_jump @VIDPOK_12257 +$8906 = 0 + +:VIDPOK_12257 +if + $8906 == 1 +else_jump @VIDPOK_12295 +0662: printstring "EDIT_BET_DETAILS" + +:VIDPOK_12295 +if + $8906 == 2 +else_jump @VIDPOK_12333 +0662: printstring "EDIT_SHIFT_CARDS" + +:VIDPOK_12333 +if + $8906 == 3 +else_jump @VIDPOK_12388 +0662: printstring "EDIT_SHIFT_TABLE_ROWS_AND_COLUMNS" + +:VIDPOK_12388 +if + $8906 == 4 +else_jump @VIDPOK_12427 +0662: printstring "EDIT_HOLD_BUTTONS" + +:VIDPOK_12427 +if + $8906 == 5 +else_jump @VIDPOK_12461 +0662: printstring "EDIT_BET_ONE" + +:VIDPOK_12461 +if + $8906 == 6 +else_jump @VIDPOK_12492 +0662: printstring "EDIT_DEAL" + +:VIDPOK_12492 +if + $8906 == 7 +else_jump @VIDPOK_12535 +0662: printstring "EDIT_BORDER_THICKNESS" + +:VIDPOK_12535 +if + $8906 == 8 +else_jump @VIDPOK_12573 +0662: printstring "EDIT_TABLE_LINES" + +:VIDPOK_12573 +if + $8906 == 9 +else_jump @VIDPOK_12604 +0662: printstring "EDIT_TEXT" + +:VIDPOK_12604 +if + $8906 == 10 +else_jump @VIDPOK_12636 +0662: printstring "EDIT_TILES" + +:VIDPOK_12636 +if + $8906 == 11 +else_jump @VIDPOK_12679 +0662: printstring "EDIT_TABLE_BACKGROUND" + +:VIDPOK_12679 +if + $8906 == 12 +else_jump @VIDPOK_12731 +0662: printstring "EDIT_TABLE_HIGHLIGHTED_COLUMNS" + +:VIDPOK_12731 +if + $8906 == 13 +else_jump @VIDPOK_12776 +0662: printstring "EDIT_BUTTON_TEXT_OFFSET" + +:VIDPOK_12776 +if + $8906 == 1 +else_jump @VIDPOK_12980 +if +0736: is_keyboard_key_just_pressed 97 +else_jump @VIDPOK_12860 +$POKER_COUNTER += 1 +if + $POKER_COUNTER > 7 +else_jump @VIDPOK_12841 +$POKER_COUNTER = 0 + +:VIDPOK_12841 +0663: printint "EDIT_COUNTER" $POKER_COUNTER + +:VIDPOK_12860 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @VIDPOK_12890 +$POKER_Y_SCREEN($POKER_COUNTER,8f) += -1.0 + +:VIDPOK_12890 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @VIDPOK_12920 +$POKER_Y_SCREEN($POKER_COUNTER,8f) += 1.0 + +:VIDPOK_12920 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @VIDPOK_12950 +$POKER_X_SCREEN($POKER_COUNTER,8f) += 1.0 + +:VIDPOK_12950 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @VIDPOK_12980 +$POKER_X_SCREEN($POKER_COUNTER,8f) += -1.0 + +:VIDPOK_12980 +if + $8906 == 2 +else_jump @VIDPOK_13288 +if +0736: is_keyboard_key_just_pressed 97 +else_jump @VIDPOK_13064 +$POKER_COUNTER += 1 +if + $POKER_COUNTER > 4 +else_jump @VIDPOK_13045 +$POKER_COUNTER = 0 + +:VIDPOK_13045 +0663: printint "EDIT_COUNTER" $POKER_COUNTER + +:VIDPOK_13064 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @VIDPOK_13094 +$POKER_Y_CARD($POKER_COUNTER,5f) += -1.0 + +:VIDPOK_13094 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @VIDPOK_13124 +$POKER_Y_CARD($POKER_COUNTER,5f) += 1.0 + +:VIDPOK_13124 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @VIDPOK_13154 +$POKER_X_CARD($POKER_COUNTER,5f) += 1.0 + +:VIDPOK_13154 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @VIDPOK_13184 +$POKER_X_CARD($POKER_COUNTER,5f) += -1.0 + +:VIDPOK_13184 +if +0736: is_keyboard_key_just_pressed 143 +else_jump @VIDPOK_13210 +$POKER_CARD_WIDTH += 1.0 + +:VIDPOK_13210 +if +0736: is_keyboard_key_just_pressed 141 +else_jump @VIDPOK_13236 +$POKER_CARD_WIDTH += -1.0 + +:VIDPOK_13236 +if +0736: is_keyboard_key_just_pressed 145 +else_jump @VIDPOK_13262 +$POKER_CARD_HEIGHT += 1.0 + +:VIDPOK_13262 +if +0736: is_keyboard_key_just_pressed 139 +else_jump @VIDPOK_13288 +$POKER_CARD_HEIGHT += -1.0 + +:VIDPOK_13288 +if + $8906 == 3 +else_jump @VIDPOK_13542 +if +0736: is_keyboard_key_just_pressed 97 +else_jump @VIDPOK_13372 +$POKER_COUNTER += 1 +if + $POKER_COUNTER > 9 +else_jump @VIDPOK_13353 +$POKER_COUNTER = 0 + +:VIDPOK_13353 +0663: printint "EDIT_COUNTER" $POKER_COUNTER + +:VIDPOK_13372 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @VIDPOK_13402 +$POKER_Y_ROW($POKER_COUNTER,10f) += -1.0 + +:VIDPOK_13402 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @VIDPOK_13432 +$POKER_Y_ROW($POKER_COUNTER,10f) += 1.0 + +:VIDPOK_13432 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @VIDPOK_13487 +if + $POKER_COUNTER > 5 +else_jump @VIDPOK_13473 +$POKER_COUNTER = 0 + +:VIDPOK_13473 +$POKER_X_COL($POKER_COUNTER,6f) += 1.0 + +:VIDPOK_13487 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @VIDPOK_13542 +if + $POKER_COUNTER > 5 +else_jump @VIDPOK_13528 +$POKER_COUNTER = 0 + +:VIDPOK_13528 +$POKER_X_COL($POKER_COUNTER,6f) += -1.0 + +:VIDPOK_13542 +if + $8906 == 4 +else_jump @VIDPOK_13729 +if +0736: is_keyboard_key_just_pressed 97 +else_jump @VIDPOK_13575 + +:VIDPOK_13575 +if +0736: is_keyboard_key_just_pressed 87 +else_jump @VIDPOK_13600 +$POKER_HOLD_BUTTON_OFFSET += -1.0 + +:VIDPOK_13600 +if +0736: is_keyboard_key_just_pressed 83 +else_jump @VIDPOK_13625 +$POKER_HOLD_BUTTON_OFFSET += 1.0 + +:VIDPOK_13625 +if +0736: is_keyboard_key_just_pressed 143 +else_jump @VIDPOK_13651 +$POKER_HOLD_WIDTH += 1.0 + +:VIDPOK_13651 +if +0736: is_keyboard_key_just_pressed 141 +else_jump @VIDPOK_13677 +$POKER_HOLD_WIDTH += -1.0 + +:VIDPOK_13677 +if +0736: is_keyboard_key_just_pressed 145 +else_jump @VIDPOK_13703 +$POKER_HOLD_HEIGHT += 1.0 + +:VIDPOK_13703 +if +0736: is_keyboard_key_just_pressed 139 +else_jump @VIDPOK_13729 +$POKER_HOLD_HEIGHT += -1.0 + +:VIDPOK_13729 +if + $8906 == 5 +else_jump @VIDPOK_13970 +if +0736: is_keyboard_key_just_pressed 97 +else_jump @VIDPOK_13762 + +:VIDPOK_13762 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @VIDPOK_13788 +$POKER_Y_BET_ONE += -1.0 + +:VIDPOK_13788 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @VIDPOK_13814 +$POKER_Y_BET_ONE += 1.0 + +:VIDPOK_13814 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @VIDPOK_13840 +$POKER_X_BET_ONE += 1.0 + +:VIDPOK_13840 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @VIDPOK_13866 +$POKER_X_BET_ONE += -1.0 + +:VIDPOK_13866 +if +0736: is_keyboard_key_just_pressed 143 +else_jump @VIDPOK_13892 +$POKER_BET_ONE_WIDTH += 1.0 + +:VIDPOK_13892 +if +0736: is_keyboard_key_just_pressed 141 +else_jump @VIDPOK_13918 +$POKER_BET_ONE_WIDTH += -1.0 + +:VIDPOK_13918 +if +0736: is_keyboard_key_just_pressed 145 +else_jump @VIDPOK_13944 +$POKER_BET_ONE_HEIGHT += 1.0 + +:VIDPOK_13944 +if +0736: is_keyboard_key_just_pressed 139 +else_jump @VIDPOK_13970 +$POKER_BET_ONE_HEIGHT += -1.0 + +:VIDPOK_13970 +if + $8906 == 6 +else_jump @VIDPOK_14211 +if +0736: is_keyboard_key_just_pressed 97 +else_jump @VIDPOK_14003 + +:VIDPOK_14003 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @VIDPOK_14029 +$POKER_Y_DEAL += -1.0 + +:VIDPOK_14029 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @VIDPOK_14055 +$POKER_Y_DEAL += 1.0 + +:VIDPOK_14055 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @VIDPOK_14081 +$POKER_X_DEAL += 1.0 + +:VIDPOK_14081 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @VIDPOK_14107 +$POKER_X_DEAL += -1.0 + +:VIDPOK_14107 +if +0736: is_keyboard_key_just_pressed 143 +else_jump @VIDPOK_14133 +$POKER_DEAL_WIDTH += 1.0 + +:VIDPOK_14133 +if +0736: is_keyboard_key_just_pressed 141 +else_jump @VIDPOK_14159 +$POKER_DEAL_WIDTH += -1.0 + +:VIDPOK_14159 +if +0736: is_keyboard_key_just_pressed 145 +else_jump @VIDPOK_14185 +$POKER_DEAL_HEIGHT += 1.0 + +:VIDPOK_14185 +if +0736: is_keyboard_key_just_pressed 139 +else_jump @VIDPOK_14211 +$POKER_DEAL_HEIGHT += -1.0 + +:VIDPOK_14211 +if + $8906 == 7 +else_jump @VIDPOK_14281 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @VIDPOK_14255 +$POKER_BORDER_THICKNESS += 0.1 + +:VIDPOK_14255 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @VIDPOK_14281 +$POKER_BORDER_THICKNESS += -0.1 + +:VIDPOK_14281 +if + $8906 == 8 +else_jump @VIDPOK_14661 +if +0736: is_keyboard_key_just_pressed 97 +else_jump @VIDPOK_14365 +$POKER_COUNTER += 1 +if + $POKER_COUNTER > 8 +else_jump @VIDPOK_14346 +$POKER_COUNTER = 0 + +:VIDPOK_14346 +0663: printint "EDIT_COUNTER" $POKER_COUNTER + +:VIDPOK_14365 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @VIDPOK_14395 +$POKER_Y_LINE($POKER_COUNTER,9f) += -1.0 + +:VIDPOK_14395 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @VIDPOK_14425 +$POKER_Y_LINE($POKER_COUNTER,9f) += 1.0 + +:VIDPOK_14425 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @VIDPOK_14455 +$POKER_X_LINE($POKER_COUNTER,9f) += 1.0 + +:VIDPOK_14455 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @VIDPOK_14485 +$POKER_X_LINE($POKER_COUNTER,9f) += -1.0 + +:VIDPOK_14485 +if +0736: is_keyboard_key_just_pressed 142 +else_jump @VIDPOK_14541 +0089: 15@ = $POKER_LINE_WIDTH($POKER_COUNTER,9f) // (float) +0086: $POKER_LINE_WIDTH($POKER_COUNTER,9f) = $POKER_LINE_HEIGHT($POKER_COUNTER,9f) // (float) +0088: $POKER_LINE_HEIGHT($POKER_COUNTER,9f) = 15@ // (float) + +:VIDPOK_14541 +if +0736: is_keyboard_key_just_pressed 141 +else_jump @VIDPOK_14571 +$POKER_LINE_WIDTH($POKER_COUNTER,9f) += -1.0 + +:VIDPOK_14571 +if +0736: is_keyboard_key_just_pressed 143 +else_jump @VIDPOK_14601 +$POKER_LINE_WIDTH($POKER_COUNTER,9f) += 1.0 + +:VIDPOK_14601 +if +0736: is_keyboard_key_just_pressed 145 +else_jump @VIDPOK_14631 +$POKER_LINE_HEIGHT($POKER_COUNTER,9f) += 1.0 + +:VIDPOK_14631 +if +0736: is_keyboard_key_just_pressed 139 +else_jump @VIDPOK_14661 +$POKER_LINE_HEIGHT($POKER_COUNTER,9f) += -1.0 + +:VIDPOK_14661 +if + $8906 == 9 +else_jump @VIDPOK_15598 +if +0736: is_keyboard_key_just_pressed 97 +else_jump @VIDPOK_14745 +$POKER_COUNTER += 1 +if + $POKER_COUNTER > 5 +else_jump @VIDPOK_14726 +$POKER_COUNTER = 0 + +:VIDPOK_14726 +0663: printint "EDIT_COUNTER" $POKER_COUNTER + +:VIDPOK_14745 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @VIDPOK_14775 +$POKER_Y_TEXT_SCALE($POKER_COUNTER,6f) += -0.01 + +:VIDPOK_14775 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @VIDPOK_14805 +$POKER_Y_TEXT_SCALE($POKER_COUNTER,6f) += 0.01 + +:VIDPOK_14805 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @VIDPOK_14835 +$POKER_X_TEXT_SCALE($POKER_COUNTER,6f) += 0.01 + +:VIDPOK_14835 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @VIDPOK_14865 +$POKER_X_TEXT_SCALE($POKER_COUNTER,6f) += -0.01 + +:VIDPOK_14865 +if +0736: is_keyboard_key_just_pressed 82 +else_jump @VIDPOK_14905 +$POKER_TEXT_COLOR_R($POKER_COUNTER,6i) += 1 +0663: printint "RED" $POKER_TEXT_COLOR_R($POKER_COUNTER,6i) + +:VIDPOK_14905 +if +0736: is_keyboard_key_just_pressed 86 +else_jump @VIDPOK_14945 +$POKER_TEXT_COLOR_R($POKER_COUNTER,6i) += -1 +0663: printint "RED" $POKER_TEXT_COLOR_R($POKER_COUNTER,6i) + +:VIDPOK_14945 +if +0736: is_keyboard_key_just_pressed 84 +else_jump @VIDPOK_14987 +$POKER_TEXT_COLOR_G($POKER_COUNTER,6i) += 1 +0663: printint "GREEN" $POKER_TEXT_COLOR_G($POKER_COUNTER,6i) + +:VIDPOK_14987 +if +0736: is_keyboard_key_just_pressed 71 +else_jump @VIDPOK_15029 +$POKER_TEXT_COLOR_G($POKER_COUNTER,6i) += -1 +0663: printint "GREEN" $POKER_TEXT_COLOR_G($POKER_COUNTER,6i) + +:VIDPOK_15029 +if +0736: is_keyboard_key_just_pressed 89 +else_jump @VIDPOK_15070 +$POKER_TEXT_COLOR_B($POKER_COUNTER,6i) += 1 +0663: printint "BLUE" $POKER_TEXT_COLOR_B($POKER_COUNTER,6i) + +:VIDPOK_15070 +if +0736: is_keyboard_key_just_pressed 72 +else_jump @VIDPOK_15111 +$POKER_TEXT_COLOR_B($POKER_COUNTER,6i) += -1 +0663: printint "BLUE" $POKER_TEXT_COLOR_B($POKER_COUNTER,6i) + +:VIDPOK_15111 +if +0736: is_keyboard_key_just_pressed 85 +else_jump @VIDPOK_15151 +$POKER_TEXT_EDGE_R($POKER_COUNTER,6i) += 1 +0663: printint "RED" $POKER_TEXT_EDGE_R($POKER_COUNTER,6i) + +:VIDPOK_15151 +if +0736: is_keyboard_key_just_pressed 74 +else_jump @VIDPOK_15191 +$POKER_TEXT_EDGE_R($POKER_COUNTER,6i) += -1 +0663: printint "RED" $POKER_TEXT_EDGE_R($POKER_COUNTER,6i) + +:VIDPOK_15191 +if +0736: is_keyboard_key_just_pressed 73 +else_jump @VIDPOK_15233 +$POKER_TEXT_EDGE_G($POKER_COUNTER,6i) += 1 +0663: printint "GREEN" $POKER_TEXT_EDGE_G($POKER_COUNTER,6i) + +:VIDPOK_15233 +if +0736: is_keyboard_key_just_pressed 75 +else_jump @VIDPOK_15275 +$POKER_TEXT_EDGE_G($POKER_COUNTER,6i) += -1 +0663: printint "GREEN" $POKER_TEXT_EDGE_G($POKER_COUNTER,6i) + +:VIDPOK_15275 +if +0736: is_keyboard_key_just_pressed 79 +else_jump @VIDPOK_15316 +$POKER_TEXT_EDGE_B($POKER_COUNTER,6i) += 1 +0663: printint "BLUE" $POKER_TEXT_EDGE_B($POKER_COUNTER,6i) + +:VIDPOK_15316 +if +0736: is_keyboard_key_just_pressed 76 +else_jump @VIDPOK_15357 +$POKER_TEXT_EDGE_B($POKER_COUNTER,6i) += -1 +0663: printint "BLUE" $POKER_TEXT_EDGE_B($POKER_COUNTER,6i) + +:VIDPOK_15357 +if +0736: is_keyboard_key_just_pressed 145 +else_jump @VIDPOK_15384 +$POKER_TEXT_EDGE($POKER_COUNTER,6i) += 1 + +:VIDPOK_15384 +if +0736: is_keyboard_key_just_pressed 139 +else_jump @VIDPOK_15411 +$POKER_TEXT_EDGE($POKER_COUNTER,6i) += -1 + +:VIDPOK_15411 +if +0736: is_keyboard_key_just_pressed 136 +else_jump @VIDPOK_15471 +$POKER_TEXT_FONT($POKER_COUNTER,6i) += 1 +if + $POKER_TEXT_FONT($POKER_COUNTER,6i) > 3 +else_jump @VIDPOK_15471 +$POKER_TEXT_FONT($POKER_COUNTER,6i) = 0 + +:VIDPOK_15471 +if +0736: is_keyboard_key_just_pressed 135 +else_jump @VIDPOK_15531 +$POKER_TEXT_FONT($POKER_COUNTER,6i) += -1 +if + 0 > $POKER_TEXT_FONT($POKER_COUNTER,6i) +else_jump @VIDPOK_15531 +$POKER_TEXT_FONT($POKER_COUNTER,6i) = 3 + +:VIDPOK_15531 +if +0736: is_keyboard_key_just_pressed 133 +else_jump @VIDPOK_15598 +if + $POKER_TEXT_CENTRE($POKER_COUNTER,6i) == 0 +else_jump @VIDPOK_15587 +$POKER_TEXT_CENTRE($POKER_COUNTER,6i) = 1 +jump @VIDPOK_15598 + +:VIDPOK_15587 +$POKER_TEXT_CENTRE($POKER_COUNTER,6i) = 0 + +:VIDPOK_15598 +if + $8906 == 10 +else_jump @VIDPOK_15786 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @VIDPOK_15642 +$POKER_TILE_HEIGHT += -1.0 + +:VIDPOK_15642 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @VIDPOK_15668 +$POKER_TILE_HEIGHT += 1.0 + +:VIDPOK_15668 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @VIDPOK_15694 +$POKER_TILE_WIDTH += 1.0 + +:VIDPOK_15694 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @VIDPOK_15720 +$POKER_TILE_WIDTH += -1.0 + +:VIDPOK_15720 +if +0736: is_keyboard_key_just_pressed 97 +else_jump @VIDPOK_15786 +$POKER_TILE_TYPE += 1 +if + $POKER_TILE_TYPE > 3 +else_jump @VIDPOK_15767 +$POKER_TILE_TYPE = 0 + +:VIDPOK_15767 +0663: printint "VP_TILE_TYPE" $POKER_TILE_TYPE + +:VIDPOK_15786 +if + $8906 == 11 +else_jump @VIDPOK_16012 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @VIDPOK_15830 +$POKER_TABLE_Y += -1.0 + +:VIDPOK_15830 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @VIDPOK_15856 +$POKER_TABLE_Y += 1.0 + +:VIDPOK_15856 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @VIDPOK_15882 +$POKER_TABLE_X += 1.0 + +:VIDPOK_15882 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @VIDPOK_15908 +$POKER_TABLE_X += -1.0 + +:VIDPOK_15908 +if +0736: is_keyboard_key_just_pressed 145 +else_jump @VIDPOK_15934 +$POKER_TABLE_HEIGHT += 1.0 + +:VIDPOK_15934 +if +0736: is_keyboard_key_just_pressed 139 +else_jump @VIDPOK_15960 +$POKER_TABLE_HEIGHT += -1.0 + +:VIDPOK_15960 +if +0736: is_keyboard_key_just_pressed 143 +else_jump @VIDPOK_15986 +$POKER_TABLE_WIDTH += 1.0 + +:VIDPOK_15986 +if +0736: is_keyboard_key_just_pressed 141 +else_jump @VIDPOK_16012 +$POKER_TABLE_WIDTH += -1.0 + +:VIDPOK_16012 +if + $8906 == 12 +else_jump @VIDPOK_16336 +if +0736: is_keyboard_key_just_pressed 97 +else_jump @VIDPOK_16096 +$POKER_COUNTER += 1 +if + $POKER_COUNTER > 4 +else_jump @VIDPOK_16077 +$POKER_COUNTER = 0 + +:VIDPOK_16077 +0663: printint "EDIT_COUNTER" $POKER_COUNTER + +:VIDPOK_16096 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @VIDPOK_16126 +$9049($POKER_COUNTER,5f) += -1.0 + +:VIDPOK_16126 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @VIDPOK_16156 +$9049($POKER_COUNTER,5f) += 1.0 + +:VIDPOK_16156 +if +0736: is_keyboard_key_just_pressed 128 +else_jump @VIDPOK_16186 +$9044($POKER_COUNTER,5f) += 1.0 + +:VIDPOK_16186 +if +0736: is_keyboard_key_just_pressed 129 +else_jump @VIDPOK_16216 +$9044($POKER_COUNTER,5f) += -1.0 + +:VIDPOK_16216 +if +0736: is_keyboard_key_just_pressed 145 +else_jump @VIDPOK_16246 +$9059($POKER_COUNTER,5f) += 1.0 + +:VIDPOK_16246 +if +0736: is_keyboard_key_just_pressed 139 +else_jump @VIDPOK_16276 +$9059($POKER_COUNTER,5f) += -1.0 + +:VIDPOK_16276 +if +0736: is_keyboard_key_just_pressed 143 +else_jump @VIDPOK_16306 +$9054($POKER_COUNTER,5f) += 1.0 + +:VIDPOK_16306 +if +0736: is_keyboard_key_just_pressed 141 +else_jump @VIDPOK_16336 +$9054($POKER_COUNTER,5f) += -1.0 + +:VIDPOK_16336 +if + $8906 == 13 +else_jump @VIDPOK_16406 +if +0736: is_keyboard_key_just_pressed 131 +else_jump @VIDPOK_16380 +$POKER_BUTTON_TEXT_OFFSET += 0.05 + +:VIDPOK_16380 +if +0736: is_keyboard_key_just_pressed 130 +else_jump @VIDPOK_16406 +$POKER_BUTTON_TEXT_OFFSET += -0.05 + +:VIDPOK_16406 +if +0736: is_keyboard_key_just_pressed 137 +else_jump @VIDPOK_26526 +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +12@ = 0 + +:VIDPOK_16433 +if + 8 > 12@ +else_jump @VIDPOK_17017 +03A9: save_newline_to_debug_file +05B6: 28 // CUE_PATH_SCORE = +03A7: save_int_to_debug_file 12@ +05B6: 29 // CUE_DIST_SCORE = +03A8: save_float_to_debug_file $POKER_X_SCREEN(12@,8f) +03A9: save_newline_to_debug_file +05B6: 30 // POOL AI POTENTIAL SHOT SCORES +03A7: save_int_to_debug_file 12@ +05B6: 31 // POCKET +03A8: save_float_to_debug_file $POKER_Y_SCREEN(12@,8f) +12@ += 1 +jump @VIDPOK_16433 + +:VIDPOK_17017 +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +12@ = 0 + +:VIDPOK_17028 +if + 5 > 12@ +else_jump @VIDPOK_17612 +03A9: save_newline_to_debug_file +05B6: 32 // BALL 01 = +03A7: save_int_to_debug_file 12@ +05B6: 33 // BALL 02 = +03A8: save_float_to_debug_file $POKER_X_CARD(12@,5f) +03A9: save_newline_to_debug_file +05B6: 34 // BALL 03 = +03A7: save_int_to_debug_file 12@ +05B6: 35 // BALL 04 = +03A8: save_float_to_debug_file $POKER_Y_CARD(12@,5f) +12@ += 1 +jump @VIDPOK_17028 + +:VIDPOK_17612 +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +05B6: 36 // BALL 05 = +03A8: save_float_to_debug_file $POKER_CARD_WIDTH +03A9: save_newline_to_debug_file +05B6: 37 // BALL 06 = +03A8: save_float_to_debug_file $POKER_CARD_HEIGHT +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +12@ = 0 + +:VIDPOK_17901 +if + 10 > 12@ +else_jump @VIDPOK_18209 +03A9: save_newline_to_debug_file +05B6: 38 // BALL 07 = +03A7: save_int_to_debug_file 12@ +05B6: 39 // BALL 08 = +03A8: save_float_to_debug_file $POKER_Y_ROW(12@,10f) +12@ += 1 +jump @VIDPOK_17901 + +:VIDPOK_18209 +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +12@ = 0 + +:VIDPOK_18220 +if + 6 > 12@ +else_jump @VIDPOK_18528 +03A9: save_newline_to_debug_file +05B6: 40 // BALL 09 = +03A7: save_int_to_debug_file 12@ +05B6: 41 // BALL 10 = +03A8: save_float_to_debug_file $POKER_X_COL(12@,6f) +12@ += 1 +jump @VIDPOK_18220 + +:VIDPOK_18528 +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +05B6: 42 // BALL 11 = +03A8: save_float_to_debug_file $POKER_HOLD_BUTTON_OFFSET +03A9: save_newline_to_debug_file +05B6: 43 // BALL 12 = +03A8: save_float_to_debug_file $POKER_HOLD_WIDTH +03A9: save_newline_to_debug_file +05B6: 44 // BALL 13 = +03A8: save_float_to_debug_file $POKER_HOLD_HEIGHT +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +05B6: 45 // BALL 14 = +03A8: save_float_to_debug_file $POKER_X_BET_ONE +03A9: save_newline_to_debug_file +05B6: 46 // BALL 15 = +03A8: save_float_to_debug_file $POKER_Y_BET_ONE +03A9: save_newline_to_debug_file +05B6: 47 // HIT AND HOPE +03A8: save_float_to_debug_file $POKER_BET_ONE_WIDTH +03A9: save_newline_to_debug_file +05B6: 48 // BOUNCE OFF CUSHION +03A8: save_float_to_debug_file $POKER_BET_ONE_HEIGHT +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +05B6: 49 // CUSHION 1 DATA = +03A8: save_float_to_debug_file $POKER_X_DEAL +03A9: save_newline_to_debug_file +05B6: 50 // CUSHION 2 DATA = +03A8: save_float_to_debug_file $POKER_Y_DEAL +03A9: save_newline_to_debug_file +05B6: 51 // CUSHION 3 DATA = +03A8: save_float_to_debug_file $POKER_DEAL_WIDTH +03A9: save_newline_to_debug_file +05B6: 52 // CUSHION 4 DATA = +03A8: save_float_to_debug_file $POKER_DEAL_HEIGHT +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +05B6: 53 // SNOOKER - BOUNCE 2 +03A8: save_float_to_debug_file $POKER_BORDER_THICKNESS +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +12@ = 0 + +:VIDPOK_20199 +if + 9 > 12@ +else_jump @VIDPOK_21335 +03A9: save_newline_to_debug_file +05B6: 54 // SNOOKER - LAST RESORT +03A7: save_int_to_debug_file 12@ +05B6: 55 // BALL OBSTRUCTING PATH (TOO CLOSE TO TARGET DESTINATION) = +03A8: save_float_to_debug_file $POKER_X_LINE(12@,9f) +03A9: save_newline_to_debug_file +05B6: 56 // BALL OBSTRUCTING PATH (OVERLAPPING PATH) = +03A7: save_int_to_debug_file 12@ +05B6: 57 // POINT LIES ON POCKET +03A8: save_float_to_debug_file $POKER_Y_LINE(12@,9f) +03A9: save_newline_to_debug_file +05B6: 58 // BOUNCE_SHOT_PATH_CLEAR DATA = +03A7: save_int_to_debug_file 12@ +05B6: 59 // 1ST PATH CLEAR +03A8: save_float_to_debug_file $POKER_LINE_WIDTH(12@,9f) +03A9: save_newline_to_debug_file +05B6: 60 // 2ND PATH CLEAR +03A7: save_int_to_debug_file 12@ +05B6: 61 // BALL_SPRITE_HEIGHT = +03A8: save_float_to_debug_file $POKER_LINE_HEIGHT(12@,9f) +12@ += 1 +jump @VIDPOK_20199 + +:VIDPOK_21335 +12@ = 0 + +:VIDPOK_21342 +if + 6 > 12@ +else_jump @VIDPOK_24410 +03A9: save_newline_to_debug_file +05B6: 62 // BALL_SPRITE_WIDTH = +03A7: save_int_to_debug_file 12@ +05B6: 63 // NIB_SPRITE_HEIGHT = +03A8: save_float_to_debug_file $POKER_X_TEXT_SCALE(12@,6f) +03A9: save_newline_to_debug_file +05B6: 64 // NIB_SPRITE_WIDTH = +03A7: save_int_to_debug_file 12@ +05B6: 65 // POOL - SCREEN_COORDS +03A8: save_float_to_debug_file $POKER_Y_TEXT_SCALE(12@,6f) +03A9: save_newline_to_debug_file +05B6: 66 // SCREEN_COORD_X[ +03A7: save_int_to_debug_file 12@ +05B6: 67 // ] = +03A7: save_int_to_debug_file $POKER_TEXT_COLOR_R(12@,6i) +03A9: save_newline_to_debug_file +05B6: 68 // SCREEN_COORD_Y[ +03A7: save_int_to_debug_file 12@ +05B6: 69 // ] = +03A7: save_int_to_debug_file $POKER_TEXT_COLOR_G(12@,6i) +03A9: save_newline_to_debug_file +05B6: 70 // FIXED_CAMERA_POSITION - OFFSET FROM TABLE = +03A7: save_int_to_debug_file 12@ +05B6: 71 // CAMERA_POINT_AT - OFFSET FROM TABLE = +03A7: save_int_to_debug_file $POKER_TEXT_COLOR_B(12@,6i) +03A9: save_newline_to_debug_file +05B6: 72 // FIXED_CAMERA_POSITION - OFFSET FROM CHAR = +03A7: save_int_to_debug_file 12@ +05B6: 73 // CAMERA_POINT_AT - OFFSET FROM CHAR = +03A7: save_int_to_debug_file $POKER_TEXT_FONT(12@,6i) +03A9: save_newline_to_debug_file +05B6: 74 // FIXED_CAMERA_POSITION - OFFSET FROM CAR = +03A7: save_int_to_debug_file 12@ +05B6: 75 // CAMERA_POINT_AT - OFFSET FROM CAR = +03A7: save_int_to_debug_file $POKER_TEXT_CENTRE(12@,6i) +03A9: save_newline_to_debug_file +05B6: 76 // FIXED_CAMERA_POSITION - OFFSET FROM CAR = +03A7: save_int_to_debug_file 12@ +05B6: 77 // CAMERA_POINT_AT - OFFSET FROM CAR = +03A7: save_int_to_debug_file $POKER_TEXT_EDGE(12@,6i) +03A9: save_newline_to_debug_file +05B6: 78 // BOX COORDS = +03A7: save_int_to_debug_file 12@ +05B6: 79 // TOTAL_LAPS = 1 +03A7: save_int_to_debug_file $POKER_TEXT_EDGE_R(12@,6i) +03A9: save_newline_to_debug_file +05B6: 80 // TOTAL_RACERS = 6 +03A7: save_int_to_debug_file 12@ +05B6: 81 // RACER_MODEL[ +03A7: save_int_to_debug_file $POKER_TEXT_EDGE_G(12@,6i) +03A9: save_newline_to_debug_file +05B6: 82 // ] = MALE01 +03A7: save_int_to_debug_file 12@ +05B6: 83 // RACERS_CAR_MODEL[ +03A7: save_int_to_debug_file $POKER_TEXT_EDGE_B(12@,6i) +12@ += 1 +jump @VIDPOK_21342 + +:VIDPOK_24410 +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +05B6: 84 // ] = +03A8: save_float_to_debug_file $POKER_TILE_HEIGHT +03A9: save_newline_to_debug_file +05B6: 85 // CHECKPOINTS_X[0] = +03A8: save_float_to_debug_file $POKER_TILE_WIDTH +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +05B6: 86 // CHECKPOINTS_Y[0] = +03A8: save_float_to_debug_file $POKER_TABLE_X +03A9: save_newline_to_debug_file +05B6: 87 // CHECKPOINTS_Z[0] = +03A8: save_float_to_debug_file $POKER_TABLE_Y +03A9: save_newline_to_debug_file +05B6: 88 // CHECKPOINTS_X[ +03A8: save_float_to_debug_file $POKER_TABLE_WIDTH +03A9: save_newline_to_debug_file +05B6: 89 // ] = +03A8: save_float_to_debug_file $POKER_TABLE_HEIGHT +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +12@ = 0 + +:VIDPOK_25251 +if + 5 > 12@ +else_jump @VIDPOK_26387 +03A9: save_newline_to_debug_file +05B6: 90 // CHECKPOINTS_Y[ +03A7: save_int_to_debug_file 12@ +05B6: 91 // ] = +03A8: save_float_to_debug_file $9044(12@,5f) +03A9: save_newline_to_debug_file +05B6: 92 // CHECKPOINTS_Z[ +03A7: save_int_to_debug_file 12@ +05B6: 93 // ] = +03A8: save_float_to_debug_file $9049(12@,5f) +03A9: save_newline_to_debug_file +05B6: 94 // DEST_LOOK_XYZ = +03A7: save_int_to_debug_file 12@ +05B6: 95 // AVAILABLE PEDS +03A8: save_float_to_debug_file $9054(12@,5f) +03A9: save_newline_to_debug_file +05B6: 96 // MISSION PED +03A7: save_int_to_debug_file 12@ +05B6: 97 // = +03A8: save_float_to_debug_file $9059(12@,5f) +12@ += 1 +jump @VIDPOK_25251 + +:VIDPOK_26387 +03A9: save_newline_to_debug_file +03A9: save_newline_to_debug_file +05B6: 98 // AVAILABLE_MISSION_PEDS = +03A8: save_float_to_debug_file $POKER_BUTTON_TEXT_OFFSET + +:VIDPOK_26526 +return + +:VIDPOK_26528 +if + $9066 == 0 +else_jump @VIDPOK_26594 +$9065 += 10 +if + $9065 >= 255 +else_jump @VIDPOK_26587 +$9065 = 255 +$9066 = 1 + +:VIDPOK_26587 +jump @VIDPOK_26633 + +:VIDPOK_26594 +$9065 += -10 +if + 0 >= $9065 +else_jump @VIDPOK_26633 +$9065 = 0 +$9066 = 0 + +:VIDPOK_26633 +if + not $POKER_TILE_TYPE == 0 +else_jump @VIDPOK_26904 +12@ = 0 +0086: $TEMPVAR_FLOAT_1 = $POKER_TILE_WIDTH // (float) +$TEMPVAR_FLOAT_1 /= 2.0 +0086: $TEMPVAR_FLOAT_2 = $POKER_TILE_HEIGHT // (float) +$TEMPVAR_FLOAT_2 /= 2.0 + +:VIDPOK_26694 +if and + 480.0 > $TEMPVAR_FLOAT_2 + 100 > 12@ +else_jump @VIDPOK_26897 + +:VIDPOK_26722 +if and + 640.0 > $TEMPVAR_FLOAT_1 + 100 > 12@ +else_jump @VIDPOK_26864 +if + $POKER_TILE_TYPE == 1 +else_jump @VIDPOK_26796 +038D: draw_texture 64 position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 size $POKER_TILE_WIDTH $POKER_TILE_HEIGHT RGBA 150 150 150 255 + +:VIDPOK_26796 +if + $POKER_TILE_TYPE == 2 +else_jump @VIDPOK_26842 +038D: draw_texture 65 position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 size $POKER_TILE_WIDTH $POKER_TILE_HEIGHT RGBA 150 150 150 255 + +:VIDPOK_26842 +12@ += 1 +0059: $TEMPVAR_FLOAT_1 += $POKER_TILE_WIDTH // (float) +jump @VIDPOK_26722 + +:VIDPOK_26864 +0059: $TEMPVAR_FLOAT_2 += $POKER_TILE_HEIGHT // (float) +0086: $TEMPVAR_FLOAT_1 = $POKER_TILE_WIDTH // (float) +$TEMPVAR_FLOAT_1 /= 2.0 +jump @VIDPOK_26694 + +:VIDPOK_26897 +jump @VIDPOK_26936 + +:VIDPOK_26904 +038E: draw_box_position 320.0 240.0 size 640.0 480.0 RGBA 6 16 140 255 + +:VIDPOK_26936 +038D: draw_texture 63 position 160.0 112.0 size 320.0 224.0 RGBA 150 150 150 255 +038D: draw_texture 63 position 480.0 112.0 size -320.0 224.0 RGBA 150 150 150 255 +038D: draw_texture 63 position 480.0 336.0 size -320.0 -224.0 RGBA 150 150 150 255 +038D: draw_texture 63 position 160.0 336.0 size 320.0 -224.0 RGBA 150 150 150 255 +gosub @VIDPOK_33827 +03E4: set_text_draw_align_right 0 +0342: set_text_draw_centered 1 +033E: set_draw_text_position $POKER_X_SCREEN[0] $POKER_Y_SCREEN[0] GXT 'VP02' +gosub @VIDPOK_33635 +03E4: set_text_draw_align_right 0 +0342: set_text_draw_centered 1 +045A: draw_text_1number $POKER_X_SCREEN[6] $POKER_Y_SCREEN[6] GXT 'DOLLAR' number 1@ +12@ = Player.Money($PLAYER_CHAR) +gosub @VIDPOK_34873 +gosub @VIDPOK_33635 +03E4: set_text_draw_align_right 1 +008B: 13@ = $MAX_WAGER // (int) +13@ *= -1 +if +002D: 13@ >= 12@ // (int) +else_jump @VIDPOK_27231 +033E: set_draw_text_position $POKER_X_SCREEN[1] $POKER_Y_SCREEN[1] GXT 'VP18' +jump @VIDPOK_27251 + +:VIDPOK_27231 +045A: draw_text_1number $POKER_X_SCREEN[1] $POKER_Y_SCREEN[1] GXT 'VP16' number 12@ + +:VIDPOK_27251 +gosub @VIDPOK_33827 +03E4: set_text_draw_align_right 0 +0342: set_text_draw_centered 1 +008B: 12@ = $8826 // (int) +006A: 12@ *= 1@ // (int) +033E: set_draw_text_position $POKER_X_SCREEN[2] $POKER_Y_SCREEN[2] GXT 'VP03' +gosub @VIDPOK_33635 +03E4: set_text_draw_align_right 0 +0342: set_text_draw_centered 1 +045A: draw_text_1number $POKER_X_SCREEN[7] $POKER_Y_SCREEN[7] GXT 'DOLLAR' number 12@ +gosub @VIDPOK_34211 +0342: set_text_draw_centered 1 +033E: set_draw_text_position 320.0 $POKER_Y_SCREEN[4] GXT 'VP17' +038E: draw_box_position $POKER_TABLE_X $POKER_TABLE_Y size $POKER_TABLE_WIDTH $POKER_TABLE_HEIGHT RGBA 0 0 0 255 +if + not 3@ == 6 +else_jump @VIDPOK_27633 +0871: init_jump_table $8826 total_jumps 5 default_jump 0 @VIDPOK_27633 jumps 1 @VIDPOK_27468 2 @VIDPOK_27501 3 @VIDPOK_27534 4 @VIDPOK_27567 5 @VIDPOK_27600 -1 @VIDPOK_27633 -1 @VIDPOK_27633 + +:VIDPOK_27468 +038E: draw_box_position $9044[0] $9049[0] size $9054[0] $9059[0] RGBA $POKER_TEXT_COLOR_R[1] $POKER_TEXT_COLOR_G[1] $POKER_TEXT_COLOR_B[1] 255 +jump @VIDPOK_27633 + +:VIDPOK_27501 +038E: draw_box_position $9044[1] $9049[1] size $9054[1] $9059[1] RGBA $POKER_TEXT_COLOR_R[1] $POKER_TEXT_COLOR_G[1] $POKER_TEXT_COLOR_B[1] 255 +jump @VIDPOK_27633 + +:VIDPOK_27534 +038E: draw_box_position $9044[2] $9049[2] size $9054[2] $9059[2] RGBA $POKER_TEXT_COLOR_R[1] $POKER_TEXT_COLOR_G[1] $POKER_TEXT_COLOR_B[1] 255 +jump @VIDPOK_27633 + +:VIDPOK_27567 +038E: draw_box_position $9044[3] $9049[3] size $9054[3] $9059[3] RGBA $POKER_TEXT_COLOR_R[1] $POKER_TEXT_COLOR_G[1] $POKER_TEXT_COLOR_B[1] 255 +jump @VIDPOK_27633 + +:VIDPOK_27600 +038E: draw_box_position $9044[4] $9049[4] size $9054[4] $9059[4] RGBA $POKER_TEXT_COLOR_R[1] $POKER_TEXT_COLOR_G[1] $POKER_TEXT_COLOR_B[1] 255 +jump @VIDPOK_27633 + +:VIDPOK_27633 +if and + 3@ == 6 + not $8866 == 0 +else_jump @VIDPOK_27970 +12@ = 10 +0064: 12@ -= $8866 // (int) +0089: 15@ = $POKER_Y_ROW(12@,10f) // (float) +15@ += 9.0 +0871: init_jump_table $8826 total_jumps 5 default_jump 0 @VIDPOK_27928 jumps 1 @VIDPOK_27758 2 @VIDPOK_27792 3 @VIDPOK_27826 4 @VIDPOK_27860 5 @VIDPOK_27894 -1 @VIDPOK_27928 -1 @VIDPOK_27928 + +:VIDPOK_27758 +038E: draw_box_position $9044[0] 15@ size $9054[0] 18.0 RGBA 255 $9065 0 255 +jump @VIDPOK_27928 + +:VIDPOK_27792 +038E: draw_box_position $9044[1] 15@ size $9054[1] 18.0 RGBA 255 $9065 0 255 +jump @VIDPOK_27928 + +:VIDPOK_27826 +038E: draw_box_position $9044[2] 15@ size $9054[2] 18.0 RGBA 255 $9065 0 255 +jump @VIDPOK_27928 + +:VIDPOK_27860 +038E: draw_box_position $9044[3] 15@ size $9054[3] 18.0 RGBA 255 $9065 0 255 +jump @VIDPOK_27928 + +:VIDPOK_27894 +038E: draw_box_position $9044[4] 15@ size $9054[4] 18.0 RGBA 255 $9065 0 255 +jump @VIDPOK_27928 + +:VIDPOK_27928 +gosub @VIDPOK_33635 +03E4: set_text_draw_align_right 0 +0342: set_text_draw_centered 1 +045A: draw_text_1number $POKER_X_SCREEN[3] $POKER_Y_SCREEN[3] GXT 'VP04' number 14@ +jump @VIDPOK_28037 + +:VIDPOK_27970 +if and + 3@ == 6 + $8866 == 0 +else_jump @VIDPOK_28037 +14@ = 0 +gosub @VIDPOK_33635 +03E4: set_text_draw_align_right 0 +0342: set_text_draw_centered 1 +045A: draw_text_1number $POKER_X_SCREEN[3] $POKER_Y_SCREEN[3] GXT 'VP04' number 14@ + +:VIDPOK_28037 +gosub @VIDPOK_34019 +033E: set_draw_text_position $POKER_X_COL[0] $POKER_Y_ROW[1] GXT 'VP06' +gosub @VIDPOK_34019 +033E: set_draw_text_position $POKER_X_COL[0] $POKER_Y_ROW[2] GXT 'VP07' +gosub @VIDPOK_34019 +033E: set_draw_text_position $POKER_X_COL[0] $POKER_Y_ROW[3] GXT 'VP08' +gosub @VIDPOK_34019 +033E: set_draw_text_position $POKER_X_COL[0] $POKER_Y_ROW[4] GXT 'VP09' +gosub @VIDPOK_34019 +033E: set_draw_text_position $POKER_X_COL[0] $POKER_Y_ROW[5] GXT 'VP10' +gosub @VIDPOK_34019 +033E: set_draw_text_position $POKER_X_COL[0] $POKER_Y_ROW[6] GXT 'VP11' +gosub @VIDPOK_34019 +033E: set_draw_text_position $POKER_X_COL[0] $POKER_Y_ROW[7] GXT 'VP12' +gosub @VIDPOK_34019 +033E: set_draw_text_position $POKER_X_COL[0] $POKER_Y_ROW[8] GXT 'VP13' +gosub @VIDPOK_34019 +033E: set_draw_text_position $POKER_X_COL[0] $POKER_Y_ROW[9] GXT 'VP14' +gosub @VIDPOK_34211 +0340: set_text_draw_RGBA 255 255 255 255 +033E: set_draw_text_position $POKER_X_SCREEN[5] $POKER_Y_SCREEN[5] GXT 'VP05' +gosub @VIDPOK_34211 +03E4: set_text_draw_align_right 1 +0340: set_text_draw_RGBA 255 255 255 255 +045A: draw_text_1number $POKER_X_COL[1] $POKER_Y_ROW[0] GXT 'VP15' number 1 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[1] $POKER_Y_ROW[1] GXT 'VP15' number 250 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[1] $POKER_Y_ROW[2] GXT 'VP15' number 50 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[1] $POKER_Y_ROW[3] GXT 'VP15' number 25 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[1] $POKER_Y_ROW[4] GXT 'VP15' number 9 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[1] $POKER_Y_ROW[5] GXT 'VP15' number 6 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[1] $POKER_Y_ROW[6] GXT 'VP15' number 4 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[1] $POKER_Y_ROW[7] GXT 'VP15' number 3 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[1] $POKER_Y_ROW[8] GXT 'VP15' number 2 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[1] $POKER_Y_ROW[9] GXT 'VP15' number 1 +gosub @VIDPOK_34211 +03E4: set_text_draw_align_right 1 +0340: set_text_draw_RGBA 255 255 255 255 +045A: draw_text_1number $POKER_X_COL[2] $POKER_Y_ROW[0] GXT 'VP15' number 2 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[2] $POKER_Y_ROW[1] GXT 'VP15' number 500 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[2] $POKER_Y_ROW[2] GXT 'VP15' number 100 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[2] $POKER_Y_ROW[3] GXT 'VP15' number 50 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[2] $POKER_Y_ROW[4] GXT 'VP15' number 18 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[2] $POKER_Y_ROW[5] GXT 'VP15' number 12 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[2] $POKER_Y_ROW[6] GXT 'VP15' number 8 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[2] $POKER_Y_ROW[7] GXT 'VP15' number 6 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[2] $POKER_Y_ROW[8] GXT 'VP15' number 4 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[2] $POKER_Y_ROW[9] GXT 'VP15' number 2 +gosub @VIDPOK_34211 +03E4: set_text_draw_align_right 1 +0340: set_text_draw_RGBA 255 255 255 255 +045A: draw_text_1number $POKER_X_COL[3] $POKER_Y_ROW[0] GXT 'VP15' number 3 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[3] $POKER_Y_ROW[1] GXT 'VP15' number 750 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[3] $POKER_Y_ROW[2] GXT 'VP15' number 150 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[3] $POKER_Y_ROW[3] GXT 'VP15' number 75 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[3] $POKER_Y_ROW[4] GXT 'VP15' number 27 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[3] $POKER_Y_ROW[5] GXT 'VP15' number 18 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[3] $POKER_Y_ROW[6] GXT 'VP15' number 12 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[3] $POKER_Y_ROW[7] GXT 'VP15' number 9 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[3] $POKER_Y_ROW[8] GXT 'VP15' number 6 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[3] $POKER_Y_ROW[9] GXT 'VP15' number 3 +gosub @VIDPOK_34211 +03E4: set_text_draw_align_right 1 +0340: set_text_draw_RGBA 255 255 255 255 +045A: draw_text_1number $POKER_X_COL[4] $POKER_Y_ROW[0] GXT 'VP15' number 4 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[4] $POKER_Y_ROW[1] GXT 'VP15' number 1000 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[4] $POKER_Y_ROW[2] GXT 'VP15' number 200 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[4] $POKER_Y_ROW[3] GXT 'VP15' number 100 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[4] $POKER_Y_ROW[4] GXT 'VP15' number 36 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[4] $POKER_Y_ROW[5] GXT 'VP15' number 24 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[4] $POKER_Y_ROW[6] GXT 'VP15' number 16 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[4] $POKER_Y_ROW[7] GXT 'VP15' number 12 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[4] $POKER_Y_ROW[8] GXT 'VP15' number 8 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[4] $POKER_Y_ROW[9] GXT 'VP15' number 4 +gosub @VIDPOK_34211 +03E4: set_text_draw_align_right 1 +0340: set_text_draw_RGBA 255 255 255 255 +045A: draw_text_1number $POKER_X_COL[5] $POKER_Y_ROW[0] GXT 'VP15' number 5 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[5] $POKER_Y_ROW[1] GXT 'VP15' number 4000 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[5] $POKER_Y_ROW[2] GXT 'VP15' number 250 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[5] $POKER_Y_ROW[3] GXT 'VP15' number 125 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[5] $POKER_Y_ROW[4] GXT 'VP15' number 45 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[5] $POKER_Y_ROW[5] GXT 'VP15' number 30 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[5] $POKER_Y_ROW[6] GXT 'VP15' number 20 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[5] $POKER_Y_ROW[7] GXT 'VP15' number 15 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[5] $POKER_Y_ROW[8] GXT 'VP15' number 10 +gosub @VIDPOK_34403 +03E4: set_text_draw_align_right 1 +045A: draw_text_1number $POKER_X_COL[5] $POKER_Y_ROW[9] GXT 'VP15' number 5 +038E: draw_box_position $POKER_X_LINE[0] $POKER_Y_LINE[0] size $POKER_LINE_WIDTH[0] $POKER_LINE_HEIGHT[0] RGBA $POKER_TEXT_EDGE_R[0] $POKER_TEXT_EDGE_G[0] $POKER_TEXT_EDGE_B[0] 255 +038E: draw_box_position $POKER_X_LINE[1] $POKER_Y_LINE[1] size $POKER_LINE_WIDTH[1] $POKER_LINE_HEIGHT[1] RGBA $POKER_TEXT_EDGE_R[0] $POKER_TEXT_EDGE_G[0] $POKER_TEXT_EDGE_B[0] 255 +038E: draw_box_position $POKER_X_LINE[2] $POKER_Y_LINE[2] size $POKER_LINE_WIDTH[2] $POKER_LINE_HEIGHT[2] RGBA $POKER_TEXT_EDGE_R[0] $POKER_TEXT_EDGE_G[0] $POKER_TEXT_EDGE_B[0] 255 +038E: draw_box_position $POKER_X_LINE[3] $POKER_Y_LINE[3] size $POKER_LINE_WIDTH[3] $POKER_LINE_HEIGHT[3] RGBA $POKER_TEXT_EDGE_R[0] $POKER_TEXT_EDGE_G[0] $POKER_TEXT_EDGE_B[0] 255 +038E: draw_box_position $POKER_X_LINE[4] $POKER_Y_LINE[4] size $POKER_LINE_WIDTH[4] $POKER_LINE_HEIGHT[4] RGBA $POKER_TEXT_EDGE_R[0] $POKER_TEXT_EDGE_G[0] $POKER_TEXT_EDGE_B[0] 255 +038E: draw_box_position $POKER_X_LINE[5] $POKER_Y_LINE[5] size $POKER_LINE_WIDTH[5] $POKER_LINE_HEIGHT[5] RGBA $POKER_TEXT_EDGE_R[0] $POKER_TEXT_EDGE_G[0] $POKER_TEXT_EDGE_B[0] 255 +038E: draw_box_position $POKER_X_LINE[6] $POKER_Y_LINE[6] size $POKER_LINE_WIDTH[6] $POKER_LINE_HEIGHT[6] RGBA $POKER_TEXT_EDGE_R[0] $POKER_TEXT_EDGE_G[0] $POKER_TEXT_EDGE_B[0] 255 +038E: draw_box_position $POKER_X_LINE[7] $POKER_Y_LINE[7] size $POKER_LINE_WIDTH[7] $POKER_LINE_HEIGHT[7] RGBA $POKER_TEXT_EDGE_R[0] $POKER_TEXT_EDGE_G[0] $POKER_TEXT_EDGE_B[0] 255 +038E: draw_box_position $POKER_X_LINE[8] $POKER_Y_LINE[8] size $POKER_LINE_WIDTH[8] $POKER_LINE_HEIGHT[8] RGBA $POKER_TEXT_EDGE_R[0] $POKER_TEXT_EDGE_G[0] $POKER_TEXT_EDGE_B[0] 255 +$9064 = 0 + +:VIDPOK_30110 +if + 5 > $9064 +else_jump @VIDPOK_31296 +if + $8827($9064,5i) == 0 +else_jump @VIDPOK_30193 +038D: draw_texture 53 position $POKER_X_CARD($9064,5f) $POKER_Y_CARD($9064,5f) size $POKER_CARD_WIDTH $POKER_CARD_HEIGHT RGBA 128 128 128 255 +jump @VIDPOK_30234 + +:VIDPOK_30193 +038D: draw_texture $8827($9064,5i) position $POKER_X_CARD($9064,5f) $POKER_Y_CARD($9064,5f) size $POKER_CARD_WIDTH $POKER_CARD_HEIGHT RGBA 128 128 128 255 + +:VIDPOK_30234 +0086: $TEMPVAR_FLOAT_1 = $POKER_X_CARD($9064,5f) // (float) +0086: $TEMPVAR_FLOAT_2 = $POKER_Y_CARD($9064,5f) // (float) +0059: $TEMPVAR_FLOAT_2 += $POKER_HOLD_BUTTON_OFFSET // (float) +if + $8837($9064,5i) == 0 +else_jump @VIDPOK_30445 +0086: $8930 = $POKER_HOLD_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_HOLD_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 size $8930 $8931 RGBA 0 0 0 128 +038E: draw_box_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 size $POKER_HOLD_WIDTH $POKER_HOLD_HEIGHT RGBA 128 128 128 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA 128 128 128 255 +081C: draw_text_outline $POKER_TEXT_EDGE[5] RGBA 0 0 0 128 +0089: 15@ = $POKER_HOLD_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 GXT 'VP19' + +:VIDPOK_30445 +if + $8837($9064,5i) == 1 +else_jump @VIDPOK_30626 +0086: $8930 = $POKER_HOLD_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_HOLD_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 size $8930 $8931 RGBA 255 $9065 0 128 +038E: draw_box_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 size $POKER_HOLD_WIDTH $POKER_HOLD_HEIGHT RGBA 128 128 128 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA 128 128 128 255 +081C: draw_text_outline $POKER_TEXT_EDGE[5] RGBA 0 0 0 128 +0089: 15@ = $POKER_HOLD_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 GXT 'VP19' + +:VIDPOK_30626 +if + $8837($9064,5i) == 2 +else_jump @VIDPOK_30787 +0086: $8930 = $POKER_HOLD_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_HOLD_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 size $8930 $8931 RGBA 0 0 0 255 +038E: draw_box_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 size $POKER_HOLD_WIDTH $POKER_HOLD_HEIGHT RGBA 0 128 0 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA 0 255 0 255 +0089: 15@ = $POKER_HOLD_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 GXT 'VP19' + +:VIDPOK_30787 +if + $8837($9064,5i) == 3 +else_jump @VIDPOK_30952 +0086: $8930 = $POKER_HOLD_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_HOLD_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 size $8930 $8931 RGBA 255 $9065 0 255 +038E: draw_box_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 size $POKER_HOLD_WIDTH $POKER_HOLD_HEIGHT RGBA 0 128 0 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA $POKER_TEXT_COLOR_R[5] $9065 $POKER_TEXT_COLOR_B[5] 255 +0089: 15@ = $POKER_HOLD_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 GXT 'VP19' + +:VIDPOK_30952 +if + $8837($9064,5i) == 4 +else_jump @VIDPOK_31115 +0086: $8930 = $POKER_HOLD_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_HOLD_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 size $8930 $8931 RGBA 0 0 0 255 +038E: draw_box_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 size $POKER_HOLD_WIDTH $POKER_HOLD_HEIGHT RGBA $POKER_TEXT_COLOR_R[1] $POKER_TEXT_COLOR_G[1] $POKER_TEXT_COLOR_B[1] 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA 255 0 0 255 +0089: 15@ = $POKER_HOLD_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 GXT 'VP19' + +:VIDPOK_31115 +if + $8837($9064,5i) == 5 +else_jump @VIDPOK_31282 +0086: $8930 = $POKER_HOLD_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_HOLD_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 size $8930 $8931 RGBA 255 $9065 0 255 +038E: draw_box_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 size $POKER_HOLD_WIDTH $POKER_HOLD_HEIGHT RGBA $POKER_TEXT_COLOR_R[1] $POKER_TEXT_COLOR_G[1] $POKER_TEXT_COLOR_B[1] 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA $POKER_TEXT_COLOR_R[5] $9065 $POKER_TEXT_COLOR_B[5] 255 +0089: 15@ = $POKER_HOLD_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 GXT 'VP19' + +:VIDPOK_31282 +$9064 += 1 +jump @VIDPOK_30110 + +:VIDPOK_31296 +if + $8842 == 0 +else_jump @VIDPOK_31479 +0086: $8930 = $POKER_BET_ONE_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_BET_ONE_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $POKER_X_BET_ONE $POKER_Y_BET_ONE size $8930 $8931 RGBA 0 0 0 128 +038E: draw_box_position $POKER_X_BET_ONE $POKER_Y_BET_ONE size $POKER_BET_ONE_WIDTH $POKER_BET_ONE_HEIGHT RGBA 128 128 128 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA 128 128 128 255 +081C: draw_text_outline $POKER_TEXT_EDGE[5] RGBA 0 0 0 128 +0089: 15@ = $POKER_BET_ONE_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0086: $TEMPVAR_FLOAT_2 = $POKER_Y_BET_ONE // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $POKER_X_BET_ONE $TEMPVAR_FLOAT_2 GXT 'VP20' + +:VIDPOK_31479 +if + $8842 == 1 +else_jump @VIDPOK_31664 +0086: $8930 = $POKER_BET_ONE_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_BET_ONE_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $POKER_X_BET_ONE $POKER_Y_BET_ONE size $8930 $8931 RGBA 255 $9065 0 128 +038E: draw_box_position $POKER_X_BET_ONE $POKER_Y_BET_ONE size $POKER_BET_ONE_WIDTH $POKER_BET_ONE_HEIGHT RGBA 128 128 128 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA 128 128 128 255 +081C: draw_text_outline $POKER_TEXT_EDGE[5] RGBA 0 0 0 128 +0089: 15@ = $POKER_BET_ONE_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0086: $TEMPVAR_FLOAT_2 = $POKER_Y_BET_ONE // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $POKER_X_BET_ONE $TEMPVAR_FLOAT_2 GXT 'VP20' + +:VIDPOK_31664 +if + $8842 == 2 +else_jump @VIDPOK_31829 +0086: $8930 = $POKER_BET_ONE_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_BET_ONE_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $POKER_X_BET_ONE $POKER_Y_BET_ONE size $8930 $8931 RGBA 0 0 0 255 +038E: draw_box_position $POKER_X_BET_ONE $POKER_Y_BET_ONE size $POKER_BET_ONE_WIDTH $POKER_BET_ONE_HEIGHT RGBA 0 128 0 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA 0 255 0 255 +0089: 15@ = $POKER_BET_ONE_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0086: $TEMPVAR_FLOAT_2 = $POKER_Y_BET_ONE // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $POKER_X_BET_ONE $TEMPVAR_FLOAT_2 GXT 'VP20' + +:VIDPOK_31829 +if + $8842 == 3 +else_jump @VIDPOK_31998 +0086: $8930 = $POKER_BET_ONE_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_BET_ONE_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $POKER_X_BET_ONE $POKER_Y_BET_ONE size $8930 $8931 RGBA 255 $9065 0 255 +038E: draw_box_position $POKER_X_BET_ONE $POKER_Y_BET_ONE size $POKER_BET_ONE_WIDTH $POKER_BET_ONE_HEIGHT RGBA 0 128 0 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA $POKER_TEXT_COLOR_R[5] $9065 $POKER_TEXT_COLOR_B[5] 255 +0089: 15@ = $POKER_BET_ONE_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0086: $TEMPVAR_FLOAT_2 = $POKER_Y_BET_ONE // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $POKER_X_BET_ONE $TEMPVAR_FLOAT_2 GXT 'VP20' + +:VIDPOK_31998 +if + $8842 == 4 +else_jump @VIDPOK_32165 +0086: $8930 = $POKER_BET_ONE_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_BET_ONE_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $POKER_X_BET_ONE $POKER_Y_BET_ONE size $8930 $8931 RGBA 0 0 0 255 +038E: draw_box_position $POKER_X_BET_ONE $POKER_Y_BET_ONE size $POKER_BET_ONE_WIDTH $POKER_BET_ONE_HEIGHT RGBA $POKER_TEXT_COLOR_R[1] $POKER_TEXT_COLOR_G[1] $POKER_TEXT_COLOR_B[1] 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA 255 0 0 255 +0089: 15@ = $POKER_BET_ONE_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0086: $TEMPVAR_FLOAT_2 = $POKER_Y_BET_ONE // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $POKER_X_BET_ONE $TEMPVAR_FLOAT_2 GXT 'VP20' + +:VIDPOK_32165 +if + $8842 == 5 +else_jump @VIDPOK_32336 +0086: $8930 = $POKER_BET_ONE_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_BET_ONE_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $POKER_X_BET_ONE $POKER_Y_BET_ONE size $8930 $8931 RGBA 255 $9065 0 255 +038E: draw_box_position $POKER_X_BET_ONE $POKER_Y_BET_ONE size $POKER_BET_ONE_WIDTH $POKER_BET_ONE_HEIGHT RGBA $POKER_TEXT_COLOR_R[1] $POKER_TEXT_COLOR_G[1] $POKER_TEXT_COLOR_B[1] 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA $POKER_TEXT_COLOR_R[5] $9065 $POKER_TEXT_COLOR_B[5] 255 +0089: 15@ = $POKER_BET_ONE_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0086: $TEMPVAR_FLOAT_2 = $POKER_Y_BET_ONE // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $POKER_X_BET_ONE $TEMPVAR_FLOAT_2 GXT 'VP20' + +:VIDPOK_32336 +if + $8843 == 0 +else_jump @VIDPOK_32519 +0086: $8930 = $POKER_DEAL_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_DEAL_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $POKER_X_DEAL $POKER_Y_DEAL size $8930 $8931 RGBA 0 0 0 128 +038E: draw_box_position $POKER_X_DEAL $POKER_Y_DEAL size $POKER_DEAL_WIDTH $POKER_DEAL_HEIGHT RGBA 128 128 128 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA 128 128 128 255 +081C: draw_text_outline $POKER_TEXT_EDGE[5] RGBA 0 0 0 128 +0089: 15@ = $POKER_DEAL_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0086: $TEMPVAR_FLOAT_2 = $POKER_Y_DEAL // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $POKER_X_DEAL $TEMPVAR_FLOAT_2 GXT 'VP21' + +:VIDPOK_32519 +if + $8843 == 1 +else_jump @VIDPOK_32704 +0086: $8930 = $POKER_DEAL_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_DEAL_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $POKER_X_DEAL $POKER_Y_DEAL size $8930 $8931 RGBA 255 $9065 0 128 +038E: draw_box_position $POKER_X_DEAL $POKER_Y_DEAL size $POKER_DEAL_WIDTH $POKER_DEAL_HEIGHT RGBA 128 128 128 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA 128 128 128 255 +081C: draw_text_outline $POKER_TEXT_EDGE[5] RGBA 0 0 0 128 +0089: 15@ = $POKER_DEAL_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0086: $TEMPVAR_FLOAT_2 = $POKER_Y_DEAL // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $POKER_X_DEAL $TEMPVAR_FLOAT_2 GXT 'VP21' + +:VIDPOK_32704 +if + $8843 == 2 +else_jump @VIDPOK_32869 +0086: $8930 = $POKER_DEAL_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_DEAL_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $POKER_X_DEAL $POKER_Y_DEAL size $8930 $8931 RGBA 0 0 0 255 +038E: draw_box_position $POKER_X_DEAL $POKER_Y_DEAL size $POKER_DEAL_WIDTH $POKER_DEAL_HEIGHT RGBA 0 128 0 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA 0 255 0 255 +0089: 15@ = $POKER_DEAL_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0086: $TEMPVAR_FLOAT_2 = $POKER_Y_DEAL // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $POKER_X_DEAL $TEMPVAR_FLOAT_2 GXT 'VP21' + +:VIDPOK_32869 +if + $8843 == 3 +else_jump @VIDPOK_33038 +0086: $8930 = $POKER_DEAL_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_DEAL_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $POKER_X_DEAL $POKER_Y_DEAL size $8930 $8931 RGBA 255 $9065 0 255 +038E: draw_box_position $POKER_X_DEAL $POKER_Y_DEAL size $POKER_DEAL_WIDTH $POKER_DEAL_HEIGHT RGBA 0 128 0 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA $POKER_TEXT_COLOR_R[5] $9065 $POKER_TEXT_COLOR_B[5] 255 +0089: 15@ = $POKER_DEAL_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0086: $TEMPVAR_FLOAT_2 = $POKER_Y_DEAL // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $POKER_X_DEAL $TEMPVAR_FLOAT_2 GXT 'VP21' + +:VIDPOK_33038 +if + $8843 == 4 +else_jump @VIDPOK_33205 +0086: $8930 = $POKER_DEAL_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_DEAL_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $POKER_X_DEAL $POKER_Y_DEAL size $8930 $8931 RGBA 0 0 0 255 +038E: draw_box_position $POKER_X_DEAL $POKER_Y_DEAL size $POKER_DEAL_WIDTH $POKER_DEAL_HEIGHT RGBA $POKER_TEXT_COLOR_R[1] $POKER_TEXT_COLOR_G[1] $POKER_TEXT_COLOR_B[1] 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA 255 0 0 255 +0089: 15@ = $POKER_DEAL_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0086: $TEMPVAR_FLOAT_2 = $POKER_Y_DEAL // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $POKER_X_DEAL $TEMPVAR_FLOAT_2 GXT 'VP21' + +:VIDPOK_33205 +if + $8843 == 5 +else_jump @VIDPOK_33376 +0086: $8930 = $POKER_DEAL_WIDTH // (float) +0059: $8930 += $POKER_BORDER_THICKNESS // (float) +0086: $8931 = $POKER_DEAL_HEIGHT // (float) +0059: $8931 += $POKER_BORDER_THICKNESS // (float) +038E: draw_box_position $POKER_X_DEAL $POKER_Y_DEAL size $8930 $8931 RGBA 255 $9065 0 255 +038E: draw_box_position $POKER_X_DEAL $POKER_Y_DEAL size $POKER_DEAL_WIDTH $POKER_DEAL_HEIGHT RGBA $POKER_TEXT_COLOR_R[1] $POKER_TEXT_COLOR_G[1] $POKER_TEXT_COLOR_B[1] 255 +gosub @VIDPOK_34595 +0340: set_text_draw_RGBA $POKER_TEXT_COLOR_R[5] $9065 $POKER_TEXT_COLOR_B[5] 255 +0089: 15@ = $POKER_DEAL_HEIGHT // (float) +0077: 15@ /= $POKER_BUTTON_TEXT_OFFSET // (float) +0086: $TEMPVAR_FLOAT_2 = $POKER_Y_DEAL // (float) +0067: $TEMPVAR_FLOAT_2 -= 15@ // (float) +033E: set_draw_text_position $POKER_X_DEAL $TEMPVAR_FLOAT_2 GXT 'VP21' + +:VIDPOK_33376 +return + +:VIDPOK_33378 +if and + 27 > $9069 + $9069 > 13 +else_jump @VIDPOK_33418 +0084: $9070 = $9069 // (int) +$9070 -= 13 + +:VIDPOK_33418 +if and + 40 > $9069 + $9069 > 26 +else_jump @VIDPOK_33458 +0084: $9070 = $9069 // (int) +$9070 -= 26 + +:VIDPOK_33458 +if and + 53 > $9069 + $9069 > 39 +else_jump @VIDPOK_33498 +0084: $9070 = $9069 // (int) +$9070 -= 39 + +:VIDPOK_33498 +if + 13 >= $9069 +else_jump @VIDPOK_33524 +0084: $9070 = $9069 // (int) + +:VIDPOK_33524 +return + +:VIDPOK_33526 +if + 14 > $9069 +else_jump @VIDPOK_33558 +$9070 = 1 +jump @VIDPOK_33629 + +:VIDPOK_33558 +if + 27 > $9069 +else_jump @VIDPOK_33590 +$9070 = 2 +jump @VIDPOK_33629 + +:VIDPOK_33590 +if + 40 > $9069 +else_jump @VIDPOK_33622 +$9070 = 3 +jump @VIDPOK_33629 + +:VIDPOK_33622 +$9070 = 4 + +:VIDPOK_33629 +return + +:VIDPOK_33631 +return + +:VIDPOK_33633 +return + +:VIDPOK_33635 +033F: set_text_draw_letter_size $POKER_X_TEXT_SCALE[0] $POKER_Y_TEXT_SCALE[0] +0340: set_text_draw_RGBA $POKER_TEXT_COLOR_R[0] $POKER_TEXT_COLOR_G[0] $POKER_TEXT_COLOR_B[0] 255 +if + $POKER_TEXT_CENTRE[0] == 1 +else_jump @VIDPOK_33679 +0342: set_text_draw_centered 1 + +:VIDPOK_33679 +0871: init_jump_table $POKER_TEXT_FONT[0] total_jumps 4 default_jump 1 @VIDPOK_33786 jumps 0 @VIDPOK_33742 1 @VIDPOK_33753 2 @VIDPOK_33764 3 @VIDPOK_33775 -1 @VIDPOK_33797 -1 @VIDPOK_33797 -1 @VIDPOK_33797 + +:VIDPOK_33742 +0349: set_text_draw_font 0 +jump @VIDPOK_33797 + +:VIDPOK_33753 +0349: set_text_draw_font 1 +jump @VIDPOK_33797 + +:VIDPOK_33764 +0349: set_text_draw_font 2 +jump @VIDPOK_33797 + +:VIDPOK_33775 +0349: set_text_draw_font 3 +jump @VIDPOK_33797 + +:VIDPOK_33786 +0349: set_text_draw_font 0 +jump @VIDPOK_33797 + +:VIDPOK_33797 +081C: draw_text_outline $POKER_TEXT_EDGE[0] RGBA $POKER_TEXT_EDGE_R[0] $POKER_TEXT_EDGE_G[0] $POKER_TEXT_EDGE_B[0] 255 +0343: set_text_draw_linewidth 2000.0 +0348: enable_text_draw_proportional 1 +return + +:VIDPOK_33827 +033F: set_text_draw_letter_size $POKER_X_TEXT_SCALE[1] $POKER_Y_TEXT_SCALE[1] +0340: set_text_draw_RGBA $POKER_TEXT_COLOR_R[1] $POKER_TEXT_COLOR_G[1] $POKER_TEXT_COLOR_B[1] 255 +if + $POKER_TEXT_CENTRE[1] == 1 +else_jump @VIDPOK_33871 +0342: set_text_draw_centered 1 + +:VIDPOK_33871 +0871: init_jump_table $POKER_TEXT_FONT[1] total_jumps 4 default_jump 1 @VIDPOK_33978 jumps 0 @VIDPOK_33934 1 @VIDPOK_33945 2 @VIDPOK_33956 3 @VIDPOK_33967 -1 @VIDPOK_33989 -1 @VIDPOK_33989 -1 @VIDPOK_33989 + +:VIDPOK_33934 +0349: set_text_draw_font 0 +jump @VIDPOK_33989 + +:VIDPOK_33945 +0349: set_text_draw_font 1 +jump @VIDPOK_33989 + +:VIDPOK_33956 +0349: set_text_draw_font 2 +jump @VIDPOK_33989 + +:VIDPOK_33967 +0349: set_text_draw_font 3 +jump @VIDPOK_33989 + +:VIDPOK_33978 +0349: set_text_draw_font 0 +jump @VIDPOK_33989 + +:VIDPOK_33989 +081C: draw_text_outline $POKER_TEXT_EDGE[1] RGBA $POKER_TEXT_EDGE_R[1] $POKER_TEXT_EDGE_G[1] $POKER_TEXT_EDGE_B[1] 255 +0343: set_text_draw_linewidth 2000.0 +0348: enable_text_draw_proportional 1 +return + +:VIDPOK_34019 +033F: set_text_draw_letter_size $POKER_X_TEXT_SCALE[2] $POKER_Y_TEXT_SCALE[2] +0340: set_text_draw_RGBA $POKER_TEXT_COLOR_R[2] $POKER_TEXT_COLOR_G[2] $POKER_TEXT_COLOR_B[2] 255 +if + $POKER_TEXT_CENTRE[2] == 1 +else_jump @VIDPOK_34063 +0342: set_text_draw_centered 1 + +:VIDPOK_34063 +0871: init_jump_table $POKER_TEXT_FONT[2] total_jumps 4 default_jump 1 @VIDPOK_34170 jumps 0 @VIDPOK_34126 1 @VIDPOK_34137 2 @VIDPOK_34148 3 @VIDPOK_34159 -1 @VIDPOK_34181 -1 @VIDPOK_34181 -1 @VIDPOK_34181 + +:VIDPOK_34126 +0349: set_text_draw_font 0 +jump @VIDPOK_34181 + +:VIDPOK_34137 +0349: set_text_draw_font 1 +jump @VIDPOK_34181 + +:VIDPOK_34148 +0349: set_text_draw_font 2 +jump @VIDPOK_34181 + +:VIDPOK_34159 +0349: set_text_draw_font 3 +jump @VIDPOK_34181 + +:VIDPOK_34170 +0349: set_text_draw_font 0 +jump @VIDPOK_34181 + +:VIDPOK_34181 +081C: draw_text_outline $POKER_TEXT_EDGE[2] RGBA $POKER_TEXT_EDGE_R[2] $POKER_TEXT_EDGE_G[2] $POKER_TEXT_EDGE_B[2] 255 +0343: set_text_draw_linewidth 2000.0 +0348: enable_text_draw_proportional 1 +return + +:VIDPOK_34211 +033F: set_text_draw_letter_size $POKER_X_TEXT_SCALE[3] $POKER_Y_TEXT_SCALE[3] +0340: set_text_draw_RGBA $POKER_TEXT_COLOR_R[3] $POKER_TEXT_COLOR_G[3] $POKER_TEXT_COLOR_B[3] 255 +if + $POKER_TEXT_CENTRE[3] == 1 +else_jump @VIDPOK_34255 +0342: set_text_draw_centered 1 + +:VIDPOK_34255 +0871: init_jump_table $POKER_TEXT_FONT[3] total_jumps 4 default_jump 1 @VIDPOK_34362 jumps 0 @VIDPOK_34318 1 @VIDPOK_34329 2 @VIDPOK_34340 3 @VIDPOK_34351 -1 @VIDPOK_34373 -1 @VIDPOK_34373 -1 @VIDPOK_34373 + +:VIDPOK_34318 +0349: set_text_draw_font 0 +jump @VIDPOK_34373 + +:VIDPOK_34329 +0349: set_text_draw_font 1 +jump @VIDPOK_34373 + +:VIDPOK_34340 +0349: set_text_draw_font 2 +jump @VIDPOK_34373 + +:VIDPOK_34351 +0349: set_text_draw_font 3 +jump @VIDPOK_34373 + +:VIDPOK_34362 +0349: set_text_draw_font 0 +jump @VIDPOK_34373 + +:VIDPOK_34373 +081C: draw_text_outline $POKER_TEXT_EDGE[3] RGBA $POKER_TEXT_EDGE_R[3] $POKER_TEXT_EDGE_G[3] $POKER_TEXT_EDGE_B[3] 255 +0343: set_text_draw_linewidth 2000.0 +0348: enable_text_draw_proportional 1 +return + +:VIDPOK_34403 +033F: set_text_draw_letter_size $POKER_X_TEXT_SCALE[4] $POKER_Y_TEXT_SCALE[4] +0340: set_text_draw_RGBA $POKER_TEXT_COLOR_R[4] $POKER_TEXT_COLOR_G[4] $POKER_TEXT_COLOR_B[4] 255 +if + $POKER_TEXT_CENTRE[4] == 1 +else_jump @VIDPOK_34447 +0342: set_text_draw_centered 1 + +:VIDPOK_34447 +0871: init_jump_table $POKER_TEXT_FONT[4] total_jumps 4 default_jump 1 @VIDPOK_34554 jumps 0 @VIDPOK_34510 1 @VIDPOK_34521 2 @VIDPOK_34532 3 @VIDPOK_34543 -1 @VIDPOK_34565 -1 @VIDPOK_34565 -1 @VIDPOK_34565 + +:VIDPOK_34510 +0349: set_text_draw_font 0 +jump @VIDPOK_34565 + +:VIDPOK_34521 +0349: set_text_draw_font 1 +jump @VIDPOK_34565 + +:VIDPOK_34532 +0349: set_text_draw_font 2 +jump @VIDPOK_34565 + +:VIDPOK_34543 +0349: set_text_draw_font 3 +jump @VIDPOK_34565 + +:VIDPOK_34554 +0349: set_text_draw_font 0 +jump @VIDPOK_34565 + +:VIDPOK_34565 +081C: draw_text_outline $POKER_TEXT_EDGE[4] RGBA $POKER_TEXT_EDGE_R[4] $POKER_TEXT_EDGE_G[4] $POKER_TEXT_EDGE_B[4] 255 +0343: set_text_draw_linewidth 2000.0 +0348: enable_text_draw_proportional 1 +return + +:VIDPOK_34595 +033F: set_text_draw_letter_size $POKER_X_TEXT_SCALE[5] $POKER_Y_TEXT_SCALE[5] +0340: set_text_draw_RGBA $POKER_TEXT_COLOR_R[5] $POKER_TEXT_COLOR_G[5] $POKER_TEXT_COLOR_B[5] 255 +if + $POKER_TEXT_CENTRE[5] == 1 +else_jump @VIDPOK_34639 +0342: set_text_draw_centered 1 + +:VIDPOK_34639 +0871: init_jump_table $POKER_TEXT_FONT[5] total_jumps 4 default_jump 1 @VIDPOK_34746 jumps 0 @VIDPOK_34702 1 @VIDPOK_34713 2 @VIDPOK_34724 3 @VIDPOK_34735 -1 @VIDPOK_34757 -1 @VIDPOK_34757 -1 @VIDPOK_34757 + +:VIDPOK_34702 +0349: set_text_draw_font 0 +jump @VIDPOK_34757 + +:VIDPOK_34713 +0349: set_text_draw_font 1 +jump @VIDPOK_34757 + +:VIDPOK_34724 +0349: set_text_draw_font 2 +jump @VIDPOK_34757 + +:VIDPOK_34735 +0349: set_text_draw_font 3 +jump @VIDPOK_34757 + +:VIDPOK_34746 +0349: set_text_draw_font 0 +jump @VIDPOK_34757 + +:VIDPOK_34757 +081C: draw_text_outline $POKER_TEXT_EDGE[5] RGBA $POKER_TEXT_EDGE_R[5] $POKER_TEXT_EDGE_G[5] $POKER_TEXT_EDGE_B[5] 255 +0343: set_text_draw_linewidth 2000.0 +0348: enable_text_draw_proportional 1 +return +033F: set_text_draw_letter_size 0.54 1.44 +0340: set_text_draw_RGBA 128 148 178 255 +0341: set_text_draw_align_justify 1 +0343: set_text_draw_linewidth 2000.0 +0348: enable_text_draw_proportional 1 +return +033F: set_text_draw_letter_size 0.54 1.44 +0340: set_text_draw_RGBA 128 148 178 255 +0342: set_text_draw_centered 1 +0343: set_text_draw_linewidth 2000.0 +0348: enable_text_draw_proportional 1 +return + +:VIDPOK_34873 +0653: 15@ = float_stat 81 +if + 50.0 > 15@ +else_jump @VIDPOK_34915 +$MAX_WAGER = 100 +jump @VIDPOK_35035 + +:VIDPOK_34915 +if + 150.0 > 15@ +else_jump @VIDPOK_34951 +$MAX_WAGER = 1000 +jump @VIDPOK_35035 + +:VIDPOK_34951 +if + 350.0 > 15@ +else_jump @VIDPOK_34987 +$MAX_WAGER = 10000 +jump @VIDPOK_35035 + +:VIDPOK_34987 +if + 1000.0 > 15@ +else_jump @VIDPOK_35025 +$MAX_WAGER = 100000 +jump @VIDPOK_35035 + +:VIDPOK_35025 +$MAX_WAGER = 1000000 + +:VIDPOK_35035 +return + +:VIDPOK_35037 +09BD: allow_other_threads_to_display_text_boxes 0 +3@ = 0 +4@ = 0 +5@ = 0 +6@ = 0 +7@ = 0 +end_thread_named 'CASHWIN' +00BE: text_clear_all +03E6: remove_text_box +040D: unload_wav 4 +0391: release_textures +03F0: enable_text_draw 0 +Player.CanMove($PLAYER_CHAR) = True +0826: enable_hud 1 +Camera.SetBehindPlayer +Camera.Restore_WithJumpCut +return + +//-------------External script 16 (WHEELO)--------------- + +:WOF +thread 'WOF' +5@ = 0 +6@ = 0 +22@ = 0.0 +23@ = 0.0 +13@ = 0 +15@ = 0 +16@ = 0 +25@ = -1 +27@ = 0 +0209: 32@ = random_int_in_ranges 0 30000 +jump @WOF_451 +0@ = Object.Create(#WHEEL_O_FORTUNE, 0.0, 0.0, 0.0) +4@ = Object.Create(#WHEEL_O_FORTUNE, 0.0, 0.0, 0.0) +2@ = Object.Create(#WHEEL_O_FORTUNE, 0.0, 0.0, 0.0) +1@ = Object.Create(#WHEEL_O_FORTUNE, 0.0, 0.0, 0.0) +3@ = Object.Create(#WHEEL_O_FORTUNE, 0.0, 0.0, 0.0) +7@ = Actor.Create(Fireman, 7, 0.0, 0.0, 0.0) +$9339[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0) +$9345[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0) +$9351[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0) +$9357[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0) +$9363[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0) +$9369[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0) +$9375[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0) +$9381[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0) +$9436 = Object.Create(#ROULETTE_MARKER, 0.0, 0.0, 0.0) +Actor.SetImmunities(7@, 1, 1, 1, 1, 1) +0350: set_actor 7@ maintain_position_when_attacked 1 + +:WOF_451 +wait 0 +if + $PLAYER_IN_INTERIOR == 0 +else_jump @WOF_2403 +if +03CA: object 0@ exists +else_jump @WOF_2389 +if +0977: player_in_radius_of_object 0@ external_script_trigger +else_jump @WOF_2375 +if + $9440 == 0 +else_jump @WOF_2280 +if + Player.Defined($PLAYER_CHAR) +else_jump @WOF_2266 +if + 5@ == 0 +else_jump @WOF_1093 +if + 6@ == 0 +else_jump @WOF_596 +Model.Load(11) +04ED: load_animation "CASINO" +6@ += 1 + +:WOF_596 +if + 6@ == 1 +else_jump @WOF_646 +if and + Model.Available(11) +04EE: animation "CASINO" loaded +else_jump @WOF_646 +6@ += 1 + +:WOF_646 +if + 6@ == 2 +else_jump @WOF_1056 +if +856D: not actor 7@ defined +else_jump @WOF_811 +20@ = Object.Angle(0@) +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.5 -0.397 0.0 +02CE: $TEMPVAR_FLOAT_3 = ground_z_at $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +7@ = Actor.Create(CivFemale, 11, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +060B: set_actor 7@ decision_maker_to 65542 +0088: $TEMPVAR_ANGLE = 20@ // (float) +$TEMPVAR_ANGLE += 180.0 +Actor.Angle(7@) = $TEMPVAR_ANGLE +Actor.SetImmunities(7@, 1, 1, 1, 1, 1) +Actor.LockInCurrentPosition(7@) = True +Model.Destroy(11) + +:WOF_811 +if +83CA: not object 4@ exists +else_jump @WOF_880 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 0.159 0.0 +4@ = Object.Init(#WHEEL_SUPPORT, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle(4@) = 20@ + +:WOF_880 +if +83CA: not object 2@ exists +else_jump @WOF_980 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset -0.132 -1.049 -0.834 +02CE: $TEMPVAR_FLOAT_3 = ground_z_at $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +$TEMPVAR_FLOAT_3 += 1.0 +2@ = Object.Init(#WHEEL_TABLE, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle(2@) = 20@ +gosub @WOF_15523 + +:WOF_980 +if +83CA: not object 1@ exists +else_jump @WOF_1049 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 0@ with_offset 0.0 0.0 1.05 +1@ = Object.Init(#CLICKER, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle(1@) = 20@ + +:WOF_1049 +6@ += 1 + +:WOF_1056 +if + 6@ == 3 +else_jump @WOF_1093 +0209: 32@ = random_int_in_ranges 0 50000 +5@ += 1 + +:WOF_1093 +if + 5@ == 1 +else_jump @WOF_2216 +if + not Actor.Dead(7@) +else_jump @WOF_1336 +if + 32@ > 50000 +else_jump @WOF_1336 +0605: actor 7@ perform_animation "WOF" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +0209: 10@ = random_int_in_ranges 0 3 +0871: init_jump_table 10@ total_jumps 3 default_jump 0 @WOF_1322 jumps 0 @WOF_1253 1 @WOF_1276 2 @WOF_1299 -1 @WOF_1322 -1 @WOF_1322 -1 @WOF_1322 -1 @WOF_1322 + +:WOF_1253 +09D6: unknown_set_actor 7@ sound 43608 flags 1 1 0 +jump @WOF_1322 + +:WOF_1276 +09D6: unknown_set_actor 7@ sound 43609 flags 1 1 0 +jump @WOF_1322 + +:WOF_1299 +09D6: unknown_set_actor 7@ sound 43610 flags 1 1 0 +jump @WOF_1322 + +:WOF_1322 +25@ = 0 +32@ = 0 + +:WOF_1336 +if + not Actor.Dead(7@) +else_jump @WOF_2216 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset 0.0 -1.0 0.0 +if + $9470 == 0 +else_jump @WOF_2216 +if +00FF: actor $PLAYER_ACTOR sphere 0 in_sphere $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 radius 0.5 0.5 2.0 on_foot +else_jump @WOF_2189 +if +044B: actor $PLAYER_ACTOR on_foot +else_jump @WOF_2182 +if + 15@ == 0 +else_jump @WOF_2158 +if +00E1: player 0 pressed_key 15 +else_jump @WOF_1892 +10@ = 0 +0653: 8@ = float_stat 81 +if + 19@ == 1000000 +else_jump @WOF_1585 +if + 1000.0 > 8@ +else_jump @WOF_1578 +00BC: show_text_highpriority GXT 'GAMBSTA' time 5000 flag 1 +gosub @WOF_2417 +10@ = 1 + +:WOF_1578 +jump @WOF_1811 + +:WOF_1585 +if + 19@ == 100000 +else_jump @WOF_1664 +if + 100.0 > 8@ +else_jump @WOF_1657 +00BC: show_text_highpriority GXT 'GAMBSTA' time 5000 flag 1 +gosub @WOF_2417 +10@ = 1 + +:WOF_1657 +jump @WOF_1811 + +:WOF_1664 +if + 19@ == 10000 +else_jump @WOF_1741 +if + 10.0 > 8@ +else_jump @WOF_1734 +00BC: show_text_highpriority GXT 'GAMBSTA' time 5000 flag 1 +gosub @WOF_2417 +10@ = 1 + +:WOF_1734 +jump @WOF_1811 + +:WOF_1741 +if + 19@ == 1000 +else_jump @WOF_1811 +if + 1.0 > 8@ +else_jump @WOF_1811 +00BC: show_text_highpriority GXT 'GAMBSTA' time 5000 flag 1 +gosub @WOF_2417 +10@ = 1 + +:WOF_1811 +if + 10@ == 0 +else_jump @WOF_1885 +if + 14@ == 1 +else_jump @WOF_1856 +03E6: remove_text_box +14@ = 0 + +:WOF_1856 +5@ = 0 +6@ = 0 +008A: $9440 = 0@ // (int) +15@ = 1 + +:WOF_1885 +jump @WOF_2151 + +:WOF_1892 +if + 14@ == 0 +else_jump @WOF_2151 +if and +8A2A: not text_box 'SGPUNT' displayed +8A2A: not text_box 'SGGAMB' displayed +8A2A: not text_box 'SGPROF' displayed +8A2A: not text_box 'SGHIRO' displayed +else_jump @WOF_2151 +0871: init_jump_table 19@ total_jumps 5 default_jump 1 @WOF_2126 jumps 100 @WOF_2036 1000 @WOF_2054 10000 @WOF_2072 100000 @WOF_2090 1000000 @WOF_2108 -1 @WOF_2144 -1 @WOF_2144 + +:WOF_2036 +0512: show_permanent_text_box 'WOF_06A' +jump @WOF_2144 + +:WOF_2054 +0512: show_permanent_text_box 'WOF_06B' +jump @WOF_2144 + +:WOF_2072 +0512: show_permanent_text_box 'WOF_06C' +jump @WOF_2144 + +:WOF_2090 +0512: show_permanent_text_box 'WOF_06D' +jump @WOF_2144 + +:WOF_2108 +0512: show_permanent_text_box 'WOF_06E' +jump @WOF_2144 + +:WOF_2126 +0512: show_permanent_text_box 'WOF_06' +jump @WOF_2144 + +:WOF_2144 +14@ = 1 + +:WOF_2151 +jump @WOF_2182 + +:WOF_2158 +if +80E1: not player 0 pressed_key 15 +else_jump @WOF_2182 +15@ = 0 + +:WOF_2182 +jump @WOF_2216 + +:WOF_2189 +if + 14@ == 1 +else_jump @WOF_2216 +03E6: remove_text_box +14@ = 0 + +:WOF_2216 +if or +02CC: object 0@ bounding_sphere_visible +0471: actor $PLAYER_ACTOR near_object_in_rectangle 0@ radius 5.0 5.0 sphere 0 +else_jump @WOF_2259 +gosub @WOF_9910 + +:WOF_2259 +jump @WOF_2273 + +:WOF_2266 +gosub @WOF_2492 + +:WOF_2273 +jump @WOF_2368 + +:WOF_2280 +if +003C: $9440 == 0@ // (int) +else_jump @WOF_2368 +if + Player.Defined($PLAYER_CHAR) +else_jump @WOF_2368 +if + 13@ == 0 +else_jump @WOF_2354 +gosub @WOF_9910 +gosub @WOF_2533 +jump @WOF_2368 + +:WOF_2354 +gosub @WOF_11193 +$9440 = 0 + +:WOF_2368 +jump @WOF_2382 + +:WOF_2375 +gosub @WOF_2492 + +:WOF_2382 +jump @WOF_2396 + +:WOF_2389 +gosub @WOF_2492 + +:WOF_2396 +jump @WOF_2410 + +:WOF_2403 +gosub @WOF_2492 + +:WOF_2410 +jump @WOF_451 + +:WOF_2417 +10@ = 0 +0209: 10@ = random_int_in_ranges 0 2 +if + 10@ == 0 +else_jump @WOF_2474 +09D6: unknown_set_actor 7@ sound 43651 flags 1 1 0 +jump @WOF_2490 + +:WOF_2474 +09D6: unknown_set_actor 7@ sound 43651 flags 1 1 0 + +:WOF_2490 +return + +:WOF_2492 +Actor.RemoveReferences(7@) +Object.RemoveReferences(4@) +Object.RemoveReferences(2@) +Object.RemoveReferences(1@) +04EF: release_animation "CASINO" +$9450 -= 1 +end_thread +return + +:WOF_2533 +0871: init_jump_table 5@ total_jumps 7 default_jump 0 @WOF_2694 jumps 0 @WOF_2596 1 @WOF_2610 2 @WOF_2624 3 @WOF_2638 4 @WOF_2652 5 @WOF_2666 6 @WOF_2680 + +:WOF_2596 +gosub @WOF_2842 +jump @WOF_2694 + +:WOF_2610 +gosub @WOF_4194 +jump @WOF_2694 + +:WOF_2624 +gosub @WOF_7357 +jump @WOF_2694 + +:WOF_2638 +gosub @WOF_7688 +jump @WOF_2694 + +:WOF_2652 +gosub @WOF_7832 +jump @WOF_2694 + +:WOF_2666 +gosub @WOF_7866 +jump @WOF_2694 + +:WOF_2680 +gosub @WOF_9514 +jump @WOF_2694 + +:WOF_2694 +gosub @WOF_13551 +if + 5@ == 1 +else_jump @WOF_2799 +if + 15@ == 0 +else_jump @WOF_2775 +if +00E1: player 0 pressed_key 15 +else_jump @WOF_2768 +13@ = 1 +15@ = 1 + +:WOF_2768 +jump @WOF_2799 + +:WOF_2775 +if +80E1: not player 0 pressed_key 15 +else_jump @WOF_2799 +15@ = 0 + +:WOF_2799 +if + Actor.Dead(7@) +else_jump @WOF_2840 +if + 5@ > 0 +else_jump @WOF_2840 +13@ = 1 + +:WOF_2840 +return + +:WOF_2842 +if + 6@ == 0 +else_jump @WOF_4089 +if + Player.Defined($PLAYER_CHAR) +else_jump @WOF_4082 +09BD: allow_other_threads_to_display_text_boxes 1 +Player.CanMove($PLAYER_CHAR) = False +Object.StorePos(0@, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +06BA: AS_actor $PLAYER_ACTOR turn_to_and_look_at $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +03F0: enable_text_draw 1 +0581: enable_radar 0 +04ED: load_animation "CASINO" +00BE: text_clear_all +10@ = 0 + +:WOF_2942 +if + 6 > 10@ +else_jump @WOF_3080 +$9387 = -0.118 +0086: $9388(10@,6f) = $9387 // (float) +0086: $9394(10@,6f) = $9387 // (float) +0086: $9400(10@,6f) = $9387 // (float) +0086: $9406(10@,6f) = $9387 // (float) +0086: $9412(10@,6f) = $9387 // (float) +0086: $9418(10@,6f) = $9387 // (float) +0086: $9424(10@,6f) = $9387 // (float) +0086: $9430(10@,6f) = $9387 // (float) +10@ += 1 +jump @WOF_2942 + +:WOF_3080 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset -0.634 0.253 $9388[0] +$9339[0] = Object.Init(#CHIP_STACK07, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($9339[0]) = 20@ +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset -0.201 0.253 $9388[1] +$9339[1] = Object.Init(#CHIP_STACK07, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($9339[1]) = 20@ +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset 0.243 0.253 $9388[2] +$9339[2] = Object.Init(#CHIP_STACK07, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($9339[2]) = 20@ +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset -0.635 -0.106 $9388[3] +$9339[3] = Object.Init(#CHIP_STACK07, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($9339[3]) = 20@ +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset -0.201 -0.106 $9388[4] +$9339[4] = Object.Init(#CHIP_STACK07, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($9339[4]) = 20@ +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset 0.243 -0.106 $9388[5] +$9339[5] = Object.Init(#CHIP_STACK07, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Object.Angle($9339[5]) = 20@ +10@ = 0 + +:WOF_3393 +if + 6 > 10@ +else_jump @WOF_3478 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object $9339(10@,6i) with_offset 0.07 0.0 0.0 +$9345(10@,6i) = Object.Init(#CHIP_STACK08, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +10@ += 1 +jump @WOF_3393 + +:WOF_3478 +10@ = 0 + +:WOF_3485 +if + 6 > 10@ +else_jump @WOF_3570 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object $9339(10@,6i) with_offset -0.07 0.0 0.0 +$9351(10@,6i) = Object.Init(#CHIP_STACK09, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +10@ += 1 +jump @WOF_3485 + +:WOF_3570 +10@ = 0 + +:WOF_3577 +if + 6 > 10@ +else_jump @WOF_3662 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object $9339(10@,6i) with_offset 0.07 0.07 0.0 +$9357(10@,6i) = Object.Init(#CHIP_STACK10, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +10@ += 1 +jump @WOF_3577 + +:WOF_3662 +10@ = 0 + +:WOF_3669 +if + 6 > 10@ +else_jump @WOF_3754 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object $9339(10@,6i) with_offset 0.07 -0.07 0.0 +$9363(10@,6i) = Object.Init(#CHIP_STACK11, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +10@ += 1 +jump @WOF_3669 + +:WOF_3754 +10@ = 0 + +:WOF_3761 +if + 6 > 10@ +else_jump @WOF_3846 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object $9339(10@,6i) with_offset -0.07 0.07 0.0 +$9369(10@,6i) = Object.Init(#CHIP_STACK12, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +10@ += 1 +jump @WOF_3761 + +:WOF_3846 +10@ = 0 + +:WOF_3853 +if + 6 > 10@ +else_jump @WOF_3938 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object $9339(10@,6i) with_offset -0.07 -0.07 0.0 +$9375(10@,6i) = Object.Init(#CHIP_STACK13, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +10@ += 1 +jump @WOF_3853 + +:WOF_3938 +10@ = 0 + +:WOF_3945 +if + 6 > 10@ +else_jump @WOF_4030 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object $9339(10@,6i) with_offset 0.0 0.07 0.0 +$9381(10@,6i) = Object.Init(#CHIP_STACK14, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +10@ += 1 +jump @WOF_3945 + +:WOF_4030 +$9325 = 0 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset -0.635 0.253 0.041 +$9436 = Object.Init(#ROULETTE_MARKER, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:WOF_4082 +6@ += 1 + +:WOF_4089 +if + 6@ == 1 +else_jump @WOF_4135 +if +04EE: animation "CASINO" loaded +else_jump @WOF_4135 +6@ += 1 + +:WOF_4135 +if + 6@ == 2 +else_jump @WOF_4160 +6@ = 99 + +:WOF_4160 +if + 6@ == 99 +else_jump @WOF_4192 +5@ += 1 +6@ = 0 + +:WOF_4192 +return + +:WOF_4194 +if + 6@ == 0 +else_jump @WOF_4661 +10@ = 0 + +:WOF_4219 +if + 6 > 10@ +else_jump @WOF_4262 +$9327(10@,6i) = 0 +10@ += 1 +jump @WOF_4219 + +:WOF_4262 +$9333 = 0 +$9334 = 0 +32@ = 0 +33@ = 0 +0512: show_permanent_text_box 'WOFHD01' +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset 0.0 -0.7 0.0 +02CE: $TEMPVAR_FLOAT_3 = ground_z_at $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +Actor.PutAt($PLAYER_ACTOR, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +Actor.Angle($PLAYER_ACTOR) = 20@ +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset -0.773 -0.633 0.988 +Camera.SetPosition($TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3, 0.0, 0.0, 0.0) +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset -0.468 -0.063 0.225 +Camera.PointAt($TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3, 2) +if +03CA: object $9436 exists +else_jump @WOF_4486 +0750: set_object $9436 visibility 1 + +:WOF_4486 +23@ = 0.0 +24@ = 0.0 +$9438 = 0 +$9439 = 0 +if + not Actor.Dead(7@) +else_jump @WOF_4654 +0209: 10@ = random_int_in_ranges 0 2 +0871: init_jump_table 10@ total_jumps 2 default_jump 0 @WOF_4654 jumps 0 @WOF_4608 1 @WOF_4631 -1 @WOF_4654 -1 @WOF_4654 -1 @WOF_4654 -1 @WOF_4654 -1 @WOF_4654 + +:WOF_4608 +09D6: unknown_set_actor 7@ sound 43600 flags 1 1 0 +jump @WOF_4654 + +:WOF_4631 +09D6: unknown_set_actor 7@ sound 43601 flags 1 1 0 +jump @WOF_4654 + +:WOF_4654 +6@ += 1 + +:WOF_4661 +if + 6@ == 1 +else_jump @WOF_7321 +0494: get_joystick 0 direction_offset_to $MOVE_AXIS_X $MOVE_AXIS_Y $SPECIAL_AXIS_X $SPECIAL_AXIS_Y +if + not 17@ == 0 +else_jump @WOF_4833 +10@ = 0 +if or +00E1: player 0 pressed_key 8 +00E1: player 0 pressed_key 9 +00E1: player 0 pressed_key 10 +00E1: player 0 pressed_key 11 +else_jump @WOF_4762 +10@ = 1 + +:WOF_4762 +if or + $MOVE_AXIS_Y > 100 + -100 > $MOVE_AXIS_Y + $MOVE_AXIS_X > 100 + -100 > $MOVE_AXIS_X +else_jump @WOF_4808 +10@ = 1 + +:WOF_4808 +if + 10@ == 0 +else_jump @WOF_4833 +17@ = 0 + +:WOF_4833 +0085: 10@ = 17@ // (int) +if or +00E1: player 0 pressed_key 8 + -100 > $MOVE_AXIS_Y +else_jump @WOF_4872 +17@ = 1 + +:WOF_4872 +if or +00E1: player 0 pressed_key 9 + $MOVE_AXIS_Y > 100 +else_jump @WOF_4903 +17@ = 2 + +:WOF_4903 +if or +00E1: player 0 pressed_key 10 + -100 > $MOVE_AXIS_X +else_jump @WOF_4934 +17@ = 3 + +:WOF_4934 +if or +00E1: player 0 pressed_key 11 + $MOVE_AXIS_X > 100 +else_jump @WOF_4965 +17@ = 4 + +:WOF_4965 +if +803B: not 17@ == 10@ // (int) +else_jump @WOF_5239 +if + 17@ == 4 +else_jump @WOF_5069 +if or + $9334 == 0 + $9334 == 1 + $9334 == 3 + $9334 == 4 +else_jump @WOF_5055 +$9334 += 1 +jump @WOF_5062 + +:WOF_5055 +$9334 += -2 + +:WOF_5062 +32@ = 0 + +:WOF_5069 +if + 17@ == 3 +else_jump @WOF_5154 +if or + $9334 == 1 + $9334 == 2 + $9334 == 4 + $9334 == 5 +else_jump @WOF_5140 +$9334 += -1 +jump @WOF_5147 + +:WOF_5140 +$9334 += 2 + +:WOF_5147 +32@ = 0 + +:WOF_5154 +if or + 17@ == 1 + 17@ == 2 +else_jump @WOF_5239 +if or + $9334 == 0 + $9334 == 1 + $9334 == 2 +else_jump @WOF_5225 +$9334 += 3 +jump @WOF_5232 + +:WOF_5225 +$9334 += -3 + +:WOF_5232 +32@ = 0 + +:WOF_5239 +if +00E1: player 0 pressed_key 14 +else_jump @WOF_5830 +if and + not 16@ == 1 + not 16@ == -1 +else_jump @WOF_5779 +if + $9327($9334,6i) >= 100000 +else_jump @WOF_5321 +$9335 = 10000 +jump @WOF_5507 + +:WOF_5321 +if + $9327($9334,6i) >= 10000 +else_jump @WOF_5359 +$9335 = 1000 +jump @WOF_5507 + +:WOF_5359 +if + $9327($9334,6i) >= 1000 +else_jump @WOF_5396 +$9335 = 100 +jump @WOF_5507 + +:WOF_5396 +if + $9327($9334,6i) >= 100 +else_jump @WOF_5432 +$9335 = 10 +jump @WOF_5507 + +:WOF_5432 +if + $9327($9334,6i) == 0 +else_jump @WOF_5500 +if + $9334 == 2 +else_jump @WOF_5486 +$9335 = 5 +jump @WOF_5493 + +:WOF_5486 +$9335 = 2 + +:WOF_5493 +jump @WOF_5507 + +:WOF_5500 +$9335 = 1 + +:WOF_5507 +10@ = Player.Money($PLAYER_CHAR) +gosub @WOF_11559 +005C: 10@ += $MAX_WAGER // (int) +if +001E: $9335 > 10@ // (int) +else_jump @WOF_5557 +008A: $9335 = 10@ // (int) + +:WOF_5557 +$9333 = 0 +10@ = 0 + +:WOF_5571 +if + 6 > 10@ +else_jump @WOF_5615 +0058: $9333 += $9327(10@,6i) // (int) +10@ += 1 +jump @WOF_5571 + +:WOF_5615 +0085: 10@ = 19@ // (int) +0064: 10@ -= $9333 // (int) +if +001E: $9335 > 10@ // (int) +else_jump @WOF_5658 +008A: $9335 = 10@ // (int) + +:WOF_5658 +if + 0 > $9335 +else_jump @WOF_5683 +$9335 *= -1 + +:WOF_5683 +0058: $9327($9334,6i) += $9335 // (int) +0058: $9438 += $9335 // (int) +0058: $9439 += $9335 // (int) +$9335 *= -1 +Player.Money($PLAYER_CHAR) += $9335 +16@ += 1 +if + 16@ > 1 +else_jump @WOF_5765 +16@ = 2 +jump @WOF_5772 + +:WOF_5765 +32@ = 0 + +:WOF_5772 +jump @WOF_5823 + +:WOF_5779 +if + 16@ == 1 +else_jump @WOF_5823 +if + 32@ > 500 +else_jump @WOF_5823 +16@ = 2 + +:WOF_5823 +jump @WOF_6350 + +:WOF_5830 +if +00E1: player 0 pressed_key 17 +else_jump @WOF_6325 +if + not 18@ == 1 +else_jump @WOF_6292 +if + $9327($9334,6i) > 100000 +else_jump @WOF_5905 +$9335 = -10000 +jump @WOF_6023 + +:WOF_5905 +if + $9327($9334,6i) > 10000 +else_jump @WOF_5943 +$9335 = -1000 +jump @WOF_6023 + +:WOF_5943 +if + $9327($9334,6i) > 1000 +else_jump @WOF_5980 +$9335 = -100 +jump @WOF_6023 + +:WOF_5980 +if + $9327($9334,6i) > 100 +else_jump @WOF_6016 +$9335 = -10 +jump @WOF_6023 + +:WOF_6016 +$9335 = -1 + +:WOF_6023 +008B: 10@ = $9327($9334,6i) // (int) +0058: $9327($9334,6i) += $9335 // (int) +if + $9334 == 2 +else_jump @WOF_6120 +if + 5 > $9327($9334,6i) +else_jump @WOF_6113 +$9327($9334,6i) = 0 +008A: $9335 = 10@ // (int) +$9335 *= -1 + +:WOF_6113 +jump @WOF_6168 + +:WOF_6120 +if + 2 > $9327($9334,6i) +else_jump @WOF_6168 +$9327($9334,6i) = 0 +008A: $9335 = 10@ // (int) +$9335 *= -1 + +:WOF_6168 +if + 0 > $9327($9334,6i) +else_jump @WOF_6208 +$9327($9334,6i) = 0 +jump @WOF_6239 + +:WOF_6208 +0058: $9438 += $9335 // (int) +0058: $9439 += $9335 // (int) +$9335 *= -1 +Player.Money($PLAYER_CHAR) += $9335 + +:WOF_6239 +18@ += 1 +if + 18@ > 1 +else_jump @WOF_6278 +18@ = 2 +jump @WOF_6285 + +:WOF_6278 +32@ = 0 + +:WOF_6285 +jump @WOF_6318 + +:WOF_6292 +if + 32@ > 500 +else_jump @WOF_6318 +18@ = 2 + +:WOF_6318 +jump @WOF_6350 + +:WOF_6325 +if + not 18@ == 0 +else_jump @WOF_6350 +18@ = 0 + +:WOF_6350 +$9333 = 0 +10@ = 0 + +:WOF_6364 +if + 6 > 10@ +else_jump @WOF_6408 +0058: $9333 += $9327(10@,6i) // (int) +10@ += 1 +jump @WOF_6364 + +:WOF_6408 +if + $9334 == 0 +else_jump @WOF_6469 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset -0.635 0.253 0.041 +Object.PutAt($9436, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:WOF_6469 +if + $9334 == 1 +else_jump @WOF_6530 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset -0.201 0.253 0.041 +Object.PutAt($9436, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:WOF_6530 +if + $9334 == 2 +else_jump @WOF_6591 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset 0.243 0.253 0.041 +Object.PutAt($9436, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:WOF_6591 +if + $9334 == 3 +else_jump @WOF_6652 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset -0.635 -0.106 0.041 +Object.PutAt($9436, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:WOF_6652 +if + $9334 == 4 +else_jump @WOF_6713 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset -0.201 -0.106 0.041 +Object.PutAt($9436, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:WOF_6713 +if + $9334 == 5 +else_jump @WOF_6774 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset 0.243 -0.106 0.041 +Object.PutAt($9436, $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:WOF_6774 +0871: init_jump_table $CURRENT_LANGUAGE total_jumps 1 default_jump 1 @WOF_6877 jumps 3 @WOF_6837 -1 @WOF_6917 -1 @WOF_6917 -1 @WOF_6917 -1 @WOF_6917 -1 @WOF_6917 -1 @WOF_6917 + +:WOF_6837 +0937: text_draw_box_cornerA 29.0 220.0 cornerB 173.0 409.0 GXT_reference 'BJ_TITL' style 2 +jump @WOF_6917 + +:WOF_6877 +0937: text_draw_box_cornerA 29.0 220.0 cornerB 157.0 409.0 GXT_reference 'BJ_TITL' style 2 +jump @WOF_6917 + +:WOF_6917 +gosub @WOF_11766 +0340: set_text_draw_RGBA 134 155 184 255 +033E: set_draw_text_position 36.0 240.0 GXT 'WOF_04' +gosub @WOF_11766 +033F: set_text_draw_letter_size 0.625 2.788 +045A: draw_text_1number 36.0 260.0 GXT 'DOLLAR' number $9327($9334,6i) +gosub @WOF_11766 +0340: set_text_draw_RGBA 134 155 184 255 +033E: set_draw_text_position 36.0 290.0 GXT 'WOF_05' +gosub @WOF_11766 +033F: set_text_draw_letter_size 0.625 2.788 +045A: draw_text_1number 36.0 310.0 GXT 'DOLLAR' number $9333 +gosub @WOF_11766 +0340: set_text_draw_RGBA 134 155 184 255 +033E: set_draw_text_position 36.0 340.0 GXT 'BJ_03' +gosub @WOF_11766 +033F: set_text_draw_letter_size 0.625 2.788 +045A: draw_text_1number 36.0 360.0 GXT 'DOLLAR' number 19@ +if +00E1: player 0 pressed_key 16 +else_jump @WOF_7296 +if + 16@ == 0 +else_jump @WOF_7289 +if + $9333 > 0 +else_jump @WOF_7282 +0623: add $9333 to_integer_stat 35 +008F: 8@ = integer $9333 to_float +8@ *= 0.001 +0624: add 8@ to_float_stat 81 +32@ = 0 +$9439 = 0 +6@ = 99 + +:WOF_7282 +16@ = 1 + +:WOF_7289 +jump @WOF_7321 + +:WOF_7296 +if + not 16@ == 0 +else_jump @WOF_7321 +16@ = 0 + +:WOF_7321 +if + 6@ == 99 +else_jump @WOF_7355 +03E6: remove_text_box +5@ += 1 +6@ = 0 + +:WOF_7355 +return + +:WOF_7357 +if + not Actor.Dead(7@) +else_jump @WOF_7686 +0605: actor 7@ perform_animation "WOF" IFP "CASINO" framedelta 4.0 loop 0 lockX 0 lockY 0 lockF 0 time -1 +0209: 10@ = random_int_in_ranges 0 3 +0871: init_jump_table 10@ total_jumps 3 default_jump 0 @WOF_7552 jumps 0 @WOF_7478 1 @WOF_7501 2 @WOF_7524 -1 @WOF_7552 -1 @WOF_7552 -1 @WOF_7552 -1 @WOF_7552 + +:WOF_7478 +09D6: unknown_set_actor 7@ sound 43608 flags 1 1 0 +jump @WOF_7552 + +:WOF_7501 +09D6: unknown_set_actor 7@ sound 43609 flags 1 1 0 +jump @WOF_7552 + +:WOF_7524 +09D6: unknown_set_actor 7@ sound 43610 flags 1 1 0 +jump @WOF_7552 +hex + 02 56 DB 2A 90 +end + +:WOF_7552 +25@ = 0 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset -1.368 -2.009 0.732 +Camera.SetPosition($TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3, 0.0, 0.0, 0.0) +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 2@ with_offset -0.815 -1.175 0.74 +Camera.PointAt($TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3, 2) +if +03CA: object $9436 exists +else_jump @WOF_7679 +0750: set_object $9436 visibility 0 + +:WOF_7679 +5@ += 1 + +:WOF_7686 +return + +:WOF_7688 +if and + 2.0 > 23@ + 25@ > 1 +else_jump @WOF_7830 +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 4@ with_offset -0.306 -0.938 0.423 +Camera.SetPosition($TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3, 0.0, 0.0, 0.0) +0400: store_coords_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 from_object 4@ with_offset -0.03 -0.052 0.793 +0460: set_camera_transverse_delay 0.0 time 6000 +Camera.PointAt($TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3, 1) +5@ += 1 + +:WOF_7830 +return + +:WOF_7832 +if + 25@ == 4 +else_jump @WOF_7864 +6@ = 0 +5@ += 1 + +:WOF_7864 +return + +:WOF_7866 +if + 6@ == 0 +else_jump @WOF_9067 +0087: 8@ = 21@ // (float) +8@ -= 3.333 +if + 0.0 > 8@ +else_jump @WOF_7933 +8@ += 360.0 + +:WOF_7933 +8@ /= 6.667 +0090: $9336 = float 8@ to_integer +$9336 += 1 +gosub @WOF_11821 +10@ = 0 +$9338 = 0 +if + $9337 == 1 +else_jump @WOF_8030 +if + $9327[2] > 0 +else_jump @WOF_8030 +$9338 = 2 +0068: $9338 *= $9327[2] // (int) + +:WOF_8030 +if + $9337 == 2 +else_jump @WOF_8081 +if + $9327[4] > 0 +else_jump @WOF_8081 +$9338 = 3 +0068: $9338 *= $9327[4] // (int) + +:WOF_8081 +if + $9337 == 5 +else_jump @WOF_8132 +if + $9327[1] > 0 +else_jump @WOF_8132 +$9338 = 6 +0068: $9338 *= $9327[1] // (int) + +:WOF_8132 +if + $9337 == 10 +else_jump @WOF_8183 +if + $9327[3] > 0 +else_jump @WOF_8183 +$9338 = 11 +0068: $9338 *= $9327[3] // (int) + +:WOF_8183 +if + $9337 == 20 +else_jump @WOF_8234 +if + $9327[0] > 0 +else_jump @WOF_8234 +$9338 = 21 +0068: $9338 *= $9327[0] // (int) + +:WOF_8234 +if + $9337 == 40 +else_jump @WOF_8285 +if + $9327[5] > 0 +else_jump @WOF_8285 +$9338 = 41 +0068: $9338 *= $9327[5] // (int) + +:WOF_8285 +32@ = 0 +008B: 10@ = $9338 // (int) +0064: 10@ -= $9438 // (int) +Player.Money($PLAYER_CHAR) += $9338 +if + 10@ > 0 +else_jump @WOF_8348 +0623: add 10@ to_integer_stat 37 +jump @WOF_8348 + +:WOF_8348 +create_thread @CASHWIN 10@ 3000 +08F8: display_stat_update_box 0 +if + 10@ > 0 +else_jump @WOF_9021 +0627: update_integer_stat 38 to 10@ +0093: 8@ = integer 10@ to_float +0093: 9@ = integer 19@ to_float +0073: 8@ /= 9@ // (float) +$9325 += 1 +if + 3 > $9325 +else_jump @WOF_8850 +if + 8@ > 0.9 +else_jump @WOF_8672 +if + Player.Defined($PLAYER_CHAR) +else_jump @WOF_8665 +if + not Actor.Dead(7@) +else_jump @WOF_8665 +0209: 10@ = random_int_in_ranges 0 5 +0871: init_jump_table 10@ total_jumps 4 default_jump 1 @WOF_8651 jumps 0 @WOF_8565 1 @WOF_8588 2 @WOF_8611 3 @WOF_8634 -1 @WOF_8665 -1 @WOF_8665 -1 @WOF_8665 + +:WOF_8565 +09D6: unknown_set_actor 7@ sound 43648 flags 1 1 0 +jump @WOF_8665 + +:WOF_8588 +09D6: unknown_set_actor 7@ sound 43649 flags 1 1 0 +jump @WOF_8665 + +:WOF_8611 +09D6: unknown_set_actor 7@ sound 43650 flags 1 1 0 +jump @WOF_8665 + +:WOF_8634 +0947: actor $PLAYER_ACTOR speak_from_audio_table 100 store_spoken_phrase_id_to 10@ +jump @WOF_8665 + +:WOF_8651 +gosub @WOF_9245 +jump @WOF_8665 + +:WOF_8665 +jump @WOF_8843 + +:WOF_8672 +if + not Actor.Dead(7@) +else_jump @WOF_8843 +0209: 10@ = random_int_in_ranges 0 10 +0871: init_jump_table 10@ total_jumps 3 default_jump 1 @WOF_8829 jumps 0 @WOF_8760 1 @WOF_8783 2 @WOF_8806 -1 @WOF_8843 -1 @WOF_8843 -1 @WOF_8843 -1 @WOF_8843 + +:WOF_8760 +09D6: unknown_set_actor 7@ sound 43648 flags 1 1 0 +jump @WOF_8843 + +:WOF_8783 +09D6: unknown_set_actor 7@ sound 43649 flags 1 1 0 +jump @WOF_8843 + +:WOF_8806 +09D6: unknown_set_actor 7@ sound 43650 flags 1 1 0 +jump @WOF_8843 + +:WOF_8829 +gosub @WOF_9245 +jump @WOF_8843 + +:WOF_8843 +jump @WOF_9014 + +:WOF_8850 +if + not Actor.Dead(7@) +else_jump @WOF_9007 +0209: 10@ = random_int_in_ranges 0 3 +0871: init_jump_table 10@ total_jumps 3 default_jump 0 @WOF_9007 jumps 0 @WOF_8938 1 @WOF_8961 2 @WOF_8984 -1 @WOF_9007 -1 @WOF_9007 -1 @WOF_9007 -1 @WOF_9007 + +:WOF_8938 +09D6: unknown_set_actor 7@ sound 43662 flags 1 1 0 +jump @WOF_9007 + +:WOF_8961 +09D6: unknown_set_actor 7@ sound 43663 flags 1 1 0 +jump @WOF_9007 + +:WOF_8984 +09D6: unknown_set_actor 7@ sound 43664 flags 1 1 0 +jump @WOF_9007 + +:WOF_9007 +$9325 = 0 + +:WOF_9014 +jump @WOF_9056 + +:WOF_9021 +10@ *= -1 +0627: update_integer_stat 39 to 10@ +10@ *= -1 +gosub @WOF_9245 +$9325 = 0 + +:WOF_9056 +08F8: display_stat_update_box 1 +6@ += 1 + +:WOF_9067 +if + 6@ == 1 +else_jump @WOF_9118 +if + 3000 > 32@ +else_jump @WOF_9111 +jump @WOF_9118 + +:WOF_9111 +6@ += 1 + +:WOF_9118 +if + 6@ == 2 +else_jump @WOF_9211 +0512: show_permanent_text_box 'WOF_09' +10@ = 0 + +:WOF_9154 +if + 6 > 10@ +else_jump @WOF_9197 +$9327(10@,6i) = 0 +10@ += 1 +jump @WOF_9154 + +:WOF_9197 +32@ = 0 +6@ = 99 + +:WOF_9211 +if + 6@ == 99 +else_jump @WOF_9243 +32@ = 0 +5@ += 1 + +:WOF_9243 +return + +:WOF_9245 +if + not Actor.Dead(7@) +else_jump @WOF_9512 +0871: init_jump_table $9337 total_jumps 6 default_jump 0 @WOF_9512 jumps 1 @WOF_9324 2 @WOF_9347 5 @WOF_9370 10 @WOF_9393 20 @WOF_9416 40 @WOF_9439 -1 @WOF_9512 + +:WOF_9324 +09D6: unknown_set_actor 7@ sound 43655 flags 1 1 0 +jump @WOF_9512 + +:WOF_9347 +09D6: unknown_set_actor 7@ sound 43656 flags 1 1 0 +jump @WOF_9512 + +:WOF_9370 +09D6: unknown_set_actor 7@ sound 43657 flags 1 1 0 +jump @WOF_9512 + +:WOF_9393 +09D6: unknown_set_actor 7@ sound 43658 flags 1 1 0 +jump @WOF_9512 + +:WOF_9416 +09D6: unknown_set_actor 7@ sound 43659 flags 1 1 0 +jump @WOF_9512 + +:WOF_9439 +0209: 10@ = random_int_in_ranges 0 2 +if + 10@ == 0 +else_jump @WOF_9489 +09D6: unknown_set_actor 7@ sound 43660 flags 1 1 0 +jump @WOF_9505 + +:WOF_9489 +09D6: unknown_set_actor 7@ sound 43661 flags 1 1 0 + +:WOF_9505 +jump @WOF_9512 + +:WOF_9512 +return + +:WOF_9514 +if +00E1: player 0 pressed_key 16 +else_jump @WOF_9556 +16@ = -1 +00BE: text_clear_all +03E6: remove_text_box +5@ = 1 +6@ = 0 + +:WOF_9556 +return +0904: get_interface 6 color_RGBA_to $9201 $9202 $9203 $9204 +0340: set_text_draw_RGBA $9201 $9202 $9203 $9204 +0349: set_text_draw_font 3 +081C: draw_text_outline 3 RGBA 0 0 0 255 +033F: set_text_draw_letter_size 1.2 4.0 +0341: set_text_draw_align_justify 1 +03E4: set_text_draw_align_right 0 +0343: set_text_draw_linewidth 1000.0 +0348: enable_text_draw_proportional 1 +0342: set_text_draw_centered 1 +0345: enable_text_draw_background 0 +return +0904: get_interface 0 color_RGBA_to $9201 $9202 $9203 $9204 +0340: set_text_draw_RGBA $9201 $9202 $9203 $9204 +0349: set_text_draw_font 3 +081C: draw_text_outline 3 RGBA 0 0 0 255 +033F: set_text_draw_letter_size 1.2 4.0 +0341: set_text_draw_align_justify 1 +03E4: set_text_draw_align_right 0 +0343: set_text_draw_linewidth 1000.0 +0348: enable_text_draw_proportional 1 +0342: set_text_draw_centered 1 +0345: enable_text_draw_background 0 +return +0904: get_interface 4 color_RGBA_to $9201 $9202 $9203 $9204 +0340: set_text_draw_RGBA $9201 $9202 $9203 $9204 +0349: set_text_draw_font 3 +081C: draw_text_outline 3 RGBA 0 0 0 255 +033F: set_text_draw_letter_size 1.2 4.0 +0341: set_text_draw_align_justify 1 +03E4: set_text_draw_align_right 0 +0343: set_text_draw_linewidth 1000.0 +0348: enable_text_draw_proportional 1 +0342: set_text_draw_centered 1 +0345: enable_text_draw_background 0 +return +0904: get_interface 4 color_RGBA_to $9201 $9202 $9203 $9204 +0340: set_text_draw_RGBA $9201 $9202 $9203 $9204 +0349: set_text_draw_font 2 +081C: draw_text_outline 2 RGBA 0 0 0 255 +033F: set_text_draw_letter_size 0.52 1.45 +0341: set_text_draw_align_justify 1 +03E4: set_text_draw_align_right 0 +0343: set_text_draw_linewidth 1000.0 +0348: enable_text_draw_proportional 1 +0342: set_text_draw_centered 1 +0345: enable_text_draw_background 0 +return + +:WOF_9910 +0871: init_jump_table 25@ total_jumps 5 default_jump 0 @WOF_10609 jumps 0 @WOF_9973 1 @WOF_10009 2 @WOF_10068 3 @WOF_10238 4 @WOF_10602 -1 @WOF_10609 -1 @WOF_10609 + +:WOF_9973 +0208: 24@ = random_float_in_ranges 0.1 0.15 +33@ = 0 +25@ += 1 +jump @WOF_10609 + +:WOF_10009 +007B: 23@ += frame_delta_time * 24@ // (float) +007B: 22@ += frame_delta_time * 23@ // (float) +if + 33@ > 500 +else_jump @WOF_10061 +24@ = -0.005 +25@ += 1 + +:WOF_10061 +jump @WOF_10609 + +:WOF_10068 +007B: 23@ += frame_delta_time * 24@ // (float) +007B: 22@ += frame_delta_time * 23@ // (float) +if + 0.3 > 23@ +else_jump @WOF_10231 +0087: 21@ = 22@ // (float) +0087: 8@ = 21@ // (float) +8@ /= 6.667 +0092: 10@ = float 8@ to_integer +0093: 9@ = integer 10@ to_float +0063: 8@ -= 9@ // (float) +8@ += -1.0 +8@ *= -1.0 +8@ *= 6.667 +005B: 21@ += 8@ // (float) +if + 21@ > 360.0 +else_jump @WOF_10224 +21@ += -360.0 + +:WOF_10224 +25@ += 1 + +:WOF_10231 +jump @WOF_10609 + +:WOF_10238 +0087: 8@ = 22@ // (float) +0063: 8@ -= 21@ // (float) +if + -180.0 > 8@ +else_jump @WOF_10285 +8@ += 360.0 + +:WOF_10285 +if + 8@ > 180.0 +else_jump @WOF_10316 +8@ += -360.0 + +:WOF_10316 +if + 23@ > 0.01 +else_jump @WOF_10434 +if + 8@ > 3.333 +else_jump @WOF_10427 +0087: 22@ = 21@ // (float) +22@ += 3.333 +if + 22@ > 360.0 +else_jump @WOF_10407 +22@ += -360.0 + +:WOF_10407 +23@ *= -1.0 +24@ *= -1.0 + +:WOF_10427 +jump @WOF_10579 + +:WOF_10434 +if + -0.01 > 23@ +else_jump @WOF_10552 +if + -3.333 > 8@ +else_jump @WOF_10545 +0087: 22@ = 21@ // (float) +22@ -= 3.333 +if + 0.0 > 22@ +else_jump @WOF_10525 +22@ += 360.0 + +:WOF_10525 +23@ *= -1.0 +24@ *= -1.0 + +:WOF_10545 +jump @WOF_10579 + +:WOF_10552 +23@ = 0.0 +24@ = 0.0 +25@ += 1 + +:WOF_10579 +007B: 23@ += frame_delta_time * 24@ // (float) +007B: 22@ += frame_delta_time * 23@ // (float) +jump @WOF_10609 + +:WOF_10602 +jump @WOF_10609 + +:WOF_10609 +if + not 23@ == 0.0 +else_jump @WOF_10708 +if + 22@ > 360.0 +else_jump @WOF_10661 +22@ += -360.0 + +:WOF_10661 +if + 0.0 > 22@ +else_jump @WOF_10692 +22@ += 360.0 + +:WOF_10692 +0453: set_object 0@ XYZ_rotation 0.0 22@ 20@ + +:WOF_10708 +if +03CA: object 1@ exists +else_jump @WOF_11191 +if + 23@ > 0.2 +else_jump @WOF_11113 +if + 0.8 > 23@ +else_jump @WOF_11050 +0087: 8@ = 22@ // (float) +8@ += 3.333 +8@ /= 6.667 +0092: 10@ = float 8@ to_integer +0093: 9@ = integer 10@ to_float +0063: 8@ -= 9@ // (float) +8@ += -1.0 +8@ *= -1.0 +8@ *= 6.667 +if + 8@ > 5.0 +else_jump @WOF_10977 +8@ += -5.0 +8@ /= 1.667 +8@ += -1.0 +8@ *= -1.0 +8@ *= 5.0 +0087: 26@ = 8@ // (float) +26@ *= -1.0 +if + not 27@ == 1 +else_jump @WOF_10970 +097B: play_audio_at_object 1@ event 1027 +27@ = 1 + +:WOF_10970 +jump @WOF_11043 + +:WOF_10977 +0079: 26@ += frame_delta_time * 0.5 // (float) +if + 26@ > 0.0 +else_jump @WOF_11018 +26@ = 0.0 + +:WOF_11018 +if + not 27@ == 0 +else_jump @WOF_11043 +27@ = 0 + +:WOF_11043 +jump @WOF_11106 + +:WOF_11050 +if + 26@ == -5.0 +else_jump @WOF_11096 +26@ = -2.0 +097B: play_audio_at_object 1@ event 1027 +jump @WOF_11106 + +:WOF_11096 +26@ = -5.0 + +:WOF_11106 +jump @WOF_11175 + +:WOF_11113 +if + 0.0 > 26@ +else_jump @WOF_11175 +0079: 26@ += frame_delta_time * 0.5 // (float) +if + 26@ > 0.0 +else_jump @WOF_11175 +26@ = 0.0 + +:WOF_11175 +0453: set_object 1@ XYZ_rotation 0.0 26@ 20@ + +:WOF_11191 +return + +:WOF_11193 +09BD: allow_other_threads_to_display_text_boxes 0 +13@ = 0 +5@ = 0 +6@ = 0 +if + $9439 > 0 +else_jump @WOF_11244 +Player.Money($PLAYER_CHAR) += $9439 + +:WOF_11244 +$9439 = 0 +if + not Actor.Dead(7@) +else_jump @WOF_11333 +0209: 10@ = random_int_in_ranges 0 2 +if + 10@ == 0 +else_jump @WOF_11317 +09D6: unknown_set_actor 7@ sound 43653 flags 1 1 0 +jump @WOF_11333 + +:WOF_11317 +09D6: unknown_set_actor 7@ sound 43654 flags 1 1 0 + +:WOF_11333 +if + Player.Defined($PLAYER_CHAR) +else_jump @WOF_11356 +Player.CanMove($PLAYER_CHAR) = True + +:WOF_11356 +end_thread_named 'CASHWIN' +03F0: enable_text_draw 0 +0581: enable_radar 1 +Camera.SetBehindPlayer +Camera.Restore_WithJumpCut +10@ = 0 + +:WOF_11386 +if + 6 > 10@ +else_jump @WOF_11490 +Object.Destroy($9339(10@,6i)) +Object.Destroy($9345(10@,6i)) +Object.Destroy($9351(10@,6i)) +Object.Destroy($9357(10@,6i)) +Object.Destroy($9363(10@,6i)) +Object.Destroy($9369(10@,6i)) +Object.Destroy($9375(10@,6i)) +Object.Destroy($9381(10@,6i)) +10@ += 1 +jump @WOF_11386 + +:WOF_11490 +Object.Destroy($9436) +08DA: remove_panel $9437 +if and +8A2A: not text_box 'SGPUNT' displayed +8A2A: not text_box 'SGGAMB' displayed +8A2A: not text_box 'SGPROF' displayed +8A2A: not text_box 'SGHIRO' displayed +else_jump @WOF_11557 +03E6: remove_text_box + +:WOF_11557 +return + +:WOF_11559 +0653: 8@ = float_stat 81 +if + 1.0 > 8@ +else_jump @WOF_11601 +$MAX_WAGER = 100 +jump @WOF_11721 + +:WOF_11601 +if + 10.0 > 8@ +else_jump @WOF_11637 +$MAX_WAGER = 1000 +jump @WOF_11721 + +:WOF_11637 +if + 100.0 > 8@ +else_jump @WOF_11673 +$MAX_WAGER = 10000 +jump @WOF_11721 + +:WOF_11673 +if + 1000.0 > 8@ +else_jump @WOF_11711 +$MAX_WAGER = 100000 +jump @WOF_11721 + +:WOF_11711 +$MAX_WAGER = 1000000 + +:WOF_11721 +return +033F: set_text_draw_letter_size 0.449 1.597 +0340: set_text_draw_RGBA 128 148 178 255 +0341: set_text_draw_align_justify 1 +0343: set_text_draw_linewidth 2000.0 +0348: enable_text_draw_proportional 1 +return + +:WOF_11766 +0340: set_text_draw_RGBA 180 180 180 255 +033F: set_text_draw_letter_size 0.471 2.508 +03E4: set_text_draw_align_right 0 +0341: set_text_draw_align_justify 0 +0342: set_text_draw_centered 0 +0343: set_text_draw_linewidth 640.0 +0348: enable_text_draw_proportional 1 +0345: enable_text_draw_background 0 +return + +:WOF_11821 +if + $9336 == 1 +else_jump @WOF_11853 +$9337 = 40 +jump @WOF_13549 + +:WOF_11853 +if + $9336 == 2 +else_jump @WOF_11885 +$9337 = 2 +jump @WOF_13549 + +:WOF_11885 +if + $9336 == 3 +else_jump @WOF_11917 +$9337 = 10 +jump @WOF_13549 + +:WOF_11917 +if + $9336 == 4 +else_jump @WOF_11949 +$9337 = 1 +jump @WOF_13549 + +:WOF_11949 +if + $9336 == 5 +else_jump @WOF_11981 +$9337 = 2 +jump @WOF_13549 + +:WOF_11981 +if + $9336 == 6 +else_jump @WOF_12013 +$9337 = 1 +jump @WOF_13549 + +:WOF_12013 +if + $9336 == 7 +else_jump @WOF_12045 +$9337 = 5 +jump @WOF_13549 + +:WOF_12045 +if + $9336 == 8 +else_jump @WOF_12077 +$9337 = 1 +jump @WOF_13549 + +:WOF_12077 +if + $9336 == 9 +else_jump @WOF_12109 +$9337 = 2 +jump @WOF_13549 + +:WOF_12109 +if + $9336 == 10 +else_jump @WOF_12141 +$9337 = 10 +jump @WOF_13549 + +:WOF_12141 +if + $9336 == 11 +else_jump @WOF_12173 +$9337 = 1 +jump @WOF_13549 + +:WOF_12173 +if + $9336 == 12 +else_jump @WOF_12205 +$9337 = 2 +jump @WOF_13549 + +:WOF_12205 +if + $9336 == 13 +else_jump @WOF_12237 +$9337 = 1 +jump @WOF_13549 + +:WOF_12237 +if + $9336 == 14 +else_jump @WOF_12269 +$9337 = 5 +jump @WOF_13549 + +:WOF_12269 +if + $9336 == 15 +else_jump @WOF_12301 +$9337 = 2 +jump @WOF_13549 + +:WOF_12301 +if + $9336 == 16 +else_jump @WOF_12333 +$9337 = 1 +jump @WOF_13549 + +:WOF_12333 +if + $9336 == 17 +else_jump @WOF_12365 +$9337 = 20 +jump @WOF_13549 + +:WOF_12365 +if + $9336 == 18 +else_jump @WOF_12397 +$9337 = 1 +jump @WOF_13549 + +:WOF_12397 +if + $9336 == 19 +else_jump @WOF_12429 +$9337 = 2 +jump @WOF_13549 + +:WOF_12429 +if + $9336 == 20 +else_jump @WOF_12461 +$9337 = 5 +jump @WOF_13549 + +:WOF_12461 +if + $9336 == 21 +else_jump @WOF_12493 +$9337 = 10 +jump @WOF_13549 + +:WOF_12493 +if + $9336 == 22 +else_jump @WOF_12525 +$9337 = 1 +jump @WOF_13549 + +:WOF_12525 +if + $9336 == 23 +else_jump @WOF_12557 +$9337 = 2 +jump @WOF_13549 + +:WOF_12557 +if + $9336 == 24 +else_jump @WOF_12589 +$9337 = 1 +jump @WOF_13549 + +:WOF_12589 +if + $9336 == 25 +else_jump @WOF_12621 +$9337 = 5 +jump @WOF_13549 + +:WOF_12621 +if + $9336 == 26 +else_jump @WOF_12653 +$9337 = 1 +jump @WOF_13549 + +:WOF_12653 +if + $9336 == 27 +else_jump @WOF_12685 +$9337 = 2 +jump @WOF_13549 + +:WOF_12685 +if + $9336 == 28 +else_jump @WOF_12717 +$9337 = 1 +jump @WOF_13549 + +:WOF_12717 +if + $9336 == 29 +else_jump @WOF_12749 +$9337 = 40 +jump @WOF_13549 + +:WOF_12749 +if + $9336 == 30 +else_jump @WOF_12781 +$9337 = 2 +jump @WOF_13549 + +:WOF_12781 +if + $9336 == 31 +else_jump @WOF_12813 +$9337 = 1 +jump @WOF_13549 + +:WOF_12813 +if + $9336 == 32 +else_jump @WOF_12845 +$9337 = 2 +jump @WOF_13549 + +:WOF_12845 +if + $9336 == 33 +else_jump @WOF_12877 +$9337 = 1 +jump @WOF_13549 + +:WOF_12877 +if + $9336 == 34 +else_jump @WOF_12909 +$9337 = 2 +jump @WOF_13549 + +:WOF_12909 +if + $9336 == 35 +else_jump @WOF_12941 +$9337 = 5 +jump @WOF_13549 + +:WOF_12941 +if + $9336 == 36 +else_jump @WOF_12973 +$9337 = 1 +jump @WOF_13549 + +:WOF_12973 +if + $9336 == 37 +else_jump @WOF_13005 +$9337 = 2 +jump @WOF_13549 + +:WOF_13005 +if + $9336 == 38 +else_jump @WOF_13037 +$9337 = 1 +jump @WOF_13549 + +:WOF_13037 +if + $9336 == 39 +else_jump @WOF_13069 +$9337 = 5 +jump @WOF_13549 + +:WOF_13069 +if + $9336 == 40 +else_jump @WOF_13101 +$9337 = 1 +jump @WOF_13549 + +:WOF_13101 +if + $9336 == 41 +else_jump @WOF_13133 +$9337 = 20 +jump @WOF_13549 + +:WOF_13133 +if + $9336 == 42 +else_jump @WOF_13165 +$9337 = 1 +jump @WOF_13549 + +:WOF_13165 +if + $9336 == 43 +else_jump @WOF_13197 +$9337 = 10 +jump @WOF_13549 + +:WOF_13197 +if + $9336 == 44 +else_jump @WOF_13229 +$9337 = 1 +jump @WOF_13549 + +:WOF_13229 +if + $9336 == 45 +else_jump @WOF_13261 +$9337 = 2 +jump @WOF_13549 + +:WOF_13261 +if + $9336 == 46 +else_jump @WOF_13293 +$9337 = 1 +jump @WOF_13549 + +:WOF_13293 +if + $9336 == 47 +else_jump @WOF_13325 +$9337 = 5 +jump @WOF_13549 + +:WOF_13325 +if + $9336 == 48 +else_jump @WOF_13357 +$9337 = 1 +jump @WOF_13549 + +:WOF_13357 +if + $9336 == 49 +else_jump @WOF_13389 +$9337 = 2 +jump @WOF_13549 + +:WOF_13389 +if + $9336 == 50 +else_jump @WOF_13421 +$9337 = 1 +jump @WOF_13549 + +:WOF_13421 +if + $9336 == 51 +else_jump @WOF_13453 +$9337 = 5 +jump @WOF_13549 + +:WOF_13453 +if + $9336 == 52 +else_jump @WOF_13485 +$9337 = 1 +jump @WOF_13549 + +:WOF_13485 +if + $9336 == 53 +else_jump @WOF_13517 +$9337 = 2 +jump @WOF_13549 + +:WOF_13517 +if + $9336 == 54 +else_jump @WOF_13549 +$9337 = 1 +jump @WOF_13549 + +:WOF_13549 +return + +:WOF_13551 +if +0736: is_keyboard_key_just_pressed 85 +else_jump @WOF_13593 +$9387 += 0.001 +0664: printfloat "CHIP_SET_Z" $9387 + +:WOF_13593 +if +0736: is_keyboard_key_just_pressed 74 +else_jump @WOF_13635 +$9387 += -0.001 +0664: printfloat "CHIP_SET_Z" $9387 + +:WOF_13635 +10@ = 0 + +:WOF_13642 +if + 6 > 10@ +else_jump @WOF_15521 +008B: 12@ = $9327(10@,6i) // (int) +0093: 8@ = integer 12@ to_float +8@ /= 1.0 +if + 8@ > 10.0 +else_jump @WOF_13721 +8@ = 10.0 + +:WOF_13721 +0092: 11@ = float 8@ to_integer +0093: 9@ = integer 11@ to_float +9@ *= 0.013 +if + 11@ > 0 +else_jump @WOF_13775 +9@ += 0.03 + +:WOF_13775 +0086: $9388(10@,6f) = $9387 // (float) +005F: $9388(10@,6f) += 9@ // (float) +11@ *= -1 +005A: 12@ += 11@ // (int) +if +03CA: object $9339(10@,6i) exists +else_jump @WOF_13901 +Object.StorePos($9339(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 8@ 8@ $TEMPVAR_FLOAT_3 from_object 2@ with_offset 0.0 0.0 $9388(10@,6f) +Object.PutAt($9339(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:WOF_13901 +0093: 8@ = integer 12@ to_float +8@ /= 5.0 +if + 8@ > 10.0 +else_jump @WOF_13950 +8@ = 10.0 + +:WOF_13950 +0092: 11@ = float 8@ to_integer +0093: 9@ = integer 11@ to_float +9@ *= 0.013 +if + 11@ > 0 +else_jump @WOF_14004 +9@ += 0.03 + +:WOF_14004 +0086: $9394(10@,6f) = $9387 // (float) +005F: $9394(10@,6f) += 9@ // (float) +11@ *= -5 +005A: 12@ += 11@ // (int) +if +03CA: object $9345(10@,6i) exists +else_jump @WOF_14130 +Object.StorePos($9345(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 8@ 8@ $TEMPVAR_FLOAT_3 from_object 2@ with_offset 0.0 0.0 $9394(10@,6f) +Object.PutAt($9345(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:WOF_14130 +0093: 8@ = integer 12@ to_float +8@ /= 10.0 +if + 8@ > 10.0 +else_jump @WOF_14179 +8@ = 10.0 + +:WOF_14179 +0092: 11@ = float 8@ to_integer +0093: 9@ = integer 11@ to_float +9@ *= 0.013 +if + 11@ > 0 +else_jump @WOF_14233 +9@ += 0.03 + +:WOF_14233 +0086: $9400(10@,6f) = $9387 // (float) +005F: $9400(10@,6f) += 9@ // (float) +11@ *= -10 +005A: 12@ += 11@ // (int) +if +03CA: object $9351(10@,6i) exists +else_jump @WOF_14359 +Object.StorePos($9351(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 8@ 8@ $TEMPVAR_FLOAT_3 from_object 2@ with_offset 0.0 0.0 $9400(10@,6f) +Object.PutAt($9351(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:WOF_14359 +0093: 8@ = integer 12@ to_float +8@ /= 50.0 +if + 8@ > 10.0 +else_jump @WOF_14408 +8@ = 10.0 + +:WOF_14408 +0092: 11@ = float 8@ to_integer +0093: 9@ = integer 11@ to_float +9@ *= 0.013 +if + 11@ > 0 +else_jump @WOF_14462 +9@ += 0.03 + +:WOF_14462 +0086: $9406(10@,6f) = $9387 // (float) +005F: $9406(10@,6f) += 9@ // (float) +11@ *= -50 +005A: 12@ += 11@ // (int) +if +03CA: object $9357(10@,6i) exists +else_jump @WOF_14588 +Object.StorePos($9357(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 8@ 8@ $TEMPVAR_FLOAT_3 from_object 2@ with_offset 0.0 0.0 $9406(10@,6f) +Object.PutAt($9357(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:WOF_14588 +0093: 8@ = integer 12@ to_float +8@ /= 100.0 +if + 8@ > 10.0 +else_jump @WOF_14637 +8@ = 10.0 + +:WOF_14637 +0092: 11@ = float 8@ to_integer +0093: 9@ = integer 11@ to_float +9@ *= 0.013 +if + 11@ > 0 +else_jump @WOF_14691 +9@ += 0.03 + +:WOF_14691 +0086: $9412(10@,6f) = $9387 // (float) +005F: $9412(10@,6f) += 9@ // (float) +11@ *= -100 +005A: 12@ += 11@ // (int) +if +03CA: object $9363(10@,6i) exists +else_jump @WOF_14817 +Object.StorePos($9363(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 8@ 8@ $TEMPVAR_FLOAT_3 from_object 2@ with_offset 0.0 0.0 $9412(10@,6f) +Object.PutAt($9363(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:WOF_14817 +0093: 8@ = integer 12@ to_float +8@ /= 200.0 +if + 8@ > 10.0 +else_jump @WOF_14866 +8@ = 10.0 + +:WOF_14866 +0092: 11@ = float 8@ to_integer +0093: 9@ = integer 11@ to_float +9@ *= 0.013 +if + 11@ > 0 +else_jump @WOF_14920 +9@ += 0.03 + +:WOF_14920 +0086: $9418(10@,6f) = $9387 // (float) +005F: $9418(10@,6f) += 9@ // (float) +11@ *= -200 +005A: 12@ += 11@ // (int) +if +03CA: object $9369(10@,6i) exists +else_jump @WOF_15047 +Object.StorePos($9369(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 8@ 8@ $TEMPVAR_FLOAT_3 from_object 2@ with_offset 0.0 0.0 $9418(10@,6f) +Object.PutAt($9369(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:WOF_15047 +0093: 8@ = integer 12@ to_float +8@ /= 500.0 +if + 8@ > 10.0 +else_jump @WOF_15096 +8@ = 10.0 + +:WOF_15096 +0092: 11@ = float 8@ to_integer +0093: 9@ = integer 11@ to_float +9@ *= 0.013 +if + 11@ > 0 +else_jump @WOF_15150 +9@ += 0.03 + +:WOF_15150 +0086: $9424(10@,6f) = $9387 // (float) +005F: $9424(10@,6f) += 9@ // (float) +11@ *= -500 +005A: 12@ += 11@ // (int) +if +03CA: object $9375(10@,6i) exists +else_jump @WOF_15277 +Object.StorePos($9375(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 8@ 8@ $TEMPVAR_FLOAT_3 from_object 2@ with_offset 0.0 0.0 $9424(10@,6f) +Object.PutAt($9375(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:WOF_15277 +0093: 8@ = integer 12@ to_float +8@ /= 1000.0 +if + 8@ > 10.0 +else_jump @WOF_15326 +8@ = 10.0 + +:WOF_15326 +0092: 11@ = float 8@ to_integer +0093: 9@ = integer 11@ to_float +9@ *= 0.013 +if + 11@ > 0 +else_jump @WOF_15380 +9@ += 0.03 + +:WOF_15380 +0086: $9430(10@,6f) = $9387 // (float) +005F: $9430(10@,6f) += 9@ // (float) +11@ *= -1000 +005A: 12@ += 11@ // (int) +if +03CA: object $9381(10@,6i) exists +else_jump @WOF_15507 +Object.StorePos($9381(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) +0400: store_coords_to 8@ 8@ $TEMPVAR_FLOAT_3 from_object 2@ with_offset 0.0 0.0 $9430(10@,6f) +Object.PutAt($9381(10@,6i), $TEMPVAR_FLOAT_1, $TEMPVAR_FLOAT_2, $TEMPVAR_FLOAT_3) + +:WOF_15507 +10@ += 1 +jump @WOF_13642 + +:WOF_15521 +return + +:WOF_15523 +if +03CA: object 0@ exists +else_jump @WOF_15883 +0653: 8@ = float_stat 81 +if + $9450 == 0 +else_jump @WOF_15733 +if + 1.0 > 8@ +else_jump @WOF_15599 +19@ = 100 +jump @WOF_15719 + +:WOF_15599 +if + 10.0 > 8@ +else_jump @WOF_15635 +19@ = 1000 +jump @WOF_15719 + +:WOF_15635 +if + 100.0 > 8@ +else_jump @WOF_15671 +19@ = 10000 +jump @WOF_15719 + +:WOF_15671 +if + 1000.0 > 8@ +else_jump @WOF_15709 +19@ = 100000 +jump @WOF_15719 + +:WOF_15709 +19@ = 1000000 + +:WOF_15719 +$9450 += 1 +jump @WOF_15883 + +:WOF_15733 +0209: 10@ = random_int_in_ranges 0 5 +0871: init_jump_table 10@ total_jumps 5 default_jump 0 @WOF_15883 jumps 0 @WOF_15805 1 @WOF_15819 2 @WOF_15834 3 @WOF_15849 4 @WOF_15866 -1 @WOF_15883 -1 @WOF_15883 + +:WOF_15805 +19@ = 100 +jump @WOF_15883 + +:WOF_15819 +19@ = 1000 +jump @WOF_15883 + +:WOF_15834 +19@ = 10000 +jump @WOF_15883 + +:WOF_15849 +19@ = 100000 +jump @WOF_15883 + +:WOF_15866 +19@ = 1000000 +jump @WOF_15883 + +:WOF_15883 +return +0454: store_debug_camera_position_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +if +03CA: object 4@ exists +else_jump @WOF_15934 +Object.StorePos(4@, $9441, $9442, $9443) +$TEMPVAR_ANGLE = Object.Angle(4@) + +:WOF_15934 +$TEMPVAR_ANGLE *= -1.0 +02F7: 8@ = cosine $TEMPVAR_ANGLE // (float) +02F6: 9@ = sine $TEMPVAR_ANGLE // (float) +0086: $9444 = $TEMPVAR_FLOAT_1 // (float) +0061: $9444 -= $9441 // (float) +0086: $9445 = $TEMPVAR_FLOAT_2 // (float) +0061: $9445 -= $9442 // (float) +0086: $9446 = $TEMPVAR_FLOAT_3 // (float) +0061: $9446 -= $9443 // (float) +0086: $9447 = $9444 // (float) +006D: $9447 *= 8@ // (float) +0086: $9449 = $9445 // (float) +006D: $9449 *= 9@ // (float) +0061: $9447 -= $9449 // (float) +0086: $9448 = $9444 // (float) +006D: $9448 *= 9@ // (float) +0086: $9449 = $9445 // (float) +006D: $9449 *= 8@ // (float) +0059: $9448 += $9449 // (float) +03A9: save_newline_to_debug_file +05B6: 99 // PREACHER POINT = +03A8: save_float_to_debug_file $9447 +03A8: save_float_to_debug_file $9448 +03A8: save_float_to_debug_file $9446 +0463: store_debug_camera_target_point_to $TEMPVAR_FLOAT_1 $TEMPVAR_FLOAT_2 $TEMPVAR_FLOAT_3 +0086: $9444 = $TEMPVAR_FLOAT_1 // (float) +0061: $9444 -= $9441 // (float) +0086: $9445 = $TEMPVAR_FLOAT_2 // (float) +0061: $9445 -= $9442 // (float) +0086: $9446 = $TEMPVAR_FLOAT_3 // (float) +0061: $9446 -= $9443 // (float) +0086: $9447 = $9444 // (float) +006D: $9447 *= 8@ // (float) +0086: $9449 = $9445 // (float) +006D: $9449 *= 9@ // (float) +0061: $9447 -= $9449 // (float) +0086: $9448 = $9444 // (float) +006D: $9448 *= 9@ // (float) +0086: $9449 = $9445 // (float) +006D: $9449 *= 8@ // (float) +0059: $9448 += $9449 // (float) +03A9: save_newline_to_debug_file +05B6: 100 // RICH CAR STOPPED AT +03A8: save_float_to_debug_file $9447 +03A8: save_float_to_debug_file $9448 +03A8: save_float_to_debug_file $9446 +return diff --git a/scm/script.img b/scm/script.img new file mode 100644 index 0000000000000000000000000000000000000000..48289c47e62dc89b598acc25ff36e30f86bad21b GIT binary patch literal 194560 zcmeFa4PaEo)i=I(v)OzQAwblisIl^;q5`5urIJq#8bgF&QPCiVHYzGrtW;?mZB%U0 zBrQ->Tq4jGEh??lQjLO&mMSV%RNCTGY|+xnW3f`DO3nNG%{h1O?A=WaK2M+LegA)> z?3p=d&Y5%0%$)hSvv<#}oG_|iBoguT-^CYSeC#!sT!CEjUliFm{#|^<71yRKkPRB; zOq+4>C6`~8TH+wk_QStRF24GTs~Se86c`Fx7XDp!?Uk2*`PzmQ`mvx<$E#*dyJp7B z6msOafIjQe88cD}j0ou0&AOy9g+5a0Gp9E|#nk#o1@x=0x;9n*@d5ps8CT6pkv|&r z4E&op?01uS;E5Rq*fWqsq0Pm$&T3!|? z!$10G)}@zRK0USiNV(F#HvP(mORxM&iiir(*?wQUv|;8|m-|`)p?~KBQorjOr%#`8 zRVv*t_c{FB1D|`~a}Rv(f&Vu=(6KraIgJy`=YOAj;Byar?t#xe@VN&*_rU*eJdhcQ zu3x~7eFUiuHnq{FHrdo>o7!SiYjSD0ty5a3K%G$NWdTg!vqW$Fham+0mTBw2xt{BU%(=O z2V>EW!I=+7&WHk@5zRc`!^bRsOy$Rg{5Y2%*Ye|Heq6+l3;1z4KW6Y_IzPV5k4yN` zz>g{XsQ12`(btPbmS^OYo;|6iw2mhZvB+!qcWyMA9XUJVJ^H84PUb7-=4SUoeuL%< zrL};m`j?dGldGAxGk%vH-8dK@Tluk>AM4RD(M{4i+XOgG_Hj_i{wz7uz_w~Q`Fxu7FPqA~Bj%-rD%AP~x|lSW3D^H{S}4-SS< z&zEgIxv!V6g(M7?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