Updated by blaac 2017-05-24 View revision File horns.mod.gml Modified Side-by-side diff More Ignore whitespace Hide word diff #define step with (Player) if (button_pressed(index, "horn")) { - if race_id != 6 && race_id <= 15 && (bskin = 0 || bskin = 1) + if race_id != 6 && race_id <= 15 && race_id != 14 && (bskin = 0 || bskin = 1) { sound_play(asset_get_index("sndMutant" + string(race_id) + "Cnfm")) }
Updated by blaac 2017-05-15 View revision File horns.mod.gml Modified Side-by-side diff More Ignore whitespace Hide word diff #define step with (Player) if (button_pressed(index, "horn")) { - if race_id != 6 && race_id <= 15 + if race_id != 6 && race_id <= 15 && (bskin = 0 || bskin = 1) { sound_play(asset_get_index("sndMutant" + string(race_id) + "Cnfm")) }
Updated by blaac 2017-05-14 View revision File horns.mod.gml Modified Side-by-side diff More Ignore whitespace Hide word diff #define step -with (Player) if (button_pressed(index, "horn")) && race_id != 6 - {sound_play(snd_wrld)} +with (Player) if (button_pressed(index, "horn")) + { + if race_id != 6 && race_id <= 15 + { + sound_play(asset_get_index("sndMutant" + string(race_id) + "Cnfm")) + } + else if race_id != 6 + { + sound_play(snd_wrld) + } + }
Created by blaac 2017-05-14 View revision File horns.mod.gml Added Side-by-side diff More Ignore whitespace Hide word diff +#define step +with (Player) if (button_pressed(index, "horn")) && race_id != 6 + {sound_play(snd_wrld)}