Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //-------------Mission 83---------------
- // Originally: Distribution
- :ICECRE1
- gosub @ICECRE1_36
- if
- wasted_or_busted
- else_jump @ICECRE1_27
- gosub @ICECRE1_3810
- :ICECRE1_27
- gosub @ICECRE1_4217
- end_thread
- :ICECRE1_36
- $ONMISSION = 1 // integer values
- if
- $7856 == 0 // integer values
- else_jump @ICECRE1_63
- increment_mission_attempts
- :ICECRE1_63
- thread 'ICECRE1'
- wait 0
- 054C: use_GXT_table 'ICECRE1'
- $7850 = 0 // integer values
- $7851 = 0 // integer values
- $7852 = 0 // integer values
- $7853 = 0 // integer values
- $7854 = 0 // integer values
- $7855 = 0 // integer values
- $7857 = 0 // integer values
- $7858 = 0 // integer values
- $7859 = 0 // integer values
- if
- 00E0: player $PLAYER_CHAR driving
- else_jump @ICECRE1_181
- 03C1: $7833 = player $PLAYER_CHAR car_no_save
- jump @ICECRE1_188
- :ICECRE1_181
- jump @ICECRE1_3810
- :ICECRE1_188
- 0395: clear_area 0 at -868.1 -572.153 range 10.11 3.0
- 0395: clear_area 0 at -859.7491 -571.028 range 11.11207 1.0
- Camera.SetPosition(-859.7491, -571.028, 14.11207, 0.0, 0.0, 0.0)
- Camera.PointAt(-860.6732, -571.1432, 13.74751, 2)
- 16@ = 0 // integer values
- :ICECRE1_294
- if
- 5000 > 16@ // integer values
- else_jump @ICECRE1_371
- wait 0
- 00BC: text_highpriority 'ICC1_16' 5000 ms 2 // ~g~Use your Mr. Whoopee van to distribute Cherry Poppers product around Vice City.
- if and
- 00E1: player 0 pressed_button 16
- 16@ > 1000 // integer values
- else_jump @ICECRE1_364
- jump @ICECRE1_695
- :ICECRE1_364
- jump @ICECRE1_294
- :ICECRE1_371
- 16@ = 0 // integer values
- :ICECRE1_378
- if
- 5000 > 16@ // integer values
- else_jump @ICECRE1_447
- wait 0
- 00BC: text_highpriority 'ICC1_7' 5000 ms 2 // ~g~You receive money for each transaction you make, but the more transactions you make the more police attention you get.
- if
- 00E1: player 0 pressed_button 16
- else_jump @ICECRE1_440
- jump @ICECRE1_695
- :ICECRE1_440
- jump @ICECRE1_378
- :ICECRE1_447
- 16@ = 0 // integer values
- :ICECRE1_454
- if
- 5000 > 16@ // integer values
- else_jump @ICECRE1_619
- wait 0
- 0293: $18 = get_controller_mode
- if
- $18 == 1 // integer values
- else_jump @ICECRE1_515
- 00BC: text_highpriority 'ICC1_8B' 5000 ms 2
- :ICECRE1_515
- if
- $18 == 2 // integer values
- else_jump @ICECRE1_548
- 00BC: text_highpriority 'ICC1_8C' 5000 ms 2
- :ICECRE1_548
- if or
- $18 == 0 // integer values
- $18 == 3 // integer values
- else_jump @ICECRE1_588
- 00BC: text_highpriority 'ICC1_8' 5000 ms 2 // ~g~To make a transaction, ~h~park your van ~g~and press the ~h~~k~~VEHICLE_HORN~ ~g~button to play the ice cream jingle to attract customers.
- :ICECRE1_588
- if
- 00E1: player 0 pressed_button 16
- else_jump @ICECRE1_612
- jump @ICECRE1_695
- :ICECRE1_612
- jump @ICECRE1_454
- :ICECRE1_619
- 16@ = 0 // integer values
- :ICECRE1_626
- if
- 5000 > 16@ // integer values
- else_jump @ICECRE1_695
- wait 0
- 00BC: text_highpriority 'ICC1_9' 5000 ms 2 // ~g~Local gangs will not appreciate you doing business on their turf so expect hostility if you do so.
- if
- 00E1: player 0 pressed_button 16
- else_jump @ICECRE1_688
- jump @ICECRE1_695
- :ICECRE1_688
- jump @ICECRE1_626
- :ICECRE1_695
- 00BE: text_clear_all
- 02A3: enable_widescreen 0
- Player.CanMove($PLAYER_CHAR) = True
- Camera.Restore_WithJumpCut
- 17@ = 0 // integer values
- :ICECRE1_717
- wait 0
- if
- $7851 == 0 // integer values
- else_jump @ICECRE1_800
- if
- not Car.Wrecked($7833)
- else_jump @ICECRE1_800
- if
- 0383: player $7833 car_horn_activated == true
- else_jump @ICECRE1_800
- 03C4: set_status_text_to $7857 0 'ICC1_5' // Deals done:
- $7850 = 1 // integer values
- $7851 = 1 // integer values
- :ICECRE1_800
- if
- $7850 == 1 // integer values
- else_jump @ICECRE1_861
- 03F1: pedtype 8 add_threat 1
- 03F1: pedtype 7 add_threat 1
- 03F1: pedtype 9 add_threat 1
- 03F1: pedtype 11 add_threat 1
- 03F1: pedtype 12 add_threat 1
- 03F1: pedtype 14 add_threat 1
- $7850 = 2 // integer values
- :ICECRE1_861
- if
- not Car.Wrecked($7833)
- else_jump @ICECRE1_903
- if
- 80DC: not player $PLAYER_CHAR driving $7833
- else_jump @ICECRE1_903
- jump @ICECRE1_3812
- :ICECRE1_903
- if
- Car.Wrecked($7833)
- else_jump @ICECRE1_926
- jump @ICECRE1_3812
- :ICECRE1_926
- if
- not Car.Wrecked($7833)
- else_jump @ICECRE1_1691
- if
- 029F: player $PLAYER_CHAR stopped
- else_jump @ICECRE1_1691
- if
- 0383: player $7833 car_horn_activated == true
- else_jump @ICECRE1_1691
- 0054: store_player $PLAYER_CHAR position_to $7834 $7835 $7836
- 0086: $7837 = $7834 // floating-point values only
- $7837 += 20.0 // floating-point values
- 0086: $7838 = $7835 // floating-point values only
- $7838 += 20.0 // floating-point values
- 0086: $7839 = $7834 // floating-point values only
- $7839 -= 20.0 // floating-point values
- 0086: $7840 = $7835 // floating-point values only
- $7840 -= 20.0 // floating-point values
- if
- $7852 == 0 // integer values
- else_jump @ICECRE1_1196
- 058F: unknown_create_distribution_actor $7841 at $7837 $7838 or_at $7839 $7840 flag 1 0 1
- if
- not $7841 == -1 // integer values
- else_jump @ICECRE1_1196
- if
- not Actor.Dead($7841)
- else_jump @ICECRE1_1196
- 0580: $7842 = distribution_mission_status distribution_actor $7841 distribution_car $7833
- if
- $7842 == 1 // integer values
- else_jump @ICECRE1_1191
- $7860 = Marker.CreateAboveActor($7841)
- 01BD: $7866 = current_time_in_ms
- $7852 = 1 // integer values
- jump @ICECRE1_1196
- :ICECRE1_1191
- Actor.RemoveReferences($7841)
- :ICECRE1_1196
- if
- $7853 == 0 // integer values
- else_jump @ICECRE1_1332
- 058F: unknown_create_distribution_actor $7843 at $7837 $7838 or_at $7839 $7840 flag 1 0 1
- if
- not $7843 == -1 // integer values
- else_jump @ICECRE1_1332
- if
- not Actor.Dead($7843)
- else_jump @ICECRE1_1332
- 0580: $7844 = distribution_mission_status distribution_actor $7843 distribution_car $7833
- if
- $7844 == 1 // integer values
- else_jump @ICECRE1_1327
- $7861 = Marker.CreateAboveActor($7843)
- 01BD: $7869 = current_time_in_ms
- $7853 = 1 // integer values
- jump @ICECRE1_1332
- :ICECRE1_1327
- Actor.RemoveReferences($7843)
- :ICECRE1_1332
- if
- $7854 == 0 // integer values
- else_jump @ICECRE1_1468
- 058F: unknown_create_distribution_actor $7845 at $7837 $7838 or_at $7839 $7840 flag 1 0 1
- if
- not $7845 == -1 // integer values
- else_jump @ICECRE1_1468
- if
- not Actor.Dead($7845)
- else_jump @ICECRE1_1468
- 0580: $7846 = distribution_mission_status distribution_actor $7845 distribution_car $7833
- if
- $7846 == 1 // integer values
- else_jump @ICECRE1_1463
- $7862 = Marker.CreateAboveActor($7845)
- 01BD: $7872 = current_time_in_ms
- $7854 = 1 // integer values
- jump @ICECRE1_1468
- :ICECRE1_1463
- Actor.RemoveReferences($7845)
- :ICECRE1_1468
- if
- $7855 == 0 // integer values
- else_jump @ICECRE1_1604
- 058F: unknown_create_distribution_actor $7847 at $7837 $7838 or_at $7839 $7840 flag 1 0 1
- if
- not $7847 == -1 // integer values
- else_jump @ICECRE1_1604
- if
- not Actor.Dead($7847)
- else_jump @ICECRE1_1604
- 0580: $7848 = distribution_mission_status distribution_actor $7847 distribution_car $7833
- if
- $7848 == 1 // integer values
- else_jump @ICECRE1_1599
- $7863 = Marker.CreateAboveActor($7847)
- 01BD: $7875 = current_time_in_ms
- $7855 = 1 // integer values
- jump @ICECRE1_1604
- :ICECRE1_1599
- Actor.RemoveReferences($7847)
- :ICECRE1_1604
- if
- $7841 == -1 // integer values
- else_jump @ICECRE1_1691
- if
- $7843 == -1 // integer values
- else_jump @ICECRE1_1691
- if
- $7845 == -1 // integer values
- else_jump @ICECRE1_1691
- if
- $7847 == -1 // integer values
- else_jump @ICECRE1_1691
- 00BC: text_highpriority 'ICC1_4' 1000 ms 1 // ~g~There aren't any customers in this area try another one.
- :ICECRE1_1691
- if
- $7852 == 1 // integer values
- else_jump @ICECRE1_2207
- if
- not Actor.Dead($7841)
- else_jump @ICECRE1_2190
- 01BD: $7865 = current_time_in_ms
- 0084: $7864 = $7865 // integer values and handles
- 0060: $7864 -= $7866 // integer values
- if
- 50000 > $7864 // integer values
- else_jump @ICECRE1_2166
- if
- 0586: $7841
- else_jump @ICECRE1_2159
- if
- 058B: $7841
- else_jump @ICECRE1_2142
- $7857 += 1 // integer values
- $7859 += 1 // integer values
- if
- 0121: player $PLAYER_CHAR in_zone 'A_PORT' // Escobar International
- else_jump @ICECRE1_1858
- Player.Money($PLAYER_CHAR) += 10
- $7858 += 12 // integer values
- jump @ICECRE1_2142
- :ICECRE1_1858
- if
- 0121: player $PLAYER_CHAR in_zone 'STARI' // Starfish Island
- else_jump @ICECRE1_1903
- Player.Money($PLAYER_CHAR) += 15
- $7858 += 18 // integer values
- jump @ICECRE1_2142
- :ICECRE1_1903
- if
- 0121: player $PLAYER_CHAR in_zone 'PORNI' // Prawn Island
- else_jump @ICECRE1_1948
- Player.Money($PLAYER_CHAR) += 12
- $7858 += 14 // integer values
- jump @ICECRE1_2142
- :ICECRE1_1948
- if
- 0121: player $PLAYER_CHAR in_zone 'GOLFC' // Leaf Links
- else_jump @ICECRE1_1993
- Player.Money($PLAYER_CHAR) += 8
- $7858 += 10 // integer values
- jump @ICECRE1_2142
- :ICECRE1_1993
- if
- 0121: player $PLAYER_CHAR in_zone 'DOCKS' // Viceport
- else_jump @ICECRE1_2038
- Player.Money($PLAYER_CHAR) += 8
- $7858 += 10 // integer values
- jump @ICECRE1_2142
- :ICECRE1_2038
- if
- 0121: player $PLAYER_CHAR in_zone 'HAVANA' // Little Havana
- else_jump @ICECRE1_2083
- Player.Money($PLAYER_CHAR) += 6
- $7858 += 8 // integer values
- jump @ICECRE1_2142
- :ICECRE1_2083
- if
- 0121: player $PLAYER_CHAR in_zone 'HAITI' // Little Haiti
- else_jump @ICECRE1_2128
- Player.Money($PLAYER_CHAR) += 6
- $7858 += 8 // integer values
- jump @ICECRE1_2142
- :ICECRE1_2128
- Player.Money($PLAYER_CHAR) += 12
- $7858 += 10 // integer values
- :ICECRE1_2142
- Marker.Disable($7860)
- Actor.RemoveReferences($7841)
- $7852 = 0 // integer values
- :ICECRE1_2159
- jump @ICECRE1_2183
- :ICECRE1_2166
- Marker.Disable($7860)
- Actor.RemoveReferences($7841)
- $7852 = 0 // integer values
- :ICECRE1_2183
- jump @ICECRE1_2207
- :ICECRE1_2190
- Marker.Disable($7860)
- Actor.RemoveReferences($7841)
- $7852 = 0 // integer values
- :ICECRE1_2207
- if
- $7853 == 1 // integer values
- else_jump @ICECRE1_2723
- if
- not Actor.Dead($7843)
- else_jump @ICECRE1_2706
- 01BD: $7868 = current_time_in_ms
- 0084: $7867 = $7868 // integer values and handles
- 0060: $7867 -= $7869 // integer values
- if
- 50000 > $7867 // integer values
- else_jump @ICECRE1_2682
- if
- 0586: $7843
- else_jump @ICECRE1_2675
- if
- 058B: $7843
- else_jump @ICECRE1_2658
- $7857 += 1 // integer values
- $7859 += 1 // integer values
- if
- 0121: player $PLAYER_CHAR in_zone 'A_PORT' // Escobar International
- else_jump @ICECRE1_2374
- Player.Money($PLAYER_CHAR) += 10
- $7858 += 12 // integer values
- jump @ICECRE1_2658
- :ICECRE1_2374
- if
- 0121: player $PLAYER_CHAR in_zone 'STARI' // Starfish Island
- else_jump @ICECRE1_2419
- Player.Money($PLAYER_CHAR) += 15
- $7858 += 18 // integer values
- jump @ICECRE1_2658
- :ICECRE1_2419
- if
- 0121: player $PLAYER_CHAR in_zone 'PORNI' // Prawn Island
- else_jump @ICECRE1_2464
- Player.Money($PLAYER_CHAR) += 12
- $7858 += 14 // integer values
- jump @ICECRE1_2658
- :ICECRE1_2464
- if
- 0121: player $PLAYER_CHAR in_zone 'GOLFC' // Leaf Links
- else_jump @ICECRE1_2509
- Player.Money($PLAYER_CHAR) += 8
- $7858 += 10 // integer values
- jump @ICECRE1_2658
- :ICECRE1_2509
- if
- 0121: player $PLAYER_CHAR in_zone 'DOCKS' // Viceport
- else_jump @ICECRE1_2554
- Player.Money($PLAYER_CHAR) += 8
- $7858 += 10 // integer values
- jump @ICECRE1_2658
- :ICECRE1_2554
- if
- 0121: player $PLAYER_CHAR in_zone 'HAVANA' // Little Havana
- else_jump @ICECRE1_2599
- Player.Money($PLAYER_CHAR) += 6
- $7858 += 8 // integer values
- jump @ICECRE1_2658
- :ICECRE1_2599
- if
- 0121: player $PLAYER_CHAR in_zone 'HAITI' // Little Haiti
- else_jump @ICECRE1_2644
- Player.Money($PLAYER_CHAR) += 6
- $7858 += 8 // integer values
- jump @ICECRE1_2658
- :ICECRE1_2644
- Player.Money($PLAYER_CHAR) += 12
- $7858 += 10 // integer values
- :ICECRE1_2658
- Marker.Disable($7861)
- Actor.RemoveReferences($7843)
- $7853 = 0 // integer values
- :ICECRE1_2675
- jump @ICECRE1_2699
- :ICECRE1_2682
- Marker.Disable($7861)
- Actor.RemoveReferences($7843)
- $7853 = 0 // integer values
- :ICECRE1_2699
- jump @ICECRE1_2723
- :ICECRE1_2706
- Marker.Disable($7861)
- Actor.RemoveReferences($7843)
- $7853 = 0 // integer values
- :ICECRE1_2723
- if
- $7854 == 1 // integer values
- else_jump @ICECRE1_3239
- if
- not Actor.Dead($7845)
- else_jump @ICECRE1_3222
- 01BD: $7871 = current_time_in_ms
- 0084: $7870 = $7871 // integer values and handles
- 0060: $7870 -= $7872 // integer values
- if
- 50000 > $7870 // integer values
- else_jump @ICECRE1_3198
- if
- 0586: $7845
- else_jump @ICECRE1_3191
- if
- 058B: $7845
- else_jump @ICECRE1_3174
- $7857 += 1 // integer values
- $7859 += 1 // integer values
- if
- 0121: player $PLAYER_CHAR in_zone 'A_PORT' // Escobar International
- else_jump @ICECRE1_2890
- Player.Money($PLAYER_CHAR) += 10
- $7858 += 12 // integer values
- jump @ICECRE1_3174
- :ICECRE1_2890
- if
- 0121: player $PLAYER_CHAR in_zone 'STARI' // Starfish Island
- else_jump @ICECRE1_2935
- Player.Money($PLAYER_CHAR) += 15
- $7858 += 18 // integer values
- jump @ICECRE1_3174
- :ICECRE1_2935
- if
- 0121: player $PLAYER_CHAR in_zone 'PORNI' // Prawn Island
- else_jump @ICECRE1_2980
- Player.Money($PLAYER_CHAR) += 12
- $7858 += 14 // integer values
- jump @ICECRE1_3174
- :ICECRE1_2980
- if
- 0121: player $PLAYER_CHAR in_zone 'GOLFC' // Leaf Links
- else_jump @ICECRE1_3025
- Player.Money($PLAYER_CHAR) += 8
- $7858 += 10 // integer values
- jump @ICECRE1_3174
- :ICECRE1_3025
- if
- 0121: player $PLAYER_CHAR in_zone 'DOCKS' // Viceport
- else_jump @ICECRE1_3070
- Player.Money($PLAYER_CHAR) += 8
- $7858 += 10 // integer values
- jump @ICECRE1_3174
- :ICECRE1_3070
- if
- 0121: player $PLAYER_CHAR in_zone 'HAVANA' // Little Havana
- else_jump @ICECRE1_3115
- Player.Money($PLAYER_CHAR) += 6
- $7858 += 8 // integer values
- jump @ICECRE1_3174
- :ICECRE1_3115
- if
- 0121: player $PLAYER_CHAR in_zone 'HAITI' // Little Haiti
- else_jump @ICECRE1_3160
- Player.Money($PLAYER_CHAR) += 6
- $7858 += 8 // integer values
- jump @ICECRE1_3174
- :ICECRE1_3160
- Player.Money($PLAYER_CHAR) += 12
- $7858 += 10 // integer values
- :ICECRE1_3174
- Marker.Disable($7862)
- Actor.RemoveReferences($7845)
- $7854 = 0 // integer values
- :ICECRE1_3191
- jump @ICECRE1_3215
- :ICECRE1_3198
- Marker.Disable($7862)
- Actor.RemoveReferences($7845)
- $7854 = 0 // integer values
- :ICECRE1_3215
- jump @ICECRE1_3239
- :ICECRE1_3222
- Marker.Disable($7862)
- Actor.RemoveReferences($7845)
- $7854 = 0 // integer values
- :ICECRE1_3239
- if
- $7855 == 1 // integer values
- else_jump @ICECRE1_3755
- if
- not Actor.Dead($7847)
- else_jump @ICECRE1_3738
- 01BD: $7874 = current_time_in_ms
- 0084: $7873 = $7874 // integer values and handles
- 0060: $7873 -= $7875 // integer values
- if
- 50000 > $7873 // integer values
- else_jump @ICECRE1_3714
- if
- 0586: $7847
- else_jump @ICECRE1_3707
- if
- 058B: $7847
- else_jump @ICECRE1_3690
- $7857 += 1 // integer values
- $7859 += 1 // integer values
- if
- 0121: player $PLAYER_CHAR in_zone 'A_PORT' // Escobar International
- else_jump @ICECRE1_3406
- Player.Money($PLAYER_CHAR) += 10
- $7858 += 12 // integer values
- jump @ICECRE1_3690
- :ICECRE1_3406
- if
- 0121: player $PLAYER_CHAR in_zone 'STARI' // Starfish Island
- else_jump @ICECRE1_3451
- Player.Money($PLAYER_CHAR) += 15
- $7858 += 18 // integer values
- jump @ICECRE1_3690
- :ICECRE1_3451
- if
- 0121: player $PLAYER_CHAR in_zone 'PORNI' // Prawn Island
- else_jump @ICECRE1_3496
- Player.Money($PLAYER_CHAR) += 12
- $7858 += 14 // integer values
- jump @ICECRE1_3690
- :ICECRE1_3496
- if
- 0121: player $PLAYER_CHAR in_zone 'GOLFC' // Leaf Links
- else_jump @ICECRE1_3541
- Player.Money($PLAYER_CHAR) += 8
- $7858 += 10 // integer values
- jump @ICECRE1_3690
- :ICECRE1_3541
- if
- 0121: player $PLAYER_CHAR in_zone 'DOCKS' // Viceport
- else_jump @ICECRE1_3586
- Player.Money($PLAYER_CHAR) += 8
- $7858 += 10 // integer values
- jump @ICECRE1_3690
- :ICECRE1_3586
- if
- 0121: player $PLAYER_CHAR in_zone 'HAVANA' // Little Havana
- else_jump @ICECRE1_3631
- Player.Money($PLAYER_CHAR) += 6
- $7858 += 8 // integer values
- jump @ICECRE1_3690
- :ICECRE1_3631
- if
- 0121: player $PLAYER_CHAR in_zone 'HAITI' // Little Haiti
- else_jump @ICECRE1_3676
- Player.Money($PLAYER_CHAR) += 6
- $7858 += 8 // integer values
- jump @ICECRE1_3690
- :ICECRE1_3676
- Player.Money($PLAYER_CHAR) += 12
- $7858 += 10 // integer values
- :ICECRE1_3690
- Marker.Disable($7863)
- Actor.RemoveReferences($7847)
- $7855 = 0 // integer values
- :ICECRE1_3707
- jump @ICECRE1_3731
- :ICECRE1_3714
- Marker.Disable($7863)
- Actor.RemoveReferences($7847)
- $7855 = 0 // integer values
- :ICECRE1_3731
- jump @ICECRE1_3755
- :ICECRE1_3738
- Marker.Disable($7863)
- Actor.RemoveReferences($7847)
- $7855 = 0 // integer values
- :ICECRE1_3755
- if
- $7859 >= 4 // integer values
- else_jump @ICECRE1_3803
- $7849 = Player.WantedLevel($PLAYER_CHAR)
- $7849 += 1 // integer values
- Player.WantedLevel($PLAYER_CHAR) = $7849
- $7859 = 0 // integer values
- :ICECRE1_3803
- jump @ICECRE1_717
- :ICECRE1_3810
- return
- :ICECRE1_3812
- if
- $7856 == 0 // integer values
- else_jump @ICECRE1_4215
- if
- $7857 > 49 // integer values
- else_jump @ICECRE1_4215
- Player.CanMove($PLAYER_CHAR) = False
- 02A3: enable_widescreen 1
- Player.ClearWantedLevel($PLAYER_CHAR)
- 03BF: set_player $PLAYER_CHAR ignored_by_everyone_to 1
- wait 1000
- fade 0 1000
- Camera.SetAtPos(-839.512, -582.021, 24.777)
- 0054: store_player $PLAYER_CHAR position_to $7834 $7835 $7836
- :ICECRE1_3914
- if
- fading
- else_jump @ICECRE1_3938
- wait 0
- jump @ICECRE1_3914
- :ICECRE1_3938
- fade 1 1000
- Camera.SetPosition(-839.512, -582.021, 24.777, 0.0, 0.0, 0.0)
- Camera.PointAt(-840.451, -581.759, 24.553, 2)
- 04A6: $611 = create_asset_money_pickup_at $558 $559 $560 money $610 $610
- :ICECRE1_4016
- if
- fading
- else_jump @ICECRE1_4040
- wait 0
- jump @ICECRE1_4016
- :ICECRE1_4040
- 00BA: text_styled 'ICE_AT1' 5000 ms 6 // ICECREAM FACTORY ASSET COMPLETED
- wait 5000
- 01E5: text_1number_highpriority 'ICE_AT2' $610 flag 6000 time 1 // ~g~The Cherry Popper factory will now generate revenue up to a maximum of $~1~. Make sure you collect it regularly.
- wait 6000
- fade 0 1000
- :ICECRE1_4090
- if
- fading
- else_jump @ICECRE1_4114
- wait 0
- jump @ICECRE1_4090
- :ICECRE1_4114
- 02A3: enable_widescreen 0
- Camera.Restore_WithJumpCut
- Camera.SetAtPos($7834, $7835, $7836)
- $1175 += 1 // integer values
- fade 1 1000
- :ICECRE1_4145
- if
- fading
- else_jump @ICECRE1_4169
- wait 0
- jump @ICECRE1_4145
- :ICECRE1_4169
- 030C: progress_made += 1
- Player.CanMove($PLAYER_CHAR) = True
- 03BF: set_player $PLAYER_CHAR ignored_by_everyone_to 0
- 0318: set_latest_mission_passed 'CREAM' // Distribution
- 0394: play_music 1
- $612 = 1 // integer values
- $7856 = 1 // integer values
- :ICECRE1_4215
- return
- :ICECRE1_4217
- $ONMISSION = 0 // integer values
- 00BA: text_styled 'ICC1_17' 5000 ms 5 // Distribution mission over
- 01E3: text_1number_styled 'ICC1_19' number $7857 time 5000 style 6 // Total deals done: ~1~
- if
- not $282 == 1 // integer values
- else_jump @ICECRE1_4281
- 03F2: pedtype 8 remove_threat 1
- :ICECRE1_4281
- 03F2: pedtype 7 remove_threat 1
- 03F2: pedtype 9 remove_threat 1
- 03F2: pedtype 11 remove_threat 1
- 03F2: pedtype 12 remove_threat 1
- 03F2: pedtype 14 remove_threat 1
- Marker.Disable($7860)
- Marker.Disable($7861)
- Marker.Disable($7862)
- Marker.Disable($7863)
- Actor.RemoveReferences($7841)
- Actor.RemoveReferences($7843)
- Actor.RemoveReferences($7845)
- Actor.RemoveReferences($7847)
- 0151: remove_status_text $7857
- 0536: increment_drug_deals_made_by $7857
- 042F: save_record 2 integer $7857
- mission_cleanup
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement