NPC Code:
if(playerbombs>0&&keydown(4)){
commands go here;
}
if(playerbombs==0){
timeout=15;
if(timeout){
playerbombs=99; //or whatever number
}
if(keydown(4)&&playerbombs==0){
play nextpage.wav;
}
or something to that effect. You can replace the "play nexpage.wav" to anything you want to take up time while it recharges.