Global


00a400040000 Set property for actor $self: 1:00040000 (unknown prop)
0007001c When shot/hit, assign function 001c - Be surprised then 0007
00020c Label 0c
0003 Yield
00b54c4f4f4b20464f52205441524745540a00 // LOOK FOR TARGET
000216 Label 16
00b6 Reset and start cycle counter
00b546414345205441524745540a00 // FACE TARGET
00180200000004 Actor faces something (entity type=0x0200, entity_id=0x0000), then goto 04
000204 Label 04
0003 Yield
003d0183 If shot near actor goto 83
003e0183 If someone killed in sight of actor goto 83
004d0a13 If actor is facing player within 10 degrees (?) goto 13
004ff613 If something to do with player goto 13
00bd00003c13 If cycle counter > 60 (1.0 secs) goto 13
000104 Go to first 04
000213 Label 13
007b1d16 If stage < Chicago goto 16
007c1d16 If stage > Chicago goto 16
00000e Go to next 0e
000216 Label 16
000216 Label 16
009b0800000001 Set an actor flag
00b553455420444953535045450a00 // SET DISSPEE
0060f60007 If player player has weapon Nothing equipped goto 07
0060f60107 If player player has weapon Unarmed equipped goto 07
0060f62307 If player player has weapon Combat Boost equipped goto 07
0060f63207 If player player has weapon Horizon Scanner equipped goto 07
0060f64d07 If player player has weapon Suitcase equipped goto 07
000005 Go to next 05
000207 Label 07
00b6 Reset and start cycle counter
011dfd0100000013 If $self has property 2:01000000 (unknown prop) goto 13
01a3ff Character moves hands (gun jammed)
0130f81dff02ff000000 Say random quip: "How's things?","Hey there","Hi, how are you?"
0003 Yield
00b55245540a00 // RET
009d08000000010113 If actor flag is something, goto 13
0009 Actor stops travelling
009b0800000001 Set an actor flag
000213 Label 13
011bfd01000000 Set property for $self: 2:01000000 (unknown prop)
0008 Jump to return function
000205 Label 05
011df60100000006 If player has property 2:01000000 (unknown prop) goto 06
011bf601000000 Set property for player: 2:01000000 (unknown prop)
0130f81eff02ff000000 Say random quip: "Where did you get that?","Should you have that?","What are you doing with that weapon?"
01a306 Character moves hands (gun jammed)
00b6 Reset and start cycle counter
000208 Label 08
0003 Yield
003d0183 If shot near actor goto 83
003e0183 If someone killed in sight of actor goto 83
00bd0000b416 If cycle counter > 180 (3.0 secs) goto 16
000108 Go to first 08
0008 Jump to return function
000206 Label 06
004a13 If something (actor in view?) goto 13
0008 Jump to return function
000213 Label 13
011bf602000000 Set property for player: 2:02000000 (unknown prop - related to disguises)
00b5444f4e5420504f494e540a00 // DONT POINT
0130f81fff03ff000000 Say random quip: "Mauler sound","Don't point that at me","Watch where you're pointing that"
01a3ff Character moves hands (gun jammed)
00b6 Reset and start cycle counter
000209 Label 09
0003 Yield
003d0183 If shot near actor goto 83
003e0183 If someone killed in sight of actor goto 83
00bd0000b416 If cycle counter > 180 (3.0 secs) goto 16
000109 Go to first 09
000216 Label 16
0008 Jump to return function
000215 Label 15
00020e Label 0e
0036 Call RNG
00388016 If random byte > 128 goto 16
00b5423454414c4b0a00 // B4TALK
007b1d15 If stage < Chicago goto 15
007c1d15 If stage > Chicago goto 15
0130f816ff00ff810000 Say random quip: unknown quip
000013 Go to next 13
000216 Label 16
0130f817ff00ff810000 Say random quip: unknown quip
000213 Label 13
01a303 Character moves hands (gun jammed)
0008 Jump to return function
000215 Label 15
0130f822ff00ff810000 Say random quip: unknown quip
000013 Go to next 13
000216 Label 16
0130f823ff00ff810000 Say random quip: unknown quip
000213 Label 13
01a303 Character moves hands (gun jammed)
0008 Jump to return function
000283 Label 83
008a64 Set alertness to 100
0005fd0006 Assign function 0006 - Unalerted guard to $self and advance frame
0004 End of function

Comments

Face current player

Wait for you to shoot someone nearby (goto 83 - become hostile) or standing in front of them (13 - greet player)

Label 13 - greeting
If Chicago, say something like "Greetings, citizen" then jump to return function
For other levels:
Set some property
If player is unarmed, say "How's things?" or similar and jump to return function
If player is armed, say "Where did you get that?" or similar and jump to return function

Label 83 - become hostile
Set alertness to 100 and assign 0006