Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // NPC made by Kondie
- timereverywhere;
- canbecarried;
- if (created){
- if(save[0]!=1){
- save[1]=x;
- save[2]=y;
- save[0]=1;
- }
- this.bushdamage=1;
- this.bushdrop=random(1,100);
- }
- if (washit || exploded || wasthrown){
- this.bushdamage=-1;
- play crush.wav;
- sleep .05;
- if (this.bushdamage<=0){
- if (this.bushdrop>=10 && this.bushdrop<30 ){
- putnpc gralat_sign5.gif,farming_gralats5.txt,x,y;
- }
- if (this.bushdrop>=30 && this.bushdrop<100 ){
- putnpc gralat_sign1.gif,farming_gralats1.txt,x,y;
- }
- if (this.bushdrop>=0 && this.bushdrop<10 ){
- }
- hide;
- this.bushdamage=1;
- this.bushdrop=random(1,100);
- message ;
- sleep 10;
- x=save[1];
- y=save[2];
- setimg kondies_gralatbush.gif;
- show;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement