both
theres no button to just buy maximum available ammo, you have to purchase each ammo type separately, if you try to purchase too much ammo (why is this even a thing) you have to close out pop up warning boxes, etc
all that plus the monstrously bad ui performance