taxi time

find:

:TAXIODD_175
00D6: if  0
0039:   @130 ==  1  ;; integer values
004D: jump_if_false TAXIODD_184
00D6: if  0
0038:   $8199 ==  0  ;; integer values
004D: jump_if_false TAXIODD_184
0006: @124 =  1  ;; integer values
0006: @108 =  2  ;; integer values
0002: jump TAXIODD_203

replace with:
:TAXIODD_175
00D6: if  0
0039:   @130 ==  1  ;; integer values
004D: jump_if_false TAXIODD_184
00D6: if  0
00E1:   key_pressed  0  11 ;; skip trip
004D: jump_if_false TAXIODD_175B
0004: $8199 =  3600000  ;; integer values

:TAXIODD_175B
00D6: if  0
0038:   $8199 ==  0  ;; integer values
004D: jump_if_false TAXIODD_184
0006: @124 =  1  ;; integer values
0006: @108 =  2  ;; integer values
0002: jump TAXIODD_203


Stop taxi mission from ending when you exit taxi:

find:

:TAXIODD_424
0006: @127 =  0  ;; integer values

replace with:

:TAXIODD_424
0006: @127 =  1  ;; integer values



-----------------------
paramedic missions

timer:

find:

:AMBULAN_1376
0001: wait  0 ms
00D6: if  0
0038:   $8210 ==  0  ;; integer values
004D: jump_if_false AMBULAN_1383
00BC: text_highpriority 'A_FAIL2'  3000 ms  1
0006: @79 =  1  ;; integer values
0002: jump AMBULAN_1658

replace with:

:AMBULAN_1376
0001: wait  0 ms
00D6: if  0
00E1:   key_pressed  0  11 ;; skip trip
004D: jump_if_false AMBULAN_1376B
0004: $8210 =  3600000  ;; timer

:AMBULAN_1376B
00D6: if  0
0038:   $8210 ==  0  ;; integer values
004D: jump_if_false AMBULAN_1383
00BC: text_highpriority 'A_FAIL2'  3000 ms  1
0006: @79 =  1  ;; integer values
0002: jump AMBULAN_1658


in-car check:

find:

:AMBULAN_1024
00D6: if  0
8118:   NOT   actor $PLAYER_ACTOR dead
004D: jump_if_false AMBULAN_1034
00D6: if  0
80DD:   NOT   actor $PLAYER_ACTOR driving_vehicle_type  416
004D: jump_if_false AMBULAN_1034
03D5: remove_text 'ALEVEL'
00BC: text_highpriority 'A_CANC'  3000 ms  1
0006: @79 =  1  ;; integer values
0051: return

replace:
00D6: if  0
80DD:   NOT   actor $PLAYER_ACTOR driving_vehicle_type  416
004D: jump_if_false AMBULAN_1034

with:
0002: jump AMBULAN_1034


-----------------------
fire truck

timer

find:

:FIRETRU_1151
00D6: if  0
0039:   @80 ==  1  ;; integer values
004D: jump_if_false FIRETRU_1161
00D6: if  0
001A:    1 > $8215  ;; integer values
004D: jump_if_false FIRETRU_1161
00BE: text_clear_all
00BC: text_highpriority 'F_FAIL2'  5000 ms  1
0006: @77 =  1  ;; integer values
0051: return

replace with:

:FIRETRU_1151
00D6: if  0
0039:   @80 ==  1  ;; integer values
004D: jump_if_false FIRETRU_1161
00D6: if  0
00E1:   key_pressed  0  11 ;; skip trip
004D: jump_if_false FIRETRU_1151B
0004: $8215 =  3600000  ;; timer

:FIRETRU_1151B
00D6: if  0
001A:    1 > $8215  ;; integer values
004D: jump_if_false FIRETRU_1161
00BE: text_clear_all
00BC: text_highpriority 'F_FAIL2'  5000 ms  1
0006: @77 =  1  ;; integer values
0051: return

in-car check:
find:

:FIRETRU_1161
00D6: if  0
8118:   NOT   actor $PLAYER_ACTOR dead
004D: jump_if_false FIRETRU_1171
00D6: if  0
80DD:   NOT   actor $PLAYER_ACTOR driving_vehicle_type  407
004D: jump_if_false FIRETRU_1171
00BE: text_clear_all
00BC: text_highpriority 'F_CANC'  3000 ms  1
0006: @77 =  1  ;; integer values
0051: return

:FIRETRU_1161
0002: jump FIRETRU_1171


-----------------------

burglary:
8235,8237
no detection:

find:
:BURGJB_925
0013: @41 *=  .99  ;; floating-point values 
0090: $5293 = float_to_integer @41  

replace with:
:BURGJB_925
0002: jump BURGJB_937

find:
:BURGJB_895
00D6: if  0
0039:   @92 ==  1  ;; integer values
004D: jump_if_false BURGJB_1054
00D6: if  1
0039:   @98 ==  0  ;; integer values
0038:   $1793 ==  0  ;; integer values
004D: jump_if_false BURGJB_961
00D6: if  0
0039:   @101 ==  0  ;; integer values
004D: jump_if_false BURGJB_913
0926: @111 = external_script_status  23 (BURG_BRAINS) 
00D6: if  0
0019:   @111 >  0  ;; integer values
004D: jump_if_false BURGJB_912
04F7: status_text $5293  1 line  2 'BURG25'
0489: unknown_actor $PLAYER_ACTOR flag  1
0006: @101 =  1  ;; integer values

remove:
00D6: if  1
0039:   @98 ==  0  ;; integer values
0038:   $1793 ==  0  ;; integer values
004D: jump_if_false BURGJB_961

