Advertisement
bubblebobbler

Untitled

Jul 23rd, 2015
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.54 KB | None | 0 0
  1.  
  2.  
  3. //-------------Mission 83---------------
  4. // Originally: Distribution
  5.  
  6. :ICECRE1
  7. gosub @ICECRE1_36
  8. if
  9. wasted_or_busted
  10. else_jump @ICECRE1_27
  11. gosub @ICECRE1_3810
  12.  
  13. :ICECRE1_27
  14. gosub @ICECRE1_4217
  15. end_thread
  16.  
  17. :ICECRE1_36
  18. $ONMISSION = 1 // integer values
  19. if
  20. $7856 == 0 // integer values
  21. else_jump @ICECRE1_63
  22. increment_mission_attempts
  23.  
  24. :ICECRE1_63
  25. thread 'ICECRE1'
  26. wait 0
  27. 054C: use_GXT_table 'ICECRE1'
  28. $7850 = 0 // integer values
  29. $7851 = 0 // integer values
  30. $7852 = 0 // integer values
  31. $7853 = 0 // integer values
  32. $7854 = 0 // integer values
  33. $7855 = 0 // integer values
  34. $7857 = 0 // integer values
  35. $7858 = 0 // integer values
  36. $7859 = 0 // integer values
  37. if
  38. 00E0: player $PLAYER_CHAR driving
  39. else_jump @ICECRE1_181
  40. 03C1: $7833 = player $PLAYER_CHAR car_no_save
  41. jump @ICECRE1_188
  42.  
  43. :ICECRE1_181
  44. jump @ICECRE1_3810
  45.  
  46. :ICECRE1_188
  47. 0395: clear_area 0 at -868.1 -572.153 range 10.11 3.0
  48. 0395: clear_area 0 at -859.7491 -571.028 range 11.11207 1.0
  49. Camera.SetPosition(-859.7491, -571.028, 14.11207, 0.0, 0.0, 0.0)
  50. Camera.PointAt(-860.6732, -571.1432, 13.74751, 2)
  51. 16@ = 0 // integer values
  52.  
  53. :ICECRE1_294
  54. if
  55. 5000 > 16@ // integer values
  56. else_jump @ICECRE1_371
  57. wait 0
  58. 00BC: text_highpriority 'ICC1_16' 5000 ms 2 // ~g~Use your Mr. Whoopee van to distribute Cherry Poppers product around Vice City.
  59. if and
  60. 00E1: player 0 pressed_button 16
  61. 16@ > 1000 // integer values
  62. else_jump @ICECRE1_364
  63. jump @ICECRE1_695
  64.  
  65. :ICECRE1_364
  66. jump @ICECRE1_294
  67.  
  68. :ICECRE1_371
  69. 16@ = 0 // integer values
  70.  
  71. :ICECRE1_378
  72. if
  73. 5000 > 16@ // integer values
  74. else_jump @ICECRE1_447
  75. wait 0
  76. 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.
  77. if
  78. 00E1: player 0 pressed_button 16
  79. else_jump @ICECRE1_440
  80. jump @ICECRE1_695
  81.  
  82. :ICECRE1_440
  83. jump @ICECRE1_378
  84.  
  85. :ICECRE1_447
  86. 16@ = 0 // integer values
  87.  
  88. :ICECRE1_454
  89. if
  90. 5000 > 16@ // integer values
  91. else_jump @ICECRE1_619
  92. wait 0
  93. 0293: $18 = get_controller_mode
  94. if
  95. $18 == 1 // integer values
  96. else_jump @ICECRE1_515
  97. 00BC: text_highpriority 'ICC1_8B' 5000 ms 2
  98.  
  99. :ICECRE1_515
  100. if
  101. $18 == 2 // integer values
  102. else_jump @ICECRE1_548
  103. 00BC: text_highpriority 'ICC1_8C' 5000 ms 2
  104.  
  105. :ICECRE1_548
  106. if or
  107. $18 == 0 // integer values
  108. $18 == 3 // integer values
  109. else_jump @ICECRE1_588
  110. 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.
  111.  
  112. :ICECRE1_588
  113. if
  114. 00E1: player 0 pressed_button 16
  115. else_jump @ICECRE1_612
  116. jump @ICECRE1_695
  117.  
  118. :ICECRE1_612
  119. jump @ICECRE1_454
  120.  
  121. :ICECRE1_619
  122. 16@ = 0 // integer values
  123.  
  124. :ICECRE1_626
  125. if
  126. 5000 > 16@ // integer values
  127. else_jump @ICECRE1_695
  128. wait 0
  129. 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.
  130. if
  131. 00E1: player 0 pressed_button 16
  132. else_jump @ICECRE1_688
  133. jump @ICECRE1_695
  134.  
  135. :ICECRE1_688
  136. jump @ICECRE1_626
  137.  
  138. :ICECRE1_695
  139. 00BE: text_clear_all
  140. 02A3: enable_widescreen 0
  141. Player.CanMove($PLAYER_CHAR) = True
  142. Camera.Restore_WithJumpCut
  143. 17@ = 0 // integer values
  144.  
  145. :ICECRE1_717
  146. wait 0
  147. if
  148. $7851 == 0 // integer values
  149. else_jump @ICECRE1_800
  150. if
  151. not Car.Wrecked($7833)
  152. else_jump @ICECRE1_800
  153. if
  154. 0383: player $7833 car_horn_activated == true
  155. else_jump @ICECRE1_800
  156. 03C4: set_status_text_to $7857 0 'ICC1_5' // Deals done:
  157. $7850 = 1 // integer values
  158. $7851 = 1 // integer values
  159.  
  160. :ICECRE1_800
  161. if
  162. $7850 == 1 // integer values
  163. else_jump @ICECRE1_861
  164. 03F1: pedtype 8 add_threat 1
  165. 03F1: pedtype 7 add_threat 1
  166. 03F1: pedtype 9 add_threat 1
  167. 03F1: pedtype 11 add_threat 1
  168. 03F1: pedtype 12 add_threat 1
  169. 03F1: pedtype 14 add_threat 1
  170. $7850 = 2 // integer values
  171.  
  172. :ICECRE1_861
  173. if
  174. not Car.Wrecked($7833)
  175. else_jump @ICECRE1_903
  176. if
  177. 80DC: not player $PLAYER_CHAR driving $7833
  178. else_jump @ICECRE1_903
  179. jump @ICECRE1_3812
  180.  
  181. :ICECRE1_903
  182. if
  183. Car.Wrecked($7833)
  184. else_jump @ICECRE1_926
  185. jump @ICECRE1_3812
  186.  
  187. :ICECRE1_926
  188. if
  189. not Car.Wrecked($7833)
  190. else_jump @ICECRE1_1691
  191. if
  192. 029F: player $PLAYER_CHAR stopped
  193. else_jump @ICECRE1_1691
  194. if
  195. 0383: player $7833 car_horn_activated == true
  196. else_jump @ICECRE1_1691
  197. 0054: store_player $PLAYER_CHAR position_to $7834 $7835 $7836
  198. 0086: $7837 = $7834 // floating-point values only
  199. $7837 += 20.0 // floating-point values
  200. 0086: $7838 = $7835 // floating-point values only
  201. $7838 += 20.0 // floating-point values
  202. 0086: $7839 = $7834 // floating-point values only
  203. $7839 -= 20.0 // floating-point values
  204. 0086: $7840 = $7835 // floating-point values only
  205. $7840 -= 20.0 // floating-point values
  206. if
  207. $7852 == 0 // integer values
  208. else_jump @ICECRE1_1196
  209. 058F: unknown_create_distribution_actor $7841 at $7837 $7838 or_at $7839 $7840 flag 1 0 1
  210. if
  211. not $7841 == -1 // integer values
  212. else_jump @ICECRE1_1196
  213. if
  214. not Actor.Dead($7841)
  215. else_jump @ICECRE1_1196
  216. 0580: $7842 = distribution_mission_status distribution_actor $7841 distribution_car $7833
  217. if
  218. $7842 == 1 // integer values
  219. else_jump @ICECRE1_1191
  220. $7860 = Marker.CreateAboveActor($7841)
  221. 01BD: $7866 = current_time_in_ms
  222. $7852 = 1 // integer values
  223. jump @ICECRE1_1196
  224.  
  225. :ICECRE1_1191
  226. Actor.RemoveReferences($7841)
  227.  
  228. :ICECRE1_1196
  229. if
  230. $7853 == 0 // integer values
  231. else_jump @ICECRE1_1332
  232. 058F: unknown_create_distribution_actor $7843 at $7837 $7838 or_at $7839 $7840 flag 1 0 1
  233. if
  234. not $7843 == -1 // integer values
  235. else_jump @ICECRE1_1332
  236. if
  237. not Actor.Dead($7843)
  238. else_jump @ICECRE1_1332
  239. 0580: $7844 = distribution_mission_status distribution_actor $7843 distribution_car $7833
  240. if
  241. $7844 == 1 // integer values
  242. else_jump @ICECRE1_1327
  243. $7861 = Marker.CreateAboveActor($7843)
  244. 01BD: $7869 = current_time_in_ms
  245. $7853 = 1 // integer values
  246. jump @ICECRE1_1332
  247.  
  248. :ICECRE1_1327
  249. Actor.RemoveReferences($7843)
  250.  
  251. :ICECRE1_1332
  252. if
  253. $7854 == 0 // integer values
  254. else_jump @ICECRE1_1468
  255. 058F: unknown_create_distribution_actor $7845 at $7837 $7838 or_at $7839 $7840 flag 1 0 1
  256. if
  257. not $7845 == -1 // integer values
  258. else_jump @ICECRE1_1468
  259. if
  260. not Actor.Dead($7845)
  261. else_jump @ICECRE1_1468
  262. 0580: $7846 = distribution_mission_status distribution_actor $7845 distribution_car $7833
  263. if
  264. $7846 == 1 // integer values
  265. else_jump @ICECRE1_1463
  266. $7862 = Marker.CreateAboveActor($7845)
  267. 01BD: $7872 = current_time_in_ms
  268. $7854 = 1 // integer values
  269. jump @ICECRE1_1468
  270.  
  271. :ICECRE1_1463
  272. Actor.RemoveReferences($7845)
  273.  
  274. :ICECRE1_1468
  275. if
  276. $7855 == 0 // integer values
  277. else_jump @ICECRE1_1604
  278. 058F: unknown_create_distribution_actor $7847 at $7837 $7838 or_at $7839 $7840 flag 1 0 1
  279. if
  280. not $7847 == -1 // integer values
  281. else_jump @ICECRE1_1604
  282. if
  283. not Actor.Dead($7847)
  284. else_jump @ICECRE1_1604
  285. 0580: $7848 = distribution_mission_status distribution_actor $7847 distribution_car $7833
  286. if
  287. $7848 == 1 // integer values
  288. else_jump @ICECRE1_1599
  289. $7863 = Marker.CreateAboveActor($7847)
  290. 01BD: $7875 = current_time_in_ms
  291. $7855 = 1 // integer values
  292. jump @ICECRE1_1604
  293.  
  294. :ICECRE1_1599
  295. Actor.RemoveReferences($7847)
  296.  
  297. :ICECRE1_1604
  298. if
  299. $7841 == -1 // integer values
  300. else_jump @ICECRE1_1691
  301. if
  302. $7843 == -1 // integer values
  303. else_jump @ICECRE1_1691
  304. if
  305. $7845 == -1 // integer values
  306. else_jump @ICECRE1_1691
  307. if
  308. $7847 == -1 // integer values
  309. else_jump @ICECRE1_1691
  310. 00BC: text_highpriority 'ICC1_4' 1000 ms 1 // ~g~There aren't any customers in this area try another one.
  311.  
  312. :ICECRE1_1691
  313. if
  314. $7852 == 1 // integer values
  315. else_jump @ICECRE1_2207
  316. if
  317. not Actor.Dead($7841)
  318. else_jump @ICECRE1_2190
  319. 01BD: $7865 = current_time_in_ms
  320. 0084: $7864 = $7865 // integer values and handles
  321. 0060: $7864 -= $7866 // integer values
  322. if
  323. 50000 > $7864 // integer values
  324. else_jump @ICECRE1_2166
  325. if
  326. 0586: $7841
  327. else_jump @ICECRE1_2159
  328. if
  329. 058B: $7841
  330. else_jump @ICECRE1_2142
  331. $7857 += 1 // integer values
  332. $7859 += 1 // integer values
  333. if
  334. 0121: player $PLAYER_CHAR in_zone 'A_PORT' // Escobar International
  335. else_jump @ICECRE1_1858
  336. Player.Money($PLAYER_CHAR) += 10
  337. $7858 += 12 // integer values
  338. jump @ICECRE1_2142
  339.  
  340. :ICECRE1_1858
  341. if
  342. 0121: player $PLAYER_CHAR in_zone 'STARI' // Starfish Island
  343. else_jump @ICECRE1_1903
  344. Player.Money($PLAYER_CHAR) += 15
  345. $7858 += 18 // integer values
  346. jump @ICECRE1_2142
  347.  
  348. :ICECRE1_1903
  349. if
  350. 0121: player $PLAYER_CHAR in_zone 'PORNI' // Prawn Island
  351. else_jump @ICECRE1_1948
  352. Player.Money($PLAYER_CHAR) += 12
  353. $7858 += 14 // integer values
  354. jump @ICECRE1_2142
  355.  
  356. :ICECRE1_1948
  357. if
  358. 0121: player $PLAYER_CHAR in_zone 'GOLFC' // Leaf Links
  359. else_jump @ICECRE1_1993
  360. Player.Money($PLAYER_CHAR) += 8
  361. $7858 += 10 // integer values
  362. jump @ICECRE1_2142
  363.  
  364. :ICECRE1_1993
  365. if
  366. 0121: player $PLAYER_CHAR in_zone 'DOCKS' // Viceport
  367. else_jump @ICECRE1_2038
  368. Player.Money($PLAYER_CHAR) += 8
  369. $7858 += 10 // integer values
  370. jump @ICECRE1_2142
  371.  
  372. :ICECRE1_2038
  373. if
  374. 0121: player $PLAYER_CHAR in_zone 'HAVANA' // Little Havana
  375. else_jump @ICECRE1_2083
  376. Player.Money($PLAYER_CHAR) += 6
  377. $7858 += 8 // integer values
  378. jump @ICECRE1_2142
  379.  
  380. :ICECRE1_2083
  381. if
  382. 0121: player $PLAYER_CHAR in_zone 'HAITI' // Little Haiti
  383. else_jump @ICECRE1_2128
  384. Player.Money($PLAYER_CHAR) += 6
  385. $7858 += 8 // integer values
  386. jump @ICECRE1_2142
  387.  
  388. :ICECRE1_2128
  389. Player.Money($PLAYER_CHAR) += 12
  390. $7858 += 10 // integer values
  391.  
  392. :ICECRE1_2142
  393. Marker.Disable($7860)
  394. Actor.RemoveReferences($7841)
  395. $7852 = 0 // integer values
  396.  
  397. :ICECRE1_2159
  398. jump @ICECRE1_2183
  399.  
  400. :ICECRE1_2166
  401. Marker.Disable($7860)
  402. Actor.RemoveReferences($7841)
  403. $7852 = 0 // integer values
  404.  
  405. :ICECRE1_2183
  406. jump @ICECRE1_2207
  407.  
  408. :ICECRE1_2190
  409. Marker.Disable($7860)
  410. Actor.RemoveReferences($7841)
  411. $7852 = 0 // integer values
  412.  
  413. :ICECRE1_2207
  414. if
  415. $7853 == 1 // integer values
  416. else_jump @ICECRE1_2723
  417. if
  418. not Actor.Dead($7843)
  419. else_jump @ICECRE1_2706
  420. 01BD: $7868 = current_time_in_ms
  421. 0084: $7867 = $7868 // integer values and handles
  422. 0060: $7867 -= $7869 // integer values
  423. if
  424. 50000 > $7867 // integer values
  425. else_jump @ICECRE1_2682
  426. if
  427. 0586: $7843
  428. else_jump @ICECRE1_2675
  429. if
  430. 058B: $7843
  431. else_jump @ICECRE1_2658
  432. $7857 += 1 // integer values
  433. $7859 += 1 // integer values
  434. if
  435. 0121: player $PLAYER_CHAR in_zone 'A_PORT' // Escobar International
  436. else_jump @ICECRE1_2374
  437. Player.Money($PLAYER_CHAR) += 10
  438. $7858 += 12 // integer values
  439. jump @ICECRE1_2658
  440.  
  441. :ICECRE1_2374
  442. if
  443. 0121: player $PLAYER_CHAR in_zone 'STARI' // Starfish Island
  444. else_jump @ICECRE1_2419
  445. Player.Money($PLAYER_CHAR) += 15
  446. $7858 += 18 // integer values
  447. jump @ICECRE1_2658
  448.  
  449. :ICECRE1_2419
  450. if
  451. 0121: player $PLAYER_CHAR in_zone 'PORNI' // Prawn Island
  452. else_jump @ICECRE1_2464
  453. Player.Money($PLAYER_CHAR) += 12
  454. $7858 += 14 // integer values
  455. jump @ICECRE1_2658
  456.  
  457. :ICECRE1_2464
  458. if
  459. 0121: player $PLAYER_CHAR in_zone 'GOLFC' // Leaf Links
  460. else_jump @ICECRE1_2509
  461. Player.Money($PLAYER_CHAR) += 8
  462. $7858 += 10 // integer values
  463. jump @ICECRE1_2658
  464.  
  465. :ICECRE1_2509
  466. if
  467. 0121: player $PLAYER_CHAR in_zone 'DOCKS' // Viceport
  468. else_jump @ICECRE1_2554
  469. Player.Money($PLAYER_CHAR) += 8
  470. $7858 += 10 // integer values
  471. jump @ICECRE1_2658
  472.  
  473. :ICECRE1_2554
  474. if
  475. 0121: player $PLAYER_CHAR in_zone 'HAVANA' // Little Havana
  476. else_jump @ICECRE1_2599
  477. Player.Money($PLAYER_CHAR) += 6
  478. $7858 += 8 // integer values
  479. jump @ICECRE1_2658
  480.  
  481. :ICECRE1_2599
  482. if
  483. 0121: player $PLAYER_CHAR in_zone 'HAITI' // Little Haiti
  484. else_jump @ICECRE1_2644
  485. Player.Money($PLAYER_CHAR) += 6
  486. $7858 += 8 // integer values
  487. jump @ICECRE1_2658
  488.  
  489. :ICECRE1_2644
  490. Player.Money($PLAYER_CHAR) += 12
  491. $7858 += 10 // integer values
  492.  
  493. :ICECRE1_2658
  494. Marker.Disable($7861)
  495. Actor.RemoveReferences($7843)
  496. $7853 = 0 // integer values
  497.  
  498. :ICECRE1_2675
  499. jump @ICECRE1_2699
  500.  
  501. :ICECRE1_2682
  502. Marker.Disable($7861)
  503. Actor.RemoveReferences($7843)
  504. $7853 = 0 // integer values
  505.  
  506. :ICECRE1_2699
  507. jump @ICECRE1_2723
  508.  
  509. :ICECRE1_2706
  510. Marker.Disable($7861)
  511. Actor.RemoveReferences($7843)
  512. $7853 = 0 // integer values
  513.  
  514. :ICECRE1_2723
  515. if
  516. $7854 == 1 // integer values
  517. else_jump @ICECRE1_3239
  518. if
  519. not Actor.Dead($7845)
  520. else_jump @ICECRE1_3222
  521. 01BD: $7871 = current_time_in_ms
  522. 0084: $7870 = $7871 // integer values and handles
  523. 0060: $7870 -= $7872 // integer values
  524. if
  525. 50000 > $7870 // integer values
  526. else_jump @ICECRE1_3198
  527. if
  528. 0586: $7845
  529. else_jump @ICECRE1_3191
  530. if
  531. 058B: $7845
  532. else_jump @ICECRE1_3174
  533. $7857 += 1 // integer values
  534. $7859 += 1 // integer values
  535. if
  536. 0121: player $PLAYER_CHAR in_zone 'A_PORT' // Escobar International
  537. else_jump @ICECRE1_2890
  538. Player.Money($PLAYER_CHAR) += 10
  539. $7858 += 12 // integer values
  540. jump @ICECRE1_3174
  541.  
  542. :ICECRE1_2890
  543. if
  544. 0121: player $PLAYER_CHAR in_zone 'STARI' // Starfish Island
  545. else_jump @ICECRE1_2935
  546. Player.Money($PLAYER_CHAR) += 15
  547. $7858 += 18 // integer values
  548. jump @ICECRE1_3174
  549.  
  550. :ICECRE1_2935
  551. if
  552. 0121: player $PLAYER_CHAR in_zone 'PORNI' // Prawn Island
  553. else_jump @ICECRE1_2980
  554. Player.Money($PLAYER_CHAR) += 12
  555. $7858 += 14 // integer values
  556. jump @ICECRE1_3174
  557.  
  558. :ICECRE1_2980
  559. if
  560. 0121: player $PLAYER_CHAR in_zone 'GOLFC' // Leaf Links
  561. else_jump @ICECRE1_3025
  562. Player.Money($PLAYER_CHAR) += 8
  563. $7858 += 10 // integer values
  564. jump @ICECRE1_3174
  565.  
  566. :ICECRE1_3025
  567. if
  568. 0121: player $PLAYER_CHAR in_zone 'DOCKS' // Viceport
  569. else_jump @ICECRE1_3070
  570. Player.Money($PLAYER_CHAR) += 8
  571. $7858 += 10 // integer values
  572. jump @ICECRE1_3174
  573.  
  574. :ICECRE1_3070
  575. if
  576. 0121: player $PLAYER_CHAR in_zone 'HAVANA' // Little Havana
  577. else_jump @ICECRE1_3115
  578. Player.Money($PLAYER_CHAR) += 6
  579. $7858 += 8 // integer values
  580. jump @ICECRE1_3174
  581.  
  582. :ICECRE1_3115
  583. if
  584. 0121: player $PLAYER_CHAR in_zone 'HAITI' // Little Haiti
  585. else_jump @ICECRE1_3160
  586. Player.Money($PLAYER_CHAR) += 6
  587. $7858 += 8 // integer values
  588. jump @ICECRE1_3174
  589.  
  590. :ICECRE1_3160
  591. Player.Money($PLAYER_CHAR) += 12
  592. $7858 += 10 // integer values
  593.  
  594. :ICECRE1_3174
  595. Marker.Disable($7862)
  596. Actor.RemoveReferences($7845)
  597. $7854 = 0 // integer values
  598.  
  599. :ICECRE1_3191
  600. jump @ICECRE1_3215
  601.  
  602. :ICECRE1_3198
  603. Marker.Disable($7862)
  604. Actor.RemoveReferences($7845)
  605. $7854 = 0 // integer values
  606.  
  607. :ICECRE1_3215
  608. jump @ICECRE1_3239
  609.  
  610. :ICECRE1_3222
  611. Marker.Disable($7862)
  612. Actor.RemoveReferences($7845)
  613. $7854 = 0 // integer values
  614.  
  615. :ICECRE1_3239
  616. if
  617. $7855 == 1 // integer values
  618. else_jump @ICECRE1_3755
  619. if
  620. not Actor.Dead($7847)
  621. else_jump @ICECRE1_3738
  622. 01BD: $7874 = current_time_in_ms
  623. 0084: $7873 = $7874 // integer values and handles
  624. 0060: $7873 -= $7875 // integer values
  625. if
  626. 50000 > $7873 // integer values
  627. else_jump @ICECRE1_3714
  628. if
  629. 0586: $7847
  630. else_jump @ICECRE1_3707
  631. if
  632. 058B: $7847
  633. else_jump @ICECRE1_3690
  634. $7857 += 1 // integer values
  635. $7859 += 1 // integer values
  636. if
  637. 0121: player $PLAYER_CHAR in_zone 'A_PORT' // Escobar International
  638. else_jump @ICECRE1_3406
  639. Player.Money($PLAYER_CHAR) += 10
  640. $7858 += 12 // integer values
  641. jump @ICECRE1_3690
  642.  
  643. :ICECRE1_3406
  644. if
  645. 0121: player $PLAYER_CHAR in_zone 'STARI' // Starfish Island
  646. else_jump @ICECRE1_3451
  647. Player.Money($PLAYER_CHAR) += 15
  648. $7858 += 18 // integer values
  649. jump @ICECRE1_3690
  650.  
  651. :ICECRE1_3451
  652. if
  653. 0121: player $PLAYER_CHAR in_zone 'PORNI' // Prawn Island
  654. else_jump @ICECRE1_3496
  655. Player.Money($PLAYER_CHAR) += 12
  656. $7858 += 14 // integer values
  657. jump @ICECRE1_3690
  658.  
  659. :ICECRE1_3496
  660. if
  661. 0121: player $PLAYER_CHAR in_zone 'GOLFC' // Leaf Links
  662. else_jump @ICECRE1_3541
  663. Player.Money($PLAYER_CHAR) += 8
  664. $7858 += 10 // integer values
  665. jump @ICECRE1_3690
  666.  
  667. :ICECRE1_3541
  668. if
  669. 0121: player $PLAYER_CHAR in_zone 'DOCKS' // Viceport
  670. else_jump @ICECRE1_3586
  671. Player.Money($PLAYER_CHAR) += 8
  672. $7858 += 10 // integer values
  673. jump @ICECRE1_3690
  674.  
  675. :ICECRE1_3586
  676. if
  677. 0121: player $PLAYER_CHAR in_zone 'HAVANA' // Little Havana
  678. else_jump @ICECRE1_3631
  679. Player.Money($PLAYER_CHAR) += 6
  680. $7858 += 8 // integer values
  681. jump @ICECRE1_3690
  682.  
  683. :ICECRE1_3631
  684. if
  685. 0121: player $PLAYER_CHAR in_zone 'HAITI' // Little Haiti
  686. else_jump @ICECRE1_3676
  687. Player.Money($PLAYER_CHAR) += 6
  688. $7858 += 8 // integer values
  689. jump @ICECRE1_3690
  690.  
  691. :ICECRE1_3676
  692. Player.Money($PLAYER_CHAR) += 12
  693. $7858 += 10 // integer values
  694.  
  695. :ICECRE1_3690
  696. Marker.Disable($7863)
  697. Actor.RemoveReferences($7847)
  698. $7855 = 0 // integer values
  699.  
  700. :ICECRE1_3707
  701. jump @ICECRE1_3731
  702.  
  703. :ICECRE1_3714
  704. Marker.Disable($7863)
  705. Actor.RemoveReferences($7847)
  706. $7855 = 0 // integer values
  707.  
  708. :ICECRE1_3731
  709. jump @ICECRE1_3755
  710.  
  711. :ICECRE1_3738
  712. Marker.Disable($7863)
  713. Actor.RemoveReferences($7847)
  714. $7855 = 0 // integer values
  715.  
  716. :ICECRE1_3755
  717. if
  718. $7859 >= 4 // integer values
  719. else_jump @ICECRE1_3803
  720. $7849 = Player.WantedLevel($PLAYER_CHAR)
  721. $7849 += 1 // integer values
  722. Player.WantedLevel($PLAYER_CHAR) = $7849
  723. $7859 = 0 // integer values
  724.  
  725. :ICECRE1_3803
  726. jump @ICECRE1_717
  727.  
  728. :ICECRE1_3810
  729. return
  730.  
  731. :ICECRE1_3812
  732. if
  733. $7856 == 0 // integer values
  734. else_jump @ICECRE1_4215
  735. if
  736. $7857 > 49 // integer values
  737. else_jump @ICECRE1_4215
  738. Player.CanMove($PLAYER_CHAR) = False
  739. 02A3: enable_widescreen 1
  740. Player.ClearWantedLevel($PLAYER_CHAR)
  741. 03BF: set_player $PLAYER_CHAR ignored_by_everyone_to 1
  742. wait 1000
  743. fade 0 1000
  744. Camera.SetAtPos(-839.512, -582.021, 24.777)
  745. 0054: store_player $PLAYER_CHAR position_to $7834 $7835 $7836
  746.  
  747. :ICECRE1_3914
  748. if
  749. fading
  750. else_jump @ICECRE1_3938
  751. wait 0
  752. jump @ICECRE1_3914
  753.  
  754. :ICECRE1_3938
  755. fade 1 1000
  756. Camera.SetPosition(-839.512, -582.021, 24.777, 0.0, 0.0, 0.0)
  757. Camera.PointAt(-840.451, -581.759, 24.553, 2)
  758. 04A6: $611 = create_asset_money_pickup_at $558 $559 $560 money $610 $610
  759.  
  760. :ICECRE1_4016
  761. if
  762. fading
  763. else_jump @ICECRE1_4040
  764. wait 0
  765. jump @ICECRE1_4016
  766.  
  767. :ICECRE1_4040
  768. 00BA: text_styled 'ICE_AT1' 5000 ms 6 // ICECREAM FACTORY ASSET COMPLETED
  769. wait 5000
  770. 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.
  771. wait 6000
  772. fade 0 1000
  773.  
  774. :ICECRE1_4090
  775. if
  776. fading
  777. else_jump @ICECRE1_4114
  778. wait 0
  779. jump @ICECRE1_4090
  780.  
  781. :ICECRE1_4114
  782. 02A3: enable_widescreen 0
  783. Camera.Restore_WithJumpCut
  784. Camera.SetAtPos($7834, $7835, $7836)
  785. $1175 += 1 // integer values
  786. fade 1 1000
  787.  
  788. :ICECRE1_4145
  789. if
  790. fading
  791. else_jump @ICECRE1_4169
  792. wait 0
  793. jump @ICECRE1_4145
  794.  
  795. :ICECRE1_4169
  796. 030C: progress_made += 1
  797. Player.CanMove($PLAYER_CHAR) = True
  798. 03BF: set_player $PLAYER_CHAR ignored_by_everyone_to 0
  799. 0318: set_latest_mission_passed 'CREAM' // Distribution
  800. 0394: play_music 1
  801. $612 = 1 // integer values
  802. $7856 = 1 // integer values
  803.  
  804. :ICECRE1_4215
  805. return
  806.  
  807. :ICECRE1_4217
  808. $ONMISSION = 0 // integer values
  809. 00BA: text_styled 'ICC1_17' 5000 ms 5 // Distribution mission over
  810. 01E3: text_1number_styled 'ICC1_19' number $7857 time 5000 style 6 // Total deals done: ~1~
  811. if
  812. not $282 == 1 // integer values
  813. else_jump @ICECRE1_4281
  814. 03F2: pedtype 8 remove_threat 1
  815.  
  816. :ICECRE1_4281
  817. 03F2: pedtype 7 remove_threat 1
  818. 03F2: pedtype 9 remove_threat 1
  819. 03F2: pedtype 11 remove_threat 1
  820. 03F2: pedtype 12 remove_threat 1
  821. 03F2: pedtype 14 remove_threat 1
  822. Marker.Disable($7860)
  823. Marker.Disable($7861)
  824. Marker.Disable($7862)
  825. Marker.Disable($7863)
  826. Actor.RemoveReferences($7841)
  827. Actor.RemoveReferences($7843)
  828. Actor.RemoveReferences($7845)
  829. Actor.RemoveReferences($7847)
  830. 0151: remove_status_text $7857
  831. 0536: increment_drug_deals_made_by $7857
  832. 042F: save_record 2 integer $7857
  833. mission_cleanup
  834. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement