In the mainline Pokemon games, generally speaking, after a trainer battle, you get some money if you win.
Is there any in-universe explanation of:
- Where this money is coming from (the other trainer? somewhere else?);
- How the amount of money won is determined?
I wondered about this after defeating a preschooler in a trainer battle in Pokemon Moon, and winning some money. Did I just win his lunch money from him?