Do i have to pay for the bill?

When my ex and i were dating, her iphone 4 fell off of my bed and cracked the screen. She said i didn't have to pay for it even though i offered and we broke up and she told me to pay it so i said no, she's trying to take me to court and if she actually does, how would i have to pay for it if it wasn't even entirely my fault, plus she said i didn't have to pay for it when we were together so that sticks right?

Added (1). First she said the bill was 150, then 170, then 180, and i'm 15.

You are in no way liable for her phone… Based on what you said. Trust me, no judge will make you pay, unless if there are material facts that you are not telling us

You would only be liable if you intentionally damaged her phone. Being 15, it would be your parents' responsibility, as you can't be held accountable.

Let her take it to court. You will prevail.