The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script Black lines on script

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old January 3rd, 2017 (10:50 AM).
Wüfzhéévk's Avatar
Wüfzhéévk Wüfzhéévk is offline
Ǵ̸͙̘͐̓ͅl̷̚͠͝ �̝i̷͕͊t̵̠̼̹̆c � �̣̭̓h̷̻̰̭̏͊e̵ ̄ ͉̹̩ṡ̵͍̮̼̀́
 
Join Date: Jul 2015
Location: Perú
Gender: Male
Posts: 57
Hello, I was wondering if it was possible to make (with a script) to show two black lines, one up and the other down of the screen (The bottom one bigger) in order to make it look like a cinematographic effect. I think that it is with a writebytetooffset command but still don't know....
__________________
Meh...
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old January 3rd, 2017 (12:49 PM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
well idk if this will work, but from this really awesome documentation on things
Code:
4000044h - WIN0V - Window 0 Vertical Dimensions (W)
4000046h - WIN1V - Window 1 Vertical Dimensions (W)
  Bit   Expl.
  0-7   Y2, Bottom-most coordinate of window, plus 1
  8-15  Y1, Top-most coordinate of window
Garbage values of Y2>160 or Y1>Y2 are interpreted as Y2=160.
all we care about is window 0 atm
so just insert this in a script

writebytetooffset 0xYY 0x4000044
writebytetooffset 0xXX 0x4000045
where YY = how many pixels to cut off the bottom-1, and XX = 0xA0 - how many pixels to cut off top

note that the screen is 160px (0xA0) in vertical dimension
so just fill in where you want your block to be~

EDIT: oh and to revert
writebytetooffset 0x00 0x4000044
writebytetooffset 0xA0 0x4000045
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old January 3rd, 2017 (12:57 PM).
tkim's Avatar
tkim tkim is offline
 
Join Date: May 2011
Posts: 232
are the black lines for a cutscene such as the sea-gallop animation?
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 9:18 AM.