Luc, Yuber & Sarah Can Appear In Tavern
This will utilize their recruit status. If you're trying to add them early on, you may need to turn on those codes as well.
- Lines 1-3 are checking if the Tavern module is loaded, and then breaking the code that bypasses the villains.
- Lines 4 and 5 copy the existing list from where it always sits in memory to a clear spot in kernel RAM. If you have other codes that utilize the 0xC0000 range of RAM, let me know and I'll move the list to some place else. I eventually started using that range a lot. However, this was the first game I hacked, and I may have still been using 0xF0000 more often than not.
- Lines 6-8 add Luc, Yuber, and Sarah's character IDs to the list of valid values along with the expected null terminator. Fortunately, it turns out the list doesn't have to be ordered. They will appear on the last pages in the tavern.
- Line 9 forces the tavern to use the copied and extended list.