Train


86fa Set actor byte #2 to 250
8100 Set $self->value to 0
0211 Label 11
8228 Add 40 to $self->value
ae Reset and start cycle counter
9501 Unmask $self->somevalue with 1
846404 If $self->value < 100 then goto 04
0008 Go to next 08
0204 Label 04
03 Yield
b400007801 If cycle counter > 120 (2.0 secs) then goto 01
0104 Go to first 04
0201 Label 01
8501 If something to do with $self->value then goto 01
0111 Go to first 11
0201 Label 01
33 Call RNG
35af2d If random byte > 175 then goto 2d
35642c If random byte > 100 then goto 2c
022b Label 2b
c400f9ff Play sound f9 in channel 255
0006 Go to next 06
022c Label 2c
c400dfff Play sound df in channel 255
0006 Go to next 06
022d Label 2d
c40033ff Play sound 33 in channel 255
0006 Go to next 06
0206 Label 06
0111 Go to first 11
0208 Label 08
03 Yield
9a00040000 Set flag #19 (brake screech finished?)
0108 Go to first 08
04 End of function

Invocations

Comments

There are no comments yet for this function.