;;; Arachnus_SetHitboxStanding ;;; 0802381C (T) push r14 0802381E (T) ldr r2,=EnemyOrientation ;\ 08023820 (T) mov r0,0h ;| 08023822 (T) ldr r3,=0FF80h ;} EnemyTopBoundryOffset = -80h 08023824 (T) strh r3,[r2,0Ah] ;/ 08023826 (T) strh r0,[r2,0Ch] ; EnemyBottomBoundryOffset = 00h 08023828 (T) ldrh r1,[r2] ;\ 0802382A (T) mov r0,40h ;| 0802382C (T) and r0,r1 ;} If EnemyOrientation has 40h (facing right): 0802382E (T) cmp r0,0h ;| 08023830 (T) beq 8023848h ;/ 08023832 (T) ldr r0,=0FFE0h ;\ 08023834 (T) strh r0,[r2,0Eh] ;} EnemyLeftBoundryOffset = -20h 08023836 (T) mov r0,80h ;\ 08023838 (T) b 802384Ch ;} EnemyRightBoundryOffset = 80h 0802383A dw 00000h 0802383C dd 0030006BCh,00000FF80h,00000FFE0h 08023848 (T) strh r3,[r2,0Eh] ; EnemyLeftBoundryOffset = -80h 0802384A (T) mov r0,20h ;\ 0802384C (T) strh r0,[r2,10h] ;} EnemyRightBoundryOffset = 20 0802384E (T) pop r0 08023850 (T) bx r0