The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other Rom Hack crashing when going through connection. (https://www.pokecommunity.com/showthread.php?t=358339)

Silver371 November 10th, 2015 7:33 PM

Rom Hack crashing when going through connection.
 
Hey, so I have been working on a rom hack and I finished some maps for it. I want to test out the maps, so I added all the warps and connection. However when I do get on the rom hack through VBA, I can move around freely and use warps. However if I try to go to Route 1, my game will glitch and freeze up. It freezes right on the tile that connects Route 1 to the first town. It isn't a warp connecting them, but a connection through A-Map. I tried starting in another town and changing connections, but the problem still persists. Any idea why?

NewDenverCity November 10th, 2015 7:37 PM

How do you change the connections? I know that there are two sets of connections between two maps, one for each map. That could be a part of it. Another thing could be a level script in the way, and I've heard of changing tilesets causing bugs.

Silver371 November 10th, 2015 7:46 PM

Quote:

Originally Posted by NewDenverCity (Post 8992553)
How do you change the connections? I know that there are two sets of connections between two maps, one for each map. That could be a part of it. Another thing could be a level script in the way, and I've heard of changing tilesets causing bugs.

I narrowed it down to a problem with Route 1, any warp their also freezes up. I don't know what could be causing it as all i removed all person events, and scripts using A-Map. Could their be a hidden script that A-Map can't remove that requires a different way to remove. I haven't caught a pokemon yet, could that be a problem?

NewDenverCity November 10th, 2015 7:59 PM

Having a Pokémon or not should have nothing to do with a map freezing, that only matters if you're battling(in which case you'd get ???????? and you'd faint immediately).
Level scripts have to do with the header, I'd suggest making a backup, going to that tab in A-Map in the backup, and delete the level scripts. I'd also suggest reading a tutorial on level scripts, there's one here. If you have any questions on them, just post here. Then you can decide which one was breaking it, and only delete/fix that one.


It could also be due to map corruption or your map footer not existing(that's happened before), but you should be getting massive errors when trying to save if you have those errors on your map(those aren't directly related to connections).

Silver371 November 10th, 2015 8:10 PM

Quote:

Originally Posted by NewDenverCity (Post 8992563)
Having a Pokémon or not should have nothing to do with a map freezing, that only matters if you're battling(in which case you'd get ???????? and you'd faint immediately).
Level scripts have to do with the header, I'd suggest making a backup, going to that tab in A-Map in the backup, and delete the level scripts. I'd also suggest reading a tutorial on level scripts, there's one here. If you have any questions on them, just post here. Then you can decide which one was breaking it, and only delete/fix that one.


It could also be due to map corruption or your map footer not existing(that's happened before), but you should be getting massive errors when trying to save if you have those errors on your map(those aren't directly related to connections).

I went to where you get the level scripts, and my map has no level scripts whatsoever. What I don't get is that since I can see the route fine and connected up when I'm in the town so it is being recognized as a map. Also it is in the correct spot so I did my connection right, the only problem is that once I get on the last tile of the town the one right before Route 1, the game will freeze. Their are no level scripts, and I did not change any of the header or footers. I have only applied EC's tilepatch and Mrdollsteak. I don't know what would be causing the problem.

NewDenverCity November 11th, 2015 4:50 AM

Quote:

Originally Posted by Silver371 (Post 8992582)
I went to where you get the level scripts, and my map has no level scripts whatsoever. What I don't get is that since I can see the route fine and connected up when I'm in the town so it is being recognized as a map. Also it is in the correct spot so I did my connection right, the only problem is that once I get on the last tile of the town the one right before Route 1, the game will freeze. Their are no level scripts, and I did not change any of the header or footers. I have only applied EC's tilepatch and Mrdollsteak. I don't know what would be causing the problem.

Like I said, there are two sets of connections. Check both the starting town's AND Route 1's.
There could also be a problem with the map footer. Did you save the map in either of them? If you're getting errors from A-Map when you save, that'll be your clue.

Silver371 November 11th, 2015 6:47 AM

Quote:

Originally Posted by NewDenverCity (Post 8992864)
Like I said, there are two sets of connections. Check both the starting town's AND Route 1's.
There could also be a problem with the map footer. Did you save the map in either of them? If you're getting errors from A-Map when you save, that'll be your clue.

No, it isn't the level scripts causing the problem. However, one thing I did remember is that I inserted the map and replaced Route 1's map. Another person sent me the file so I opened it up and clicked replace map and put in the bank and map number of Route 1. Could that be causing this problem?

NewDenverCity November 11th, 2015 6:57 AM

Quote:

Originally Posted by Silver371 (Post 8992930)
No, it isn't the level scripts causing the problem. However, one thing I did remember is that I inserted the map and replaced Route 1's map. Another person sent me the file so I opened it up and clicked replace map and put in the bank and map number of Route 1. Could that be causing this problem?

Honestly, yes. Inserting is pretty buggy for A-Map. You can either copy the hex data from the .map file and then paste it into your ROM and fix all the pointers manually, or you can reinsert the data with A-Map. However, we can't be sure unless you tell us the errors you're getting in A-Map, if any.

Silver371 November 12th, 2015 3:56 PM

Quote:

Originally Posted by NewDenverCity (Post 8992943)
Honestly, yes. Inserting is pretty buggy for A-Map. You can either copy the hex data from the .map file and then paste it into your ROM and fix all the pointers manually, or you can reinsert the data with A-Map. However, we can't be sure unless you tell us the errors you're getting in A-Map, if any.

I fixed that problem, and everything was going good for a day, but I ran into another problem. None of my stuff in A-Map was saving properly. The changes I made to the warp didn't change in the rom, however when I did open them up in Advanced Map the changes were their. For some reason they did not change when I opened the rom, but only in A-Map. I also noticed one of my background for a town was wrong, so I had to extend the background so it wasn't visible. This was the end product. https://gyazo.com/afc36561e9b54cd7d0607dc1a7e10164.


All times are GMT -8. The time now is 2:30 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.