Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #TouhouDanmakufu
- #Title[Keanu...]
- #Text[neospell]
- #Player[REIMU, MARISA]
- #ScriptVersion[2]
- script_enemy_main {
- let CSD = GetCurrentScriptDirectory;
- let imgBoss = CSD ~ "IMG\Keanu.png";
- let frame=0;
- let frame2=0;
- let frame3=0;
- let GATP=NULL;
- let angle=0;
- let angle2=0;
- let N=1;
- @Initialize {
- LoadUserShotData("script\Yamamotos\SYSTEM\supershot.txt");
- CreateEventFromScript("test");
- LoadGraphic(imgBoss);
- SetLife(3000);
- SetTimer(80);
- SetInvincibility(30);
- SetMovePosition01(GetCenterX, GetCenterY, 90);
- }
- @MainLoop {
- SetCollisionA(GetX, GetY, 32);
- SetCollisionB(GetX, GetY, 16);
- yield;
- }
- @DrawLoop {
- }
- @Finalize {
- }
- }
- script_event test {
- let CSD = GetCurrentScriptDirectory;
- let imgKeanu = CSD ~ "IMG\keanucutin.png";
- let imgReimu = CSD ~ "IMG\reimu.png";
- @Initialize {
- LoadGraphic(imgKeanu);
- LoadGraphic(imgReimu);
- }
- @MainLoop{
- SetChar(LEFT, imgReimu); //Set the player's character on the left side, with the graphic you've told it to display.
- SetGraphicRect(LEFT, 0, 0, 452, 240); //The region you're displaying of the graphic for the player character, just like SetGraphicRect.
- MoveChar(LEFT, BACK); //Move the player's character into the background, to show she is not speaking.
- SetChar(RIGHT, imgKeanu); //Set the boss' picture on the right side of the screen.
- SetGraphicRect(RIGHT, 0, 0, 357, 599); //Set the boundry of the picture you want displayed.
- MoveChar(RIGHT, FRONT); //Move the boss' image to the front to show that she is speaking.
- 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.
- MoveChar(RIGHT, BACK); //Move the boss to the background, then...
- MoveChar(LEFT, FRONT); //Move the player forward, to show that she will now speak.
- TextOutA("Nope, who are you? You look like one of that guys from the TV."); //What the player will be speaking.
- MoveChar(LEFT, BACK);
- MoveChar(RIGHT, FRONT); //Move the boss' image to the front to show that she is speaking.
- 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.
- MoveChar(RIGHT, BACK); //Move the boss to the background, then...
- MoveChar(LEFT, FRONT); //Move the player forward, to show that she will now speak.
- TextOutA("Whoa!"); //What the player will be speaking.
- MoveChar(LEFT, BACK);
- MoveChar(RIGHT, FRONT); //Move the boss' image to the front to show that she is speaking.
- 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.
- MoveChar(RIGHT, BACK); //Move the boss to the background, then...
- MoveChar(LEFT, FRONT); //Move the player forward, to show that she will now speak.
- TextOutA("Kay. If I win, tell me if you're truly immmortal."); //What the player will be speaking.
- End; //This ends the event.
- }
- @Finalize{
- DeleteGraphic(imgKeanu);
- DeleteGraphic(imgReimu);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement