Yah it works fine but i'll take a look at your method too... the way i did the chest i ended up with a little mess of a code... it works and it makes sense to me... but it just looks messy
at the begining I have a move route so it looks like it's being opened then it's followed by
Control variable [0001] random number (10...75)
conditional branch variable [0001] == variable [0001]
change gold + variable [0001]
change items [potion], +1
show text: you got \v[0001] gold and a potion
control self switch a = on
else
branch end
the the second page just displays text if self switch a is on
for some reason it seems over complicated to me