Duel


000258 Label 58
0003 Yield
0033f82d If Joanna is dying/dead goto 2d
0034f82d If Joanna has finished death animation goto 2d
00a3000008000106 If flag #12 (ready for SA walk) is true goto 06
000158 Go to first 58
00022d Label 2d
0005fd0000 Assign function 0000 - Idle to $self and advance frame
000206 Label 06
00e0f800 Revoke control from Joanna temporarily
01110488 Start pre-recorded camera movement
00028f Label 8f
0005f20401 Assign function 0401 - Move guard to pad to P1 or P2 and advance frame
00e2010279012d Attempt to move actor 01 (Jonathan) to pad 0279 and goto 2d
0003 Yield
00018f Go to first 8f
00022d Label 2d
00a80100000400 Unset property for actor 01 (Jonathan): 1:00000400 (hidden)
00a80100000010 Unset property for actor 01 (Jonathan): 1:00000010 (invincible)
00a80100001000 Unset property for actor 01 (Jonathan): 1:00001000 (immune to explosives?)
0003 Yield
00a8f800000400 Unset property for Joanna: 1:00000400 (hidden)
00a7f800800000 Set property for Joanna: 1:00800000 (unplayable)
011bf800020000 Set property for Joanna: 2:00020000 (unknown prop - used in cutscenes)
000b009dffffffff06000102 Actor actor 01 (Jonathan) does animation 009d (grab crotch)
00022d Label 2d
00cbf85e0d Display text in bottom left for Joanna:
Opponent skill level: SPECIAL AGENT
00b6 Reset and start cycle counter
000208 Label 08
0003 Yield
01132d If pre-recorded camera movement is still running goto 2d
000006 Go to next 06
00022d Label 2d
000108 Go to first 08
000206 Label 06
00022d Label 2d
01a402000002 Display text in top middle:
(unknown text)
00e0f800 Revoke control from Joanna temporarily
00dd Return from camera mode to player
0003 Yield
0177f8027528050064 Actor Joanna forcibly walks to pad 0275
0036 Call RNG
0037808f If random byte < 128 goto 8f
00e2010271010b Attempt to move actor 01 (Jonathan) to pad 0271 and goto 0b
00028f Label 8f
00e2010270010b Attempt to move actor 01 (Jonathan) to pad 0270 and goto 0b
00020b Label 0b
0003 Yield
0178f80c If Joanna's forced walk has finished goto 0c
00010b Go to first 0b
00020c Label 0c
00e1f8 Give control back to Joanna
0005010403 Assign function 0403 - Jonathan to actor 01 (Jonathan) and advance frame
0005fd0000 Assign function 0000 - Idle to $self and advance frame
0004 End of function

Invocations

  • Started automatically

Comments

Wait for flag 12 or Jo dying
If Jo dies, remove function
Probably move Jo, then camera movement
Move Jonathan to position