unit sprites and a buncha other stuff

This commit is contained in:
the me 2022-08-15 19:04:23 -07:00
parent e45eb49492
commit a537ea5cf2
37 changed files with 516 additions and 17 deletions

View file

@ -3,7 +3,7 @@ function c_inheritunit(x, y, unit_) {
chump.data = unit_;
chump.pos.x = x;
chump.pos.y = y;
chump.sprite_index = unit_.sprite;
chump.sprite_index = unit_.idle;
array_push(global.map[x][y].contents, chump);
return chump;
}