CI Training


0006fd0429 Set return function for $self to function 0429
00b5496e697469616c6973656100 // Initialisea
00b6 Reset and start cycle counter
00020f Label 0f
0003 Yield
00bd00003c8f If cycle counter > 60 (1.0 secs) goto 8f
00010f Go to first 0f
00028f Label 8f
0003 Yield
00a3080000000004 If flag #28 (any training completed) is false goto 04
00018f Go to first 8f
000204 Label 04
0003 Yield
00a300000004010d If flag #3 () is true goto 0d
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
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
00a300000004010d If flag #3 () is true goto 0d
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
01a303 Character moves hands (gun jammed)
01a20006 Play Carrington quip
00b6 Reset and start cycle counter
000257 Label 57
0003 Yield
00a300000004010d If flag #3 () is true goto 0d
01380606 If sound in channel 6 is finished goto 06
000157 Go to first 57
000206 Label 06
00b5496e697469616c6973656400 // Initialised
00b6 Reset and start cycle counter
000258 Label 58
0003 Yield
00a300000004010d If flag #3 () is true goto 0d
00bd00003c06 If cycle counter > 60 (1.0 secs) goto 06
000158 Go to first 58
000206 Label 06
00cdf81c2b15170609 Display text and play a sound in channel 6 for Joanna:
I'm here to pick up the equipment.
000259 Label 59
0003 Yield
00a300000004010d If flag #3 () is true goto 0d
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
00a300000004010d If flag #3 () is true goto 0d
00bd00003c06 If cycle counter > 60 (1.0 secs) goto 06
00015b Go to first 5b
000206 Label 06
011df8000800002f If Joanna has property 2:00080000 goto 2f
01a3ff Character moves hands (gun jammed)
00cdf61c2c15180605 Display text and play a sound in channel 6 for player:
Go away, Joanna. You're not fooling anybody!
00025c Label 5c
0003 Yield
00a300000004010d If flag #3 () is true goto 0d
01380606 If sound in channel 6 is finished goto 06
00015c Go to first 5c
000206 Label 06
00a140000000 Set flag #31 ()
00000d Go to next 0d
00022f Label 2f
01a3ff Character moves hands (gun jammed)
00cdf61c2d15190605 Display text and play a sound in channel 6 for player:
Here you go. Don't drop it now.
00025d Label 5d
0003 Yield
00a300000004010d If flag #3 () is true goto 0d
01380606 If sound in channel 6 is finished goto 06
00015d Go to first 5d
000206 Label 06
006a3cf8 Give Joanna object 3c (cloaking device)
00a180000000 Set flag #32 ()
00020d Label 0d
0005fd0000 Assign function 0000 - Idle to $self and advance frame
0004 End of function

Invocations

Comments

There are no comments yet for this function.