timers:

find:
:BURGJB_268
00BF: $TIME_HOURS = current_time_hours, $TIME_MINS = current_time_minutes
00D6: if  0
0028:   $TIME_HOURS >=  20  ;; integer values
004D: jump_if_false BURGJB_281
008B: @88 = $TIME_HOURS  ;; integer values and handles
0012: @88 *=  60  ;; integer values 
005C: @88 += $TIME_MINS  ;; integer values 
0006: @36 =  1440  ;; integer values
0062: @36 -= @88  ;; integer values 
000A: @36 +=  360  ;; integer values
000A: @36 +=  1  ;; integer values
0012: @36 *=  1000  ;; integer values 
008A: $8235 = @36  ;; integer values and handles

replace with:
:BURGJB_268
00D6: if  21
00E1:   key_pressed  0  11 ;; skip trip
0028:   $8235 >=  999999  ;; integer values
004D: jump_if_false BURGJB_268B
0004: $8235 =  3600000  ;; timer
0002: jump BURGJB_292

:BURGJB_268B
00BF: $TIME_HOURS = current_time_hours, $TIME_MINS = current_time_minutes
00D6: if  0
0028:   $TIME_HOURS >=  20  ;; integer values
004D: jump_if_false BURGJB_281
008B: @88 = $TIME_HOURS  ;; integer values and handles
0012: @88 *=  60  ;; integer values 
005C: @88 += $TIME_MINS  ;; integer values 
0006: @36 =  1440  ;; integer values
0062: @36 -= @88  ;; integer values 
000A: @36 +=  360  ;; integer values
000A: @36 +=  1  ;; integer values
0012: @36 *=  1000  ;; integer values 
008A: $8235 = @36  ;; integer values and handles


find:
:BURGJB_293
00D6: if  0
0038:   $8237 ==  0  ;; integer values
004D: jump_if_false BURGJB_326
00BE: text_clear_all
00D6: if  0
09E7: $PLAYER_CHAR 
004D: jump_if_false BURGJB_301
01B4: set_player $PLAYER_CHAR frozen_state  0 (frozen)

replace with:
:BURGJB_293
00D6: if  0
00E1:   key_pressed  0  11 ;; skip trip
004D: jump_if_false BURGJB_293B
0004: $8237 =  3600000  ;; timer

:BURGJB_293B
00D6: if  0
0038:   $8237 ==  0  ;; integer values
004D: jump_if_false BURGJB_326
00BE: text_clear_all
00D6: if  0
09E7: $PLAYER_CHAR 
004D: jump_if_false BURGJB_301
01B4: set_player $PLAYER_CHAR frozen_state  0 (frozen)


-----------------------
train

remove the following IF check at label :R3_466 to unlock the train missions from the start.
00D6: if  0
0018:   $ISLANDS_UNLOCKED >  1  ;; integer values
004D: jump_if_false R3_559

timer:
find:
:FREIGHT_295
00D6: if  0
002A:    0 >= $8238  ;; integer values
004D: jump_if_false FREIGHT_299
0002: jump FREIGHT_380

replace with:
:FREIGHT_295
00D6: if  0
00E1:   key_pressed  0  11 ;; skip trip
004D: jump_if_false FREIGHT_295B
0004: $8238 =  3600000  ;; timer

:FREIGHT_295B
00D6: if  0
002A:    0 >= $8238  ;; integer values
004D: jump_if_false FREIGHT_299
0002: jump FREIGHT_380


-----------------------
pimp:

find:

:PIMP_549
00D6: if  0
0039:   @516 ==  0  ;; integer values
004D: jump_if_false PIMP_565
00D6: if  0
8119:   NOT   car @40 wrecked
004D: jump_if_false PIMP_565
00D6: if  0
80DB:   NOT   actor $PLAYER_ACTOR in_car @40
004D: jump_if_false PIMP_565
0006: @33 =  0  ;; integer values
0006: @517 =  1  ;; integer values
008B: @515 = $8246  ;; integer values and handles
0016: @515 /=  1000  ;; integer values 
0006: @516 =  1  ;; integer values
00BE: text_clear_all
03E6: remove_text_box

replace with:
:PIMP_549
00D6: if  0
00E1:   key_pressed  0  11 ;; skip trip
004D: jump_if_false PIMP_549B
0004: $8246 =  3600000  ;; timer

:PIMP_549B
00D6: if  0
0039:   @516 ==  0  ;; integer values
004D: jump_if_false PIMP_565
00D6: if  0
8119:   NOT   car @40 wrecked
004D: jump_if_false PIMP_565
00D6: if  0
80DB:   NOT   actor $PLAYER_ACTOR in_car @40
004D: jump_if_false PIMP_565
0006: @33 =  0  ;; integer values
0006: @517 =  1  ;; integer values
008B: @515 = $8246  ;; integer values and handles
0016: @515 /=  1000  ;; integer values 
0006: @516 =  1  ;; integer values
00BE: text_clear_all
03E6: remove_text_box

find:
:PIMP_579
00D6: if  0
0039:   @517 ==  1  ;; integer values
004D: jump_if_false PIMP_621
0085: @514 = @33  ;; integer values and handles
0016: @514 /=  1000  ;; integer values 
00D6: if  0
0039:   @538 ==  0  ;; integer values
004D: jump_if_false PIMP_592
00D6: if  1
001A:    21000 > $8246  ;; integer values
0018:   $8246 >  1  ;; integer values
004D: jump_if_false PIMP_592
0006: @538 =  1  ;; integer values

replace with
:PIMP_579
0002: jump PIMP_621
