The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script I'm Not Sure If I'm Doing Fadescreen and Playsong right

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 June 30th, 2019 (6:50 AM). Edited June 30th, 2019 by Maid-of-Heart.
Maid-of-Heart Maid-of-Heart is offline
 
Join Date: Feb 2015
Gender: Female
Nature: Timid
Posts: 9
Basically, my issue is this script won't work:

#dynamic 0x9CD34F

#org @start
lock
applymovement 0xFF @move1
msgbox @mat55 0x6
msgbox @mat56 0x6
msgbox @mat57 0x6
applymovement 0xFF @move2
waitmovement 0x0
fadescreen 0x1
playsong 0x1C7 0x0
pause 0x3520
warp 0x0 0x76 0x0 0x0 0x0
msgbox @mat58 0x6
fadesong 0x1C7
fadescreen 0x0
msgbox @mat59 0x6
release
end

#org @move1
#raw 0x09
#raw 0xFE

#org @move2
#raw 0x09
#raw 0x09
#raw 0xFE

The words and stuff of people are omitted because they don't really matter, I hope. What I want to happen is basically a faux-game over. The hero is basically being executed, and supposedly dies, but is rescued by a pokemon, and the game continues. If it's important, where it continues is Underwater. The issue is that after the song ends, nothing happens. The screen stays black, the messages don't display, I don't know if the warping works, because the screen stays black. I don't know if I need the pause in there; that's just the length of the end-credits song, assuming the conversion from pause units to seconds is actually 20:1.

I'm hacking Emerald.

Any help would be greatly appreciated!
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old June 30th, 2019 (11:36 PM).
Blackforest's Avatar
Blackforest Blackforest is offline
 
Join Date: Nov 2018
Location: Medan, Indonesia
Gender: Male
Posts: 90
I think it has something to do with warp?

You need to write seperate scripts for the original map and to the map where the player are warped into.
You can't write down a script in one map then warp yourself to another warp and except the script will continue.

Not hacking Emerald
In Firered, you need to use Type B Script in Advanced Map to make a script continue one another.
Tutorial for it here
I also encountered the same problem just a couple of weeks ago
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 9:19 AM.