Advertisement
Guest User

Untitled

a guest
Feb 27th, 2015
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. bool DarkScroll(bool IsDark){
  2. if(Link->Action==LA_SCROLLING){
  3. if(ScreenFlag(SF_VIEW, 6)||IsDark)
  4. Screen->Rectangle(6, 0, 0, 256, 176, 0x00, 1, 0, 0, 0, true, OP_OPAQUE);
  5. }
  6. else{
  7. if(ScreenFlag(SF_VIEW, 6))
  8. IsDark = true;
  9. else
  10. IsDark = false;
  11. }
  12. return IsDark;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement