looks like battle animations to me

This commit is contained in:
the me 2022-08-23 01:34:45 -07:00
parent 64a74d6f36
commit b0e718f879
12 changed files with 107 additions and 20 deletions

View file

@ -1,7 +1,7 @@
function c_moveunit(targetunit, destination) {
var theguy = c_gettile(targetunit.pos.x, targetunit.pos.y);
log(theguy.contents);
if !array_remove(theguy.contents, targetunit) idhfnjg();
/*if !*/array_remove(theguy.contents, targetunit) //idhfnjg();
array_push(destination.contents, targetunit);
targetunit.pos.x = destination.x;
targetunit.pos.y = destination.y;