Advertisement
Guest User

Neotalk

a guest
Jul 16th, 2013
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 2.91 KB | None | 0 0
  1. script_event name{
  2.  
  3.     let CSD = GetCurrentScriptDirectory;
  4.     let imgKeanu = CSD ~ "IMG\keanucutin.png";
  5.     let imgReimu = CSD ~ "IMG\reimu.png";
  6.  
  7. @Initialize{
  8.         LoadGraphic(imgKeanu);
  9.         LoadGraphic(imgReimu);
  10.  
  11.  }
  12.  
  13. @MainLoop{
  14.  SetChar(LEFT, imgReimu);                 //Set the player's character on the left side, with the graphic you've told it to display.
  15.  SetGraphicRect(LEFT, 0, 0, 452, 240);           //The region you're displaying of the graphic for the player character, just like SetGraphicRect.
  16.  MoveChar(LEFT, BACK)                             //Move the player's character into the background, to show she is not speaking.
  17.  SetChar(RIGHT, imgKeanu);                //Set the boss' picture on the right side of the screen.
  18.  SetGraphicRect(RIGHT, 0, 0, 357, 599);           //Set the boundry of the picture you want displayed.
  19.  MoveChar(RIGHT, FRONT);                          //Move the boss' image to the front to show that she is speaking.
  20.  TextOutA("Guess who I am?");           //Self explanatory. Danmakufu will not pass this function until a certain amount of time has passed, or the player clicks the shot button.
  21.  MoveChar(RIGHT, BACK):                           //Move the boss to the background, then...
  22.  MoveChar(LEFT, FRONT);                           //Move the player forward, to show that she will now speak.
  23.  TextOutA("Nope, who are you? You look like one of that guys from the TV.");                     //What the player will be speaking.
  24.  MoveChar(LEFT, BACK)  
  25.  MoveChar(RIGHT, FRONT);                          //Move the boss' image to the front to show that she is speaking.
  26.  TextOutA("Eye'm Keanu. ...Yes, the one from Matrix. Neo from Matrix. Do yo know Matrix?");           //Self explanatory. Danmakufu will not pass this function until a certain amount of time has passed, or the player clicks the shot button.
  27.  MoveChar(RIGHT, BACK):                           //Move the boss to the background, then...
  28.  MoveChar(LEFT, FRONT);                           //Move the player forward, to show that she will now speak.
  29.  TextOutA("Whoa!");                     //What the player will be speaking.
  30.  MoveChar(LEFT, BACK)  
  31.  MoveChar(RIGHT, FRONT);                          //Move the boss' image to the front to show that she is speaking.
  32.  TextOutA("And I'm immortal. And strong. Would you fight meh?");           //Self explanatory. Danmakufu will not pass this function until a certain amount of time has passed, or the player clicks the shot button.
  33.  MoveChar(RIGHT, BACK):                           //Move the boss to the background, then...
  34.  MoveChar(LEFT, FRONT);                           //Move the player forward, to show that she will now speak.
  35.  TextOutA("Kay. If I win, tell me if you're truly immmortal.");                     //What the player will be speaking.
  36.  End;           //This ends the event.
  37.  }
  38.  
  39. @Finalize{
  40.   DeleteGraphic(imgKeanu);
  41.   DeleteGraphic(imgReimu);
  42.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement