Train


0204 Label 04
ae Reset and start cycle counter
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
03 Yield
33 Call RNG
35fe01 If random byte > 254 then goto 01
33 Call RNG
35fa11 If random byte > 250 then goto 11
b400007801 If cycle counter > 120 (2.0 secs) then goto 01
0106 Go to first 06
0211 Label 11
03 Yield
33 Call RNG
35fe01 If random byte > 254 then goto 01
b40000b401 If cycle counter > 180 (3.0 secs) then goto 01
0111 Go to first 11
0201 Label 01
6d0001 If objective #1 is complete then goto 01
0104 Go to first 04
0201 Label 01
05fd0418 Assign function 0418 - Play brake screeching? to $self and advance frame
04 End of function

Invocations

  • Started automatically

Comments

There are no comments yet for this function.