Next, try to do a object pool to store each actor of the map. This include the chest, tree, persons, etc. Remeber to use SPSET when your object is created and then do other stuff. Also, store each management number you're using on an array to remember the sprites that are in use.
To handle behaviors create an array for the entities called behavior$.(In the game loop use "call behavior$[i]")
1そうだね プレイ済み