If all you need is a way to stop previously opened chests from being opened again, set the bit when the chest is opened, and have a startup command check if it is and drawstatus hide if it was already opened.
Perfect example in 014 Guardia Forest dead end, Object 12. At offset 0608 you can see the game set the bit when the chest is opened. In startup at offset 05FB it checks that bit, if it is set, the chest is simply not there (btw the 05FB is off by 100 in the 7F0xxx address, that's because of the event command 16 bug)