Advertisement
nio_kasgami

dummy

Sep 13th, 2015
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Game_AI.prototype.interaction = function(interaction_type) {
  2.     switch (interaction_type) {
  3.         case 'normal' :
  4.         this.dialogue_system.add("text");
  5.         this.change_expression(1);
  6.         break;
  7.     }
  8. };
  9.  
  10. Game_AI.prototype.curtain_interactions = function(curtain_type) {
  11.     switch(curtain_type){
  12.         case "entering" :
  13.          this.entering_interaction();
  14.          break;
  15.         case "quitting" :
  16.         this.quitting_interaction();
  17.     }
  18. };
  19.  
  20. Game_AI.prototype.entering_interaction = function() {
  21.     this.call_effect("inhori_slide",2,100);
  22.     this.change_expression(1);
  23.     this.dialogue_system.add(this.greeting);
  24. };
  25.  
  26. Game_AI.prototype.quitting_interaction = function() {
  27.     this.change_expression(2);
  28.     this.dialogue_system.add(this.byebye);
  29.     this.call_effect("outhori_slie",2,100);
  30. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement