What happened to the speaker?

Answer:

He had a stomachache.
Discussion;
I had a bad experience yesterday. In the morning, I saw four mangoes on the table. I was happy because I liked the fruit. I peeled one and ate greedily. Although my mother had advised me not to do so, I didn’t think much about her advice.
Then, I went to school. The first lesson was Geography and I had a test. During the test, I suddenly had stomachache. I tried to hold to it. However, I could not hold it anymore. After asking for my teacher’s permission, I went directly to the toilet.
  Prinsip-Prinsip Sistem Distribusi