Co-authored-by: Raeschen <rycoop29@gmail.com>
[MIRROR] Adds some core behavior code, uses it to fix a small bug (ABLE TO BE MERGED)