This commit is contained in:
the me 2022-08-23 06:06:02 -07:00
parent b31b8ba5d7
commit 7fb465c82e
43 changed files with 159 additions and 86 deletions

View file

@ -1,5 +1,11 @@
function c_deleteunit(x, y, target) {
if target.data.name == "Rei'sen" {
textbox_create(txt_win);
c_inheritunit(0, 0, un.bunny, ARMY.THEM);
}
array_remove(global.map[x][y].contents, target);
//global.map[x][y].contents = [];
array_remove(global.units[target.alignment], target);
instance_destroy(target);
}