List of opcodes (LCS)

From GTAMods Wiki
Revision as of 22:39, 2 June 2017 by Spaceeinstein (talk | contribs) (Created page with "This is a '''list of all opcodes''', including nops and unsupported ones, in the mobile version of Liberty City Stories. Opcodes that have an equivalent behavior with the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a list of all opcodes, including nops and unsupported ones, in the mobile version of Liberty City Stories. Opcodes that have an equivalent behavior with the trilogy games are linked to the trilogy pages. Opcodes 00DB to 05A0 follow the same order as the trilogy games but are only offset by 5.

Opcode Command Notes
00DB ANDOR
00DC LAUNCH_MISSION
00DD MISSION_HAS_FINISHED
00DE STORE_CAR_CHAR_IS_IN
00DF STORE_CAR_PLAYER_IS_IN
00E0 IS_CHAR_IN_CAR
00E1 IS_PLAYER_IN_CAR
00E2 IS_CHAR_IN_MODEL
00E3 IS_PLAYER_IN_MODEL
00E4 IS_CHAR_IN_ANY_CAR
00E5 IS_PLAYER_IN_ANY_CAR
00E6 IS_BUTTON_PRESSED
00E7 -
00E8 LOCATE_PLAYER_ANY_MEANS_2D
00E9 LOCATE_PLAYER_ON_FOOT_2D
00EA LOCATE_PLAYER_IN_CAR_2D
00EB LOCATE_STOPPED_PLAYER_ANY_MEANS_2D
00EC LOCATE_STOPPED_PLAYER_ON_FOOT_2D
00ED LOCATE_STOPPED_PLAYER_IN_CAR_2D
00EE LOCATE_PLAYER_ANY_MEANS_CHAR_2D
00EF LOCATE_PLAYER_ON_FOOT_CHAR_2D
00F0 LOCATE_PLAYER_IN_CAR_CHAR_2D
00F1 LOCATE_CHAR_ANY_MEANS_2D
00F2 LOCATE_CHAR_ON_FOOT_2D
00F3 LOCATE_CHAR_IN_CAR_2D
00F4 LOCATE_STOPPED_CHAR_ANY_MEANS_2D
00F5 LOCATE_STOPPED_CHAR_ON_FOOT_2D
00F6 LOCATE_STOPPED_CHAR_IN_CAR_2D
00F7 LOCATE_CHAR_ANY_MEANS_CHAR_2D
00F8 LOCATE_CHAR_ON_FOOT_CHAR_2D
00F9 LOCATE_CHAR_IN_CAR_CHAR_2D
00FA LOCATE_PLAYER_ANY_MEANS_3D
00FB LOCATE_PLAYER_ON_FOOT_3D
00FC LOCATE_PLAYER_IN_CAR_3D
00FD LOCATE_STOPPED_PLAYER_ANY_MEANS_3D
00FE LOCATE_STOPPED_PLAYER_ON_FOOT_3D
00FF LOCATE_STOPPED_PLAYER_IN_CAR_3D
0100 LOCATE_PLAYER_ANY_MEANS_CHAR_3D
0101 LOCATE_PLAYER_ON_FOOT_CHAR_3D
0102 LOCATE_PLAYER_IN_CAR_CHAR_3D
0103 LOCATE_CHAR_ANY_MEANS_3D
0104 LOCATE_CHAR_ON_FOOT_3D
0105 LOCATE_CHAR_IN_CAR_3D
0106 LOCATE_STOPPED_CHAR_ANY_MEANS_3D
0107 LOCATE_STOPPED_CHAR_ON_FOOT_3D
0108 LOCATE_STOPPED_CHAR_IN_CAR_3D
0109 LOCATE_CHAR_ANY_MEANS_CHAR_3D
010A LOCATE_CHAR_ON_FOOT_CHAR_3D
010B LOCATE_CHAR_IN_CAR_CHAR_3D
010C CREATE_OBJECT
010D DELETE_OBJECT
010E ADD_SCORE
010F IS_SCORE_GREATER
0110 STORE_SCORE
0111 GIVE_REMOTE_CONTROLLED_CAR_TO_PLAYER
0112 ALTER_WANTED_LEVEL
0113 ALTER_WANTED_LEVEL_NO_DROP
0114 IS_WANTED_LEVEL_GREATER
0115 CLEAR_WANTED_LEVEL
0116 SET_DEATHARREST_STATE
0117 HAS_DEATHARREST_BEEN_EXECUTED
0118 -
0119 ADD_AMMO_TO_CHAR
011A -
011B IS_PLAYER_STILL_ALIVE
011C IS_PLAYER_DEAD
011D IS_CHAR_DEAD
011E IS_CAR_DEAD
011F SET_CHAR_THREAT_SEARCH
0120 -
0121 SET_CHAR_OBJ_NO_OBJ
0122 -
0123 -
0124 -
0125 -
0126 IS_PLAYER_IN_ZONE
0127 IS_PLAYER_PRESSING_HORN
0128 HAS_CHAR_SPOTTED_PLAYER
0129 -
012A -
012B IS_CHAR_OBJECTIVE_PASSED
012C -
012D -
012E CREATE_CHAR_INSIDE_CAR
012F WARP_PLAYER_FROM_CAR_TO_COORD
0130 -
0131 -
0132 -
0133 -
0134 -
0135 HAS_PLAYER_BEEN_ARRESTED
0136 -
0137 -
0138 -
0139 -
013A -
013B -
013C IS_CAR_MODEL
013D -
013E -
013F -
0140 -
0141 -
0142 -
0143 -
0144 -
0145 -
0146 -
0147 -
0148 -
0149 -
014A -
014B -
014C GIVE_CAR_ALARM
014D -
014E IS_CAR_CRUSHED
014F -
0150 CREATE_CAR_GENERATOR
0151 SWITCH_CAR_GENERATOR
0152 -
0153 DISPLAY_ONSCREEN_TIMER
0154 CLEAR_ONSCREEN_TIMER
0155 DISPLAY_ONSCREEN_COUNTER
0156 CLEAR_ONSCREEN_COUNTER
0157 SET_ZONE_CAR_INFO
0158 -
0159 IS_CHAR_IN_ZONE
015A SET_CAR_DENSITY
015B SET_PED_DENSITY
015C POINT_CAMERA_AT_PLAYER
015D POINT_CAMERA_AT_CAR
015E POINT_CAMERA_AT_CHAR
015F RESTORE_CAMERA
0160 -
0161 SET_ZONE_PED_INFO
0162 SET_TIME_SCALE
0163 -
0164 SET_FIXED_CAMERA_POSITION
0165 POINT_CAMERA_AT_POINT
0166 ADD_BLIP_FOR_CAR_OLD
0167 ADD_BLIP_FOR_CHAR_OLD
0168 -
0169 REMOVE_BLIP
016A CHANGE_BLIP_COLOUR
016B DIM_BLIP
016C ADD_BLIP_FOR_COORD_OLD
016D CHANGE_BLIP_SCALE
016E SET_FADING_COLOUR
016F DO_FADE
0170 GET_FADING_STATUS
0171 ADD_HOSPITAL_RESTART
0172 ADD_POLICE_RESTART
0173 OVERRIDE_NEXT_RESTART
0174 -
0175 GET_PLAYER_HEADING
0176 SET_PLAYER_HEADING
0177 GET_CHAR_HEADING
0178 SET_CHAR_HEADING
0179 GET_CAR_HEADING
017A SET_CAR_HEADING
017B GET_OBJECT_HEADING
017C SET_OBJECT_HEADING
017D IS_PLAYER_TOUCHING_OBJECT
017E -
017F SET_PLAYER_AMMO
0180 SET_CHAR_AMMO
0181 -
0182 -
0183 -
0184 -
0185 DECLARE_MISSION_FLAG
0186 DECLARE_MISSION_FLAG_FOR_CONTACT
0187 -
0188 IS_PLAYER_HEALTH_GREATER
0189 IS_CHAR_HEALTH_GREATER
018A IS_CAR_HEALTH_GREATER
018B ADD_BLIP_FOR_CAR
018C ADD_BLIP_FOR_CHAR
018D ADD_BLIP_FOR_OBJECT
018E ADD_BLIP_FOR_CONTACT_POINT
018F ADD_BLIP_FOR_COORD
0190 CHANGE_BLIP_DISPLAY
0191 ADD_ONE_OFF_SOUND
0192 ADD_CONTINUOUS_SOUND
0193 REMOVE_SOUND
0194 IS_CAR_STUCK_ON_ROOF
0195 ADD_UPSIDEDOWN_CAR_CHECK
0196 REMOVE_UPSIDEDOWN_CAR_CHECK
0197 SET_CHAR_OBJ_WAIT_ON_FOOT
0198 SET_CHAR_OBJ_FLEE_ON_FOOT_TILL_SAFE
0199 SET_CHAR_OBJ_GUARD_SPOT
019A SET_CHAR_OBJ_GUARD_AREA
019B SET_CHAR_OBJ_WAIT_IN_CAR
019C IS_PLAYER_IN_AREA_ON_FOOT_2D
019D IS_PLAYER_IN_AREA_IN_CAR_2D
019E IS_PLAYER_STOPPED_IN_AREA_2D
019F IS_PLAYER_STOPPED_IN_AREA_ON_FOOT_2D
01A0 IS_PLAYER_STOPPED_IN_AREA_IN_CAR_2D
01A1 IS_PLAYER_IN_AREA_ON_FOOT_3D
01A2 IS_PLAYER_IN_AREA_IN_CAR_3D
01A3 IS_PLAYER_STOPPED_IN_AREA_3D
01A4 IS_PLAYER_STOPPED_IN_AREA_ON_FOOT_3D
01A5 IS_PLAYER_STOPPED_IN_AREA_IN_CAR_3D
01A6 IS_CHAR_IN_AREA_ON_FOOT_2D
01A7 IS_CHAR_IN_AREA_IN_CAR_2D
01A8 IS_CHAR_STOPPED_IN_AREA_2D
01A9 IS_CHAR_STOPPED_IN_AREA_ON_FOOT_2D
01AA IS_CHAR_STOPPED_IN_AREA_IN_CAR_2D
01AB IS_CHAR_IN_AREA_ON_FOOT_3D
01AC IS_CHAR_IN_AREA_IN_CAR_3D
01AD IS_CHAR_STOPPED_IN_AREA_3D
01AE IS_CHAR_STOPPED_IN_AREA_ON_FOOT_3D
01AF IS_CHAR_STOPPED_IN_AREA_IN_CAR_3D
01B0 IS_CAR_STOPPED_IN_AREA_2D
01B1 IS_CAR_STOPPED_IN_AREA_3D
01B2 LOCATE_CAR_2D
01B3 LOCATE_STOPPED_CAR_2D
01B4 LOCATE_CAR_3D
01B5 LOCATE_STOPPED_CAR_3D
01B6 GIVE_WEAPON_TO_PLAYER
01B7 GIVE_WEAPON_TO_CHAR
01B8 -
01B9 SET_PLAYER_CONTROL
01BA FORCE_WEATHER
01BB FORCE_WEATHER_NOW
01BC RELEASE_WEATHER
01BD SET_CURRENT_PLAYER_WEAPON
01BE SET_CURRENT_CHAR_WEAPON
01BF -
01C0 GET_OBJECT_COORDINATES
01C1 SET_OBJECT_COORDINATES
01C2 GET_GAME_TIMER
01C3 TURN_CHAR_TO_FACE_COORD
01C4 TURN_PLAYER_TO_FACE_COORD
01C5 STORE_WANTED_LEVEL
01C6 IS_CAR_STOPPED
01C7 MARK_CHAR_AS_NO_LONGER_NEEDED
01C8 MARK_CAR_AS_NO_LONGER_NEEDED
01C9 MARK_OBJECT_AS_NO_LONGER_NEEDED
01CA DONT_REMOVE_CHAR
01CB DONT_REMOVE_CAR
01CC DONT_REMOVE_OBJECT
01CD CREATE_CHAR_AS_PASSENGER
01CE SET_CHAR_OBJ_KILL_CHAR_ON_FOOT
01CF SET_CHAR_OBJ_KILL_PLAYER_ON_FOOT
01D0 SET_CHAR_OBJ_KILL_CHAR_ANY_MEANS
01D1 SET_CHAR_OBJ_KILL_PLAYER_ANY_MEANS
01D2 -
01D3 SET_CHAR_OBJ_FLEE_PLAYER_ON_FOOT_TILL_SAFE
01D4 SET_CHAR_OBJ_FLEE_CHAR_ON_FOOT_ALWAYS
01D5 SET_CHAR_OBJ_FLEE_PLAYER_ON_FOOT_ALWAYS
01D6 SET_CHAR_OBJ_GOTO_CHAR_ON_FOOT
01D7 SET_CHAR_OBJ_GOTO_PLAYER_ON_FOOT
01D8 SET_CHAR_OBJ_LEAVE_CAR
01D9 SET_CHAR_OBJ_ENTER_CAR_AS_PASSENGER
01DA SET_CHAR_OBJ_ENTER_CAR_AS_DRIVER
01DB -
01DC -
01DD SET_CHAR_OBJ_DESTROY_OBJECT
01DE SET_CHAR_OBJ_DESTROY_CAR
01DF SET_CHAR_OBJ_GOTO_AREA_ON_FOOT
01E0 -
01E1 -
01E2 -
01E3 SET_CHAR_AS_LEADER
01E4 SET_PLAYER_AS_LEADER
01E5 LEAVE_GROUP
01E6 SET_CHAR_OBJ_FOLLOW_ROUTE
01E7 ADD_ROUTE_POINT
01E8 PRINT_WITH_NUMBER_BIG
01E9 PRINT_WITH_NUMBER
01EA PRINT_WITH_NUMBER_NOW
01EB PRINT_WITH_NUMBER_SOON
01EC SWITCH_ROADS_ON
01ED SWITCH_ROADS_OFF
01EE GET_NUMBER_OF_PASSENGERS
01EF GET_MAXIMUM_NUMBER_OF_PASSENGERS
01F0 SET_CAR_DENSITY_MULTIPLIER
01F1 SET_CAR_HEAVY
01F2 CLEAR_CHAR_THREAT_SEARCH
01F3 ACTIVATE_CRANE
01F4 DEACTIVATE_CRANE
01F5 SET_MAX_WANTED_LEVEL
01F6 -
01F7 -
01F8 IS_CAR_IN_AIR_PROPER
01F9 IS_CAR_UPSIDEDOWN
01FA GET_PLAYER_CHAR
01FB CANCEL_OVERRIDE_RESTART
01FC SET_POLICE_IGNORE_PLAYER
01FD -
01FE START_KILL_FRENZY
01FF READ_KILL_FRENZY_STATUS
0200 SQRT
0201 LOCATE_PLAYER_ANY_MEANS_CAR_2D
0202 LOCATE_PLAYER_ON_FOOT_CAR_2D
0203 LOCATE_PLAYER_IN_CAR_CAR_2D
0204 LOCATE_PLAYER_ANY_MEANS_CAR_3D
0205 LOCATE_PLAYER_ON_FOOT_CAR_3D
0206 LOCATE_PLAYER_IN_CAR_CAR_3D
0207 LOCATE_CHAR_ANY_MEANS_CAR_2D
0208 LOCATE_CHAR_ON_FOOT_CAR_2D
0209 LOCATE_CHAR_IN_CAR_CAR_2D
020A LOCATE_CHAR_ANY_MEANS_CAR_3D
020B LOCATE_CHAR_ON_FOOT_CAR_3D
020C LOCATE_CHAR_IN_CAR_CAR_3D
020D GENERATE_RANDOM_FLOAT_IN_RANGE
020E GENERATE_RANDOM_INT_IN_RANGE
020F LOCK_CAR_DOORS
0210 EXPLODE_CAR
0211 ADD_EXPLOSION
0212 IS_CAR_UPRIGHT
0213 TURN_CHAR_TO_FACE_CHAR
0214 TURN_CHAR_TO_FACE_PLAYER
0215 TURN_PLAYER_TO_FACE_CHAR
0216 SET_CHAR_OBJ_GOTO_COORD_ON_FOOT
0217 -
0218 CREATE_PICKUP
0219 HAS_PICKUP_BEEN_COLLECTED
021A REMOVE_PICKUP
021B SET_TAXI_LIGHTS
021C PRINT_BIG_Q
021D PRINT_WITH_NUMBER_BIG_Q
021E SET_GARAGE
021F -
0220 SET_TARGET_CAR_FOR_MISSION_GARAGE
0221 IS_CAR_IN_MISSION_GARAGE
0222 SET_FREE_BOMBS
0223 -
0224 -
0225 IS_CAR_ARMED_WITH_ANY_BOMB
0226 APPLY_BRAKES_TO_PLAYERS_CAR
0227 SET_PLAYER_HEALTH
0228 SET_CHAR_HEALTH
0229 SET_CAR_HEALTH
022A GET_PLAYER_HEALTH
022B GET_CHAR_HEALTH
022C GET_CAR_HEALTH
022D IS_CAR_ARMED_WITH_BOMB
022E CHANGE_CAR_COLOUR
022F SWITCH_PED_ROADS_ON
0230 SWITCH_PED_ROADS_OFF
0231 CHAR_LOOK_AT_CHAR_ALWAYS
0232 CHAR_LOOK_AT_PLAYER_ALWAYS
0233 PLAYER_LOOK_AT_CHAR_ALWAYS
0234 STOP_CHAR_LOOKING
0235 STOP_PLAYER_LOOKING
0236 -
0237 -
0238 -
0239 -
023A SET_GANG_PED_MODELS
023B SET_GANG_CAR_MODEL
023C SET_GANG_WEAPONS
023D -
023E SET_CHAR_OBJ_RUN_TO_COORD
023F -
0240 -
0241 LOAD_SPECIAL_CHARACTER
0242 HAS_SPECIAL_CHARACTER_LOADED
0243 -
0244 -
0245 -
0246 IS_PLAYER_IN_REMOTE_MODE
0247 ARM_CAR_WITH_BOMB
0248 SET_CHAR_PERSONALITY
0249 SET_CUTSCENE_OFFSET
024A SET_ANIM_GROUP_FOR_CHAR
024B -
024C REQUEST_MODEL
024D HAS_MODEL_LOADED
024E MARK_MODEL_AS_NO_LONGER_NEEDED
024F GRAB_PHONE
0250 -
0251 -
0252 -
0253 TURN_PHONE_OFF
0254 DRAW_CORONA
0255 -
0256 STORE_WEATHER
0257 RESTORE_WEATHER
0258 STORE_CLOCK
0259 RESTORE_CLOCK
025A RESTART_CRITICAL_MISSION
025B IS_PLAYER_PLAYING
025C SET_COLL_OBJ_NO_OBJ