Advertisement
ZoriaRPG

Custom Screen Guy NPC Script for 2.55

Mar 8th, 2019
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.38 KB | None | 0 0
  1. npc script screenguy
  2. {
  3.     void run(int delay)
  4.     {
  5.         delay = this->InitD[0];
  6.         if ( !Screen-RoomType )
  7.         {
  8.             if ( Screen->CatchAll )
  9.             {
  10.                 delay = Screen->CatchAll;
  11.             }
  12.         }
  13.         this->CollDetection = false;
  14.         //this->DrawYOffset = -32768;
  15.         //Waitframes(Screen->CatchAll); //might be in use depending on room type
  16.         Waitframes(delay);
  17.         Screen->Message(Screen->String);
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement