Affidavit: Vanc. student had gun, ammo in pockets when arrested