;;; Enemy_SetAttachedEnemyGraphics ;;; ;; Parameters: ;; r0: New EnemyGraphicPointer 08012304 (T) ldr r1,=EnemyOrientation ;\ 08012306 (T) add r1,2Fh ;| 08012308 (T) ldrb r1,[r1] ;| 0801230A (T) ldr r3,=EnemySlot0 ;| 0801230C (T) lsl r2,r1,3h ;| 0801230E (T) sub r2,r2,r1 ;} Store r0 parameter to Enemy[EnemyAttachedEnemySlot]GraphicPointer 08012310 (T) lsl r2,r2,3h ;| 08012312 (T) mov r1,r3 ;| 08012314 (T) add r1,18h ;| 08012316 (T) add r1,r2,r1 ;| 08012318 (T) str r0,[r1] ;/ 0801231A (T) add r2,r2,r3 ;\ 0801231C (T) mov r0,0h ;} Clear Enemy[EnemyAttachedEnemySlot]AnimationCounter 0801231E (T) strb r0,[r2,1Ch] ;/ 08012320 (T) strh r0,[r2,16h] ; Clear Enemy[EnemyAttachedEnemySlot]Animation 08012322 (T) bx r14 08012324 dd 0030006BCh,003000140h