audio done

This commit is contained in:
the me 2022-08-23 03:09:17 -07:00
parent 54f1b7c75d
commit b31b8ba5d7
40 changed files with 637 additions and 4 deletions

View file

@ -1,5 +1,6 @@
function c_generatecombatstack(combatants=[]) {
log(combatants);
se_play(se_hurt);
//c_doallhook(hooks.precombat);
for (i=0; i<array_length(combatants); i++) {
c_resetbattlevar(combatants[i]);

View file

@ -12,7 +12,10 @@ function st_control() {
if global.map[mousex][mousey].contents[i].object_index == o_unit {
var dude = global.map[mousex][mousey].contents[i];
if dude.alignment == global.turn {
if selectedunit == noone c_selectunit(dude);
if selectedunit == noone {
c_selectunit(dude);
se_play(se_select);
}
} else {
c_markunit(dude);
}

View file

@ -150,6 +150,7 @@ function st_moving() {
c_deselectunit(id);
}
if dir == DIR.NONE && select && stop {
se_play(se_move);
c_moveunit(id, c_gettile(x, y, true));
waiting = true;
c_deselectunit(id);

View file

@ -25,5 +25,5 @@ function txt_momijiyaya() {
])
endevent = function() {ARTICULATOR.state = st_control};
endevent = function() {ARTICULATOR.state = st_control; se_play(se_recruit);};
}

View file

@ -26,5 +26,5 @@ function txt_momijiytkn() {
])
endevent = function() {ARTICULATOR.state = st_control};
endevent = function() {ARTICULATOR.state = st_control; se_play(se_recruit);};
}

View file

@ -27,5 +27,5 @@ function txt_nitoriytkn() {
])
endevent = function() {ARTICULATOR.state = st_control};
endevent = function() {ARTICULATOR.state = st_control; se_play(se_recruit);};
}