The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Script [Pokecrystal] Scene Issues

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 14th, 2018 (7:04 PM).
Eldaryon's Avatar
Eldaryon Eldaryon is offline
Now the secret final Boss of every game you know.
 
Join Date: Jul 2016
Location: Morocco
Gender: Male
Nature: Quirky
Posts: 22
Hey guys.
I have been able to make my own scripts with everything completely functional, until I got to Scene making.
When I wanted to add my own scene to a custom map, I completely got kicked off the map itself (moving to it simply resets the game).
What I have done is add 2 scenes referenced in my map script, and added them to the scene constant file, the scenes.asm file and added a line to WRAM (I really believe that's the issue btw).
I have reverted to a basic "talk to me" script but it's just too ugly :'(
Anyone can guide a poor soul on how to make scenes properly, it seems to somewhat lack documentation on the Pokecrystal Disassembly.
Thank you in advance.
__________________
Now that I, Eldaryon, have obtained to power to jump between dimensons, I'm going to use it for....
Ummm...
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old June 18th, 2018 (10:38 AM). Edited June 18th, 2018 by Crystal_.
Crystal_ Crystal_ is offline
 
Join Date: Feb 2013
Location: Spain
Gender: Male
Posts: 170
If you are adding a scene to a map with no wram address to store it, add it below wMobileBattleRoomSceneID and change ds 49 to ds 48. Then you have to define the scene constant in constants/scene_constants.asm, then use it in the corresponding map by creating its script and toggling it on/off with setscene. Keep in mind that you need to create the SCENE_*_NOTHING constant and implement it for when you toggle off your custom scene. If the trigger is bound to single tile of the map, you will also need to create a coord event in *_MapEvents for it.

Look at other existing map scripts for examples of how all of this is implemented. If you're still having trouble, consdier showing what you changed in a diff or something because it's impossible to tell what you did wrong without knowing what you really did to begin with.
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:20 AM.