audio done
This commit is contained in:
parent
54f1b7c75d
commit
b31b8ba5d7
40 changed files with 637 additions and 4 deletions
|
@ -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]);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -25,5 +25,5 @@ function txt_momijiyaya() {
|
|||
|
||||
])
|
||||
|
||||
endevent = function() {ARTICULATOR.state = st_control};
|
||||
endevent = function() {ARTICULATOR.state = st_control; se_play(se_recruit);};
|
||||
}
|
|
@ -26,5 +26,5 @@ function txt_momijiytkn() {
|
|||
|
||||
])
|
||||
|
||||
endevent = function() {ARTICULATOR.state = st_control};
|
||||
endevent = function() {ARTICULATOR.state = st_control; se_play(se_recruit);};
|
||||
}
|
|
@ -27,5 +27,5 @@ function txt_nitoriytkn() {
|
|||
|
||||
])
|
||||
|
||||
endevent = function() {ARTICULATOR.state = st_control};
|
||||
endevent = function() {ARTICULATOR.state = st_control; se_play(se_recruit);};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue