{$CLEO}
{$VERSION 3.1.0040}
const
WEATHER_RAIN_1 = 8 // RAINY-SF
WEATHER_RAIN_2 = 16 // RAINY-COUNTRYSIDE
end
var
20@ : Integer
21@ : Integer
end
0000:
1@ = 0
0A9F: 0@ = current_thread_pointer
0A8E: 10@ = 0@ + 0x10
0A8D: 10@ = read_memory 10@ size 4 virtual_protect 0
0A8F: 11@ = 10@ - @lbl
0A8C: write_memory 0x004856D8 size 4 value 11@ virtual_protect 1
0@ += 0x40 // 0@ = 1@'s global address; fixed 02/10/10
11@ += 2
0A8C: write_memory 11@ size 4 value 0@ virtual_protect 0
while true
wait 0
0A8D: 20@ = read_memory 0xC81320 size 2 virtual_protect 0 // [word] Current weather
if or
20@ == WEATHER_RAIN_1
20@ == WEATHER_RAIN_2
then
0B52: get_audio 31@ state 21@ volume 32@ position 32@ length 32@ loop 32@ menu_flag 32@ tempo 32@ speed 32@ pitch 32@ synchronize speed 32@ volume 32@
if
21@ == 0
then
0B51: 31@ = play_media_file "audio\rain-02.mp3" direct_path 0 prescan 1 volume 100.0 position 0.0 loop 1 menu_flag 2 tempo 0.0 speed 100.0 pitch 0.0 synchronize speed 1 volume 1 save 0
0B53: set_audio 31@ volume 25.0 for 0 ms position -1.0 loop -1 menu_flag -1 tempo -100.0 speed -1000.0 pitch -100.0 synchronize speed -1 volume -1
end
else
0B52: get_audio 31@ state 21@ volume 32@ position 32@ length 32@ loop 32@ menu_flag 32@ tempo 32@ speed 32@ pitch 32@ synchronize speed 32@ volume 32@
if
21@ <> 0
then
0B50: stop_audio 31@
end
end
if
1@ == 1
then
//gosub @cleo_music_player
gosub @phone
gosub @RainModEffect
gosub @speed
//gosub @tacticalscreen
1@ = 0
end
end
:lbl
hex
C705 00000000 01000000 // MOV DWORD PTR DS:[00000000], 1
B8 BB414800 // MOV EAX,004841BB
FFE0 // JMP EAX
end
:phone
0390: load_txd_dictionary "MOBILE"
038F: load_texture "MOBILE" as 123 // Load dictionary with 0390 first
return
:RainModEffect
0390: load_txd_dictionary 'RainMod'
038F: load_texture "drop_1" as 119 // Load dictionary with 0390 first
038F: load_texture "drop_2" as 120 // Load dictionary with 0390 first
038F: load_texture "drop_3" as 121 // Load dictionary with 0390 first
038F: load_texture "drop_4" as 122 // Load dictionary with 0390 first
return
:cleo_music_player
0390: load_txd_dictionary 'rstns'
038F: load_texture "driver" as 68
038F: load_texture "truecrime" as 69
038F: load_texture "mc2" as 70
038F: load_texture "mc3" as 71
038F: load_texture "gtacw" as 72
038F: load_texture "gta1" as 73
038F: load_texture "gta2" as 74
038F: load_texture "3_FLASH" as 75
038F: load_texture "3_GAME" as 76
038F: load_texture "3_HEAD" as 77
038F: load_texture "3_KJAH" as 78
038F: load_texture "3_LIPS" as 79
038F: load_texture "3_MSX" as 80
038F: load_texture "3_RISE" as 81
038F: load_texture "vc_emotion" as 82
038F: load_texture "vc_fever" as 83
038F: load_texture "vc_flash" as 84
038F: load_texture "vc_vrock" as 85
038F: load_texture "vc_wave" as 86
038F: load_texture "vc_wildstyle" as 87
038F: load_texture "lcs_flash" as 88
038F: load_texture "lcs_head" as 89
038F: load_texture "lcs_kjah" as 90
038F: load_texture "lcs_lips" as 91
038F: load_texture "lcs_msx" as 92
038F: load_texture "lcs_rise" as 93
038F: load_texture "vcs_emotion" as 94
038F: load_texture "vcs_espantoso" as 95
038F: load_texture "vcs_flash" as 96
038F: load_texture "vcs_fresh" as 97
038F: load_texture "vcs_paradise" as 98
038F: load_texture "vcs_vrock" as 99
038F: load_texture "vcs_wave" as 100
return
:tacticalscreen
0390: load_txd_dictionary 'weapon'
038F: load_texture "gun_vibe1" as 66
038F: load_texture "gun_vibe2" as 67
038F: load_texture "gun_cane" as 68
038F: load_texture "dummy" as 69
038F: load_texture "colt45" as 70
038F: load_texture "silenced" as 71
038F: load_texture "desert_eagle" as 72
038F: load_texture "unarmed" as 73
038F: load_texture "brassknuckle" as 74
038F: load_texture "golfclub" as 75
038F: load_texture "nitestick" as 76
038F: load_texture "knifecur" as 77
038F: load_texture "bat" as 78
038F: load_texture "shovel" as 79
038F: load_texture "katana" as 80
038F: load_texture "poolcue" as 81
038F: load_texture "chnsaw" as 82
038F: load_texture "chromegun" as 83
038F: load_texture "sawnoff" as 84
038F: load_texture "shotgspa" as 85
038F: load_texture "micro_uzi" as 86
038F: load_texture "mp5lng" as 87
038F: load_texture "tec9" as 88
038F: load_texture "ak47" as 89
038F: load_texture "m4" as 90
038F: load_texture "cuntgun" as 91
038F: load_texture "sniper" as 92
038F: load_texture "rocketla" as 93
038F: load_texture "heatseek" as 94
038F: load_texture "flame" as 95
038F: load_texture "minigun" as 96
038F: load_texture "grenade" as 97
038F: load_texture "molotov" as 98
038F: load_texture "satchel" as 99
038F: load_texture "spraycan" as 100
038F: load_texture "fire_ex" as 101
038F: load_texture "camera" as 102
038F: load_texture "flowera" as 103
038F: load_texture "goggles" as 104
038F: load_texture "gun_para" as 105
038F: load_texture "detonator" as 106
038F: load_texture "teargas" as 107
038F: load_texture "notepad" as 108
038F: load_texture "trad" as 109
038F: load_texture "dot" as 110
038F: load_texture "trad_h" as 111
038F: load_texture "trad_m" as 112
038F: load_texture "gun_dildo1" as 113 //64
038F: load_texture "gun_dildo2" as 114 //65
return
:speed
0390: load_txd_dictionary "SPEED"
038F: load_texture "STRELK" as 115 // Load dictionary with 0390 first
038F: load_texture "CIF" as 116 // Load dictionary with 0390 first
038F: load_texture "CIFN" as 117 // Load dictionary with 0390 first
038F: load_texture "STRELKN" as 118 // Load dictionary with 0390 first
return