The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Warp script leads to black screen

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 August 4th, 2015 (2:50 PM).
timson733333 timson733333 is offline
Woah.
 
Join Date: Mar 2007
Location: Stealth!
Gender: Other
Nature: Quiet
Posts: 135
PHP Code:
#freespace 0xFF
#dynamic 0x2C8FAB

#org @start
lock
msgbox 
@travel 0x5
compare 0x800D 0x1
if 0x1 goto @warp
msgbox 
@notravel 0x6
release
end

#org @warp
warp 0x24 0x0 0xFF 0x07 0x07
waitstate
release
end

#org @travel
Welcome to the Fast Travel\nNetwork!\pWould you like to go to the\nCentral Terminal?

#org @notravel
Thanks for flying LizardNet.\nHave a nice day
This script warps me to a black screen, but the correct music/header plays. I'm trying to warp to map 0 in map bank 36, which is a defined map. What's going on?
__________________
aspiring rom hacker ig lol

YouTube
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old August 5th, 2015 (7:41 AM).
Navenatox's Avatar
Navenatox Navenatox is offline
 
Join Date: Jan 2015
Location: Austria
Age: 28
Gender: Male
Posts: 76
Your script looks fine to me. A few things to try out:
  • Reinsert your map over the same bank and map number. It seems like AdvanceMap sometimes writes the map data to an unaligned offset which can cause a black screen.
  • If there are any level scripts on your map, delete them and see if that works.
  • Also check if there is any overworld on your map that has an overly high picture number and adjust it in case.
That's all I can think of right now.
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old August 6th, 2015 (6:06 PM).
timson733333 timson733333 is offline
Woah.
 
Join Date: Mar 2007
Location: Stealth!
Gender: Other
Nature: Quiet
Posts: 135
I figured out the problem; it was the map footer. Thanks!
__________________
aspiring rom hacker ig lol

YouTube
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

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 2:26 AM.