Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool DarkScroll(bool IsDark){
- if(Link->Action==LA_SCROLLING){
- if(ScreenFlag(SF_VIEW, 6)||IsDark)
- Screen->Rectangle(6, 0, 0, 256, 176, 0x00, 1, 0, 0, 0, true, OP_OPAQUE);
- }
- else{
- if(ScreenFlag(SF_VIEW, 6))
- IsDark = true;
- else
- IsDark = false;
- }
- return IsDark;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement