thank you Missagh,
actually i had taken what i thought was a long break from coding, when i randomly thought of one of my favorite sound effects: the chest opening. i thought "damn, i wish i could make a screen with a whole lot of chests, just waiting for me to open them. so, then i remembered i was having problems with classes and scope, so i somehow ran into a web page that just made it make sense.
a few experiments (and random frustrations cuz i accidentally made an infinite loop hehe) and i figured it out. i think i'm going to re-do my battle algorithm, it's a big mess, and also i figured out the collision detection that i've been meaning to implement (a better way than my old method).
i'm still annoyed that you guys can't run my game. i think you may need a one more thing to install, a Windows update or something like that.
i think i may have big news near the end of the month for people with smartphones