Okay, I scratched my head for a long while but just couldn't find any kind of experience table in Dragon Warrior 3 and 4. In both cases, the number to add to check for the next level came from zero page, and finding where something came from in there is a nightmare, plus there seems to be a few mathematical operations going on.
So a took a note from what KingMike said and went the opposite route: double your XP and Gold after a battle. It was much easier: I just found a point where the added XP and Gold was sent to zero page, and made two new routines that do an ASL, one for XP and another for Gold. So now you earn double XP from each fight, and double gold, though of course any gold you find in a chest is going to be worth the same. Still, I don't have to go finding money values throughout the ROM (I'm 75% through DW1 and realised I missed a few prices). Maybe I'll go back to my other hacks and switch to double XP and double Gold instead?
December 03, 2017, 04:55:47 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
So you guys, I've been busy.
I know it's a doublepost so people will probably miss this update, but here it is.
I decided to go back to all the games and go the opposite route from now on: giving double XP and (optionally) double Gold during battles, instead of halving level and item costs. I've only done it on the NES so far since I'm very familiar with hacking on that system, and this approach does require a lot more ASM familiarity.
So I've compiled a new pack with ALL FOUR Dragon Warrior games, plus Final Fantasy 1 and 3, all of which come in both DoubleXP and DoubleXP+DoubleGold varieties. I couldn't figure out how else to do the latter two DW games, so I'm glad I got it done this way. Besides, I think overall it makes more sense: now you can follow guides while knowing the level tables and item costs are correct, and the hacks are supposed to reduce grinding, so it makes sense to give a boost to your battles rather than just doing price deflation.
If you want brief details on how I did it, look here:
Also in the pack is what I call Final Fantasy II - Lazy Version.
FF2 has a messed up level system that was never used again, so you gain HP, MP and weapon/magic skill by using your weapons/magic, or getting hit (for HP). Alas, there's a bug in the programming meaning when you select an attack, it counts to your total, even if you cancel and do it again. Do it 100 times and you go up a level. Get hurt enough and you get more total HP. Use enough magic and you get more total MP.
All of this is possible to do without hacking, but selecting and cancelling 100 times PER CHARACTER, PER FIGHT, as well as hitting yourself to get more HP, is the kind of chore that my project was tasked with eliminating, so I've basically fixed it so that you always get a weapon/magic skill upgrade, even if you use it once; you always get an HP increase (I should've made it so you actually have to get hit first, but whatever); and you always get an MP increase when you use magic. All things you can do without hacking, so why not just play with the hard work cut out?
Yes, there's a hack in the database that gives you maximum stats from the beginning, but that's something else. I don't see this as 'cheating' necessarily: the bug is in the game, and since my project is to reduce grinding, this seems like a sensible idea, while still keeping the game playable.
More details here:
So that's all for now, onto Phantasy Star, which will be a challenge given that I'm not so familiar with the Z80... but hey, I like a challenge.
Enjoy the pack!http://s346165667.websitehome.co.uk/psyktrans/doublexp.zip
EDIT: I've just done Phantasy Star, too!
Link updated. Gotta hand it to the Z80, those registers do make it quite flexible.