Amount of Pokemon spawned by trainer

jmnevil54
22 May 2020, 00:45

In the Pokemon games, the trainer ID is some number like 00110100101 (Not necessarily binary code I just made it up), which has bits that are coded for attributes. In my game, I want to have a number like 001001001001001001 for six Bulbasaurs. How do I accomplish this?

Example:

001=Bulbasaur
001=Bulbasaur
001=Bulbasaur
001=Bulbasaur
001=Bulbasaur
001=Bulbasaur

jmnevil54
25 May 2020, 17:30

Could I just do a pick one function with an object list?


mrangel
25 May 2020, 20:13

Could I just do a pick one function with an object list?

That seems a logical way to do it.