mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-23 06:57:31 +08:00
30118 lines
675 KiB
Plaintext
30118 lines
675 KiB
Plaintext
// 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
|