0803D490 (T) push r4,r14 0803D492 (T) ldr r0,=EnemyOrientation ;\ 0803D494 (T) mov r12,r0 ;} r12 = &EnemyOrientation 0803D496 (T) ldrh r1,[r0] ;\ 0803D498 (T) ldr r0,=0FFFBh ;| 0803D49A (T) and r0,r1 ;| 0803D49C (T) mov r3,0h ;} EnemyOrientation &= !0004h 0803D49E (T) mov r4,0h ;| 0803D4A0 (T) mov r1,r12 ;| 0803D4A2 (T) strh r0,[r1] ;/ 0803D4A4 (T) mov r2,r12 ;\ 0803D4A6 (T) add r2,34h ;| 0803D4A8 (T) ldrb r1,[r2] ;| 0803D4AA (T) mov r0,4h ;} EnemyCollisionProperties |= 4 0803D4AC (T) orr r0,r1 ;| 0803D4AE (T) strb r0,[r2] ;/ 0803D4B0 (T) mov r0,r12 ;\ 0803D4B2 (T) add r0,27h ;| 0803D4B4 (T) mov r1,8h ;} Enemy27 = 8 0803D4B6 (T) strb r1,[r0] ;/ 0803D4B8 (T) add r0,1h ;\ 0803D4BA (T) strb r1,[r0] ;} Enemy28 = 8 0803D4BC (T) sub r2,0Bh ;\ 0803D4BE (T) mov r0,10h ;} Enemy29 = 10h 0803D4C0 (T) strb r0,[r2] ;/ 0803D4C2 (T) ldr r0,=0FFF8h ;\ 0803D4C4 (T) mov r2,r12 ;} EnemyTopBoundaryOffset = -8 0803D4C6 (T) strh r0,[r2,0Ah] ;/ 0803D4C8 (T) strh r1,[r2,0Ch] ; EnemyBottomBoundaryOffset = 8 0803D4CA (T) strh r0,[r2,0Eh] ; EnemyLeftBoundaryOffset = -8 0803D4CC (T) strh r1,[r2,10h] ; EnemyRightBoundaryOffset = 8 0803D4CE (T) ldr r0,=8355508h ;\ 0803D4D0 (T) str r0,[r2,18h] ;} EnemyGraphicPointer = 8355508 0803D4D2 (T) strb r3,[r2,1Ch] ; EnemyAnimationCounter = 0 0803D4D4 (T) strh r4,[r2,16h] ; EnemyAnimation = 0 0803D4D6 (T) mov r1,r12 ;\ 0803D4D8 (T) add r1,24h ;| 0803D4DA (T) mov r0,2h ;} EnemyPose = 2 (walking) 0803D4DC (T) strb r0,[r1] ;/ 0803D4DE (T) add r1,1h ;\ 0803D4E0 (T) mov r0,4h ;} Enemy25 = 4 0803D4E2 (T) strb r0,[r1] ;/ 0803D4E4 (T) sub r1,3h ;\ 0803D4E6 (T) mov r0,3h ;} Enemy22 = 3 0803D4E8 (T) strb r0,[r1] ;/ 0803D4EA (T) ldr r1,=DSPCNTBackup ;\ 0803D4EC (T) ldrb r1,[r1,0Ah] ;| 0803D4EE (T) and r0,r1 ;| 0803D4F0 (T) mov r1,r12 ;} Enemy21 = BG1 priority backup 0803D4F2 (T) add r1,21h ;| 0803D4F4 (T) strb r0,[r1] ;/ 0803D4F6 (T) pop r4 0803D4F8 (T) pop r0 0803D4FA (T) bx r0 0803D4FC dd 0030006BCh,00000FFFBh,00000FFF8h,008355508h 0803D50C dd 003000070h