0803D7CC (T) push r14
0803D7CE (T) ldr r0,=EnemyOrientation ;\
0803D7D0 (T) add r0,24h ;|
0803D7D2 (T) ldrb r0,[r0] ;|
0803D7D4 (T) cmp r0,2h ;|
0803D7D6 (T) beq 803D7F2h ;|
0803D7D8 (T) cmp r0,2h ;|
0803D7DA (T) bgt 803D7E8h ;|
0803D7DC (T) cmp r0,0h ;|
0803D7DE (T) beq 803D7EEh ;} Execute EnemyPose dependant code
0803D7E0 (T) b 803D7FEh ;|
0803D7E2 dw 00000h ;|
0803D7E4 dd 0030006BCh ;|
;|
0803D7E8 (T) cmp r0,38h ;|
0803D7EA (T) beq 803D7F8h ;|
0803D7EC (T) b 803D7FEh ;/
; EnemyPose == 0 (initialisation)
0803D7EE (T) bl 803D490h ; Execute subroutine 803D490
; EnemyPose == 2 (walking)
0803D7F2 (T) bl 803D510h ; Execute subroutine 803D510
0803D7F6 (T) b 803D802h
; EnemyPose == 38h (slash attack)
0803D7F8 (T) bl 803D580h ; Execute subroutine 803D580
0803D7FC (T) b 803D802h
; All others
0803D7FE (T) bl 803D55Ch ; Execute subroutine 803D55C
0803D802 (T) pop r0
0803D804 (T) bx r0
0803D806 dw 00000h