.gba
.open "zm.gba","JumpLeftRight.gba",0x8000000

.org 0x800900C
	bl FreeSpace

.org 0x8043DF0	;Crocomire AI (unused)
FreeSpace:
	ldrh r3,[r2]
	mov r2,0h				;Overwritten code
	ldsh r1,[r0,r2]	;Overwritten code
	mov r2,r3
	ldrh r0,[r4,0Eh]
	and r2,r0
	mov r0,r14
	cmp r2,0h
	bne XAccelerationUpdate
	add r0,8h
XAccelerationUpdate:
	bx r0
	
.close