so i'm building an RPG with a Pokémon style battle system, and for the most part it functions but when i re-enter a battle and attack the enemy sprite just disappears.
the way i have it set up the game should let you re-battle the enemy when you walk back into the sprite and it should fully reset all battle conditions so that i can test the battling without resetting the whole project every time, and it was working before but something has the enemy sprite fully disappearing when i attack the first time on re-entering the battle layout.
ive been disabling random bits of code and i cant figure out whats causing this issue
dropbox.com/scl/fi/9u1gvugkvo6n2tjmtjy8y/battlesh.c3p
(for context to use the game the red button is fight and the blue button is flee/ the light green is a strong attack and the dark green is a weak attack)