0006fd042a |
Set return function for $self to function 042a |
00028f |
Label 8f |
0003 |
Yield |
00e2fd00f60106 |
Attempt to move $self to pad 00f6 and goto 06 |
00018f |
Go to first 8f |
000206 |
Label 06 |
00b5496e697469616c6973656100 |
// Initialisea |
000204 |
Label 04 |
0003 |
Yield |
00352f |
If $player in sight goto 2f |
000c06 |
If actor is not doing anything goto 06 |
00027f |
Label 7f |
0036 |
Call RNG |
00380106 |
If random byte > 1 goto 06 |
0005fd0018 |
Assign function 0018 - Do 1 of 5 animations to $self and advance frame |
000206 |
Label 06 |
000104 |
Go to first 04 |
00022f |
Label 2f |
00a102000000 |
Set flag #26 () |
006d40 |
Close door 40 (CI something) |
00b5496e697469616c6973656200 |
// Initialiseb |
00b6 |
Reset and start cycle counter |
000208 |
Label 08 |
009d00000100010106 |
If actor flag is something, goto 06 |
00180200000009 |
Actor faces something (entity type=0x0200, entity_id=0x0000), then goto 09 |
000209 |
Label 09 |
0003 |
Yield |
004d0a06 |
If actor is facing player within 10 degrees (?) goto 06 |
00bd00003c06 |
If cycle counter > 60 (1.0 secs) goto 06 |
000109 |
Go to first 09 |
000206 |
Label 06 |
00b5496e697469616c6973656300 |
// Initialisec |
00b6 |
Reset and start cycle counter |
000b0226ffffffff1010fd02 |
Actor $self does animation 0226 (arms up halfway scared, backup up) |
00b6 |
Reset and start cycle counter |
000257 |
Label 57 |
0003 |
Yield |
00bd00001e06 |
If cycle counter > 30 (0.5 secs) goto 06 |
000157 |
Go to first 57 |
000206 |
Label 06 |
01a3ff |
Character moves hands (gun jammed) |
00cdf81c31151b0606 |
Display text and play a sound in channel 6 for Joanna: Joanna, where did you spring from?
|
000259 |
Label 59 |
0003 |
Yield |
01380606 |
If sound in channel 6 is finished goto 06 |
000159 |
Go to first 59 |
000206 |
Label 06 |
00b6 |
Reset and start cycle counter |
00025b |
Label 5b |
0003 |
Yield |
00bd00003c06 |
If cycle counter > 60 (1.0 secs) goto 06 |
00015b |
Go to first 5b |
000206 |
Label 06 |
01a3ff |
Character moves hands (gun jammed) |
00cdf61c35151c0606 |
Display text and play a sound in channel 6 for player: I think we can safely say your training
is now complete!
|
00025c |
Label 5c |
0003 |
Yield |
01380606 |
If sound in channel 6 is finished goto 06 |
00015c |
Go to first 5c |
000206 |
Label 06 |
0009 |
Actor stops travelling |
00a110000000 |
Set flag #29 () |
0005fd0000 |
Assign function 0000 - Idle to $self and advance frame |
0004 |
End of function |
There are no comments yet for this function.