00780104 |
If difficulty > SA goto 04 |
00710e01 |
Unlock door 0e (dD office door) with value 1 |
00710f01 |
Unlock door 0f (dD office door) with value 1 |
00ae0e20000000 |
Unset property for object 0e (dD office door): 2:20000000 (unknown prop) |
00ae0f20000000 |
Unset property for object 0f (dD office door): 2:20000000 (unknown prop) |
00a100004000 |
Set flag #15 (Cass door unlocked) |
0005fd0000 |
Assign function 0000 - Idle to $self and advance frame |
000204 |
Label 04 |
0003 |
Yield |
01b3fd |
Allow co-op player to be considered for P1/P2 actor |
0063f20d2c |
If object 0d (light switch) activated by P1 or P2 goto 2c |
000206 |
Label 06 |
000104 |
Go to first 04 |
00022c |
Label 2c |
00ce00baff |
Play sound ba in channel 255 |
00cbf2022f |
Display text in bottom left for P1 or P2: Door unlocked.
|
00a100004000 |
Set flag #15 (Cass door unlocked) |
00710e01 |
Unlock door 0e (dD office door) with value 1 |
00710f01 |
Unlock door 0f (dD office door) with value 1 |
00ae0e20000000 |
Unset property for object 0e (dD office door): 2:20000000 (unknown prop) |
00ae0f20000000 |
Unset property for object 0f (dD office door): 2:20000000 (unknown prop) |
0003 |
Yield |
00b6 |
Reset and start cycle counter |
000208 |
Label 08 |
0003 |
Yield |
00bd00002d06 |
If cycle counter > 45 (0.8 secs) goto 06 |
000108 |
Go to first 08 |
000206 |
Label 06 |
017c043b07 |
Set sound 043b to channel 7 (does not play) |
00cf070e0001 |
Play sound in channel 7 from object 0e (dD office door) |
0005fd0000 |
Assign function 0000 - Idle to $self and advance frame |
0004 |
End of function |
A/SA:
Unlock door
Set flag 15
Exit
PA:
Wait for door switch activation
Play sound
Show text
Set flag 15
Unlock door
Wait 0.75
Play another sound