So of recent I have been planning on making a mod and I need help with flags and triggers. For one particular dungeon I have 2 switches but everytime I step on the switch two chest pops out instead of one. I keep rereading the z64 wiki on the switches but i just keep getting confuse. Can someone help explain how flags and triggers work?