i've been experimenting with pen lately, pen box ill upload the full project when its done if you do want to use my sans sprite give credit. this is an old version of a battle engine i am making. if you steal any code please note: this code is outdated, it probably wont work with what you're making and the box is inefficient.
@S00TF00T for camera blocks Toby Fox for Undertale rest of the code by me sans sprite by me