heyo
HEYO!
- 113
- Posts
- 12
- Years
- Seen Nov 24, 2023
EDIT: So I went back to my last backup, and it took like 6 hours but I managed to import a bunch of scripts into the game from the broken version. Those work fine...
However, since adding them, I ran into another new problem. Every time a wild battle or trainer battle starts up, the game freezes or resets. I know the scripts I added all work fine, and were imported to places in the rom where there was space. Is there any way of fixing this?
Original Post:
However, since adding them, I ran into another new problem. Every time a wild battle or trainer battle starts up, the game freezes or resets. I know the scripts I added all work fine, and were imported to places in the rom where there was space. Is there any way of fixing this?
Original Post:
I haven't posted here in a LONG time........ hi
I started a new ROM hack about a month ago. First hack I've done in almost a decade. wild.
Anyways it's been going good, Ive been really really happy with how much more I can do now.
BUT, I ran into an issue. I compiled a script onto an npc in the game -- a really simple one; if flag is checked then the NPC will give you a TM. The problem was I accidentally put in the wrong line. In other words...
Instead of something likeI put in something likeCode:msgbox @text2 #org @text2
The script had no text linked to it...thus, when I compiled it into the game, it screwed up.Code:msgbox @text2 #org @text3
I didn't think anything of it, so I just fixed the code and compiled that one. But now when I start the game up from BIOS, it white screens. I can get past this by loading a .sav from my VBA...but I'd really prefer the game to work on startup y'know?
I guess the question is, can I fix this? Is there any hex I can delete or rewrite that would undo this, or is it too far gone?
Would I have to redo everything from a backup? (I got lazy with backups and that'd mean I'd lose about a week of work, so oof)
I have no idea what line the code was on that broke it, or if it screwed a line up somewhere else. But if anyone has seen something like this before and knows what the repercussions are or how to fix, it would be greatly appreciated. Thanks.
Last edited: