Modding => Help! => Topic started by: Emmy on October 15, 2016, 03:12:42 pm
Title: Modifying CT, exp, etc (ASM help)
Post by: Emmy on October 15, 2016, 03:12:42 pm
1. I can't figure out what is wrong with this ability. :'( It is meant to replace jump +3, with an ability that reduces CT of a move to 1 if it uses a specific formula (formula 0B). (code to disable jump +3 not included here) Code:
Relevant routine in wiki: http://ffhacktics.com/wiki/Attack_Preparation
2. I'd like to modify the code used in Egcc to give out xp at the end of battles. It needs to be modified though because I still want the player to get gil; and if it's possible, to reduce xp given out per battle such that players gain 1 lv every 2 battles. However my attempts to recode this haven't worked. :'(
Original (Egcc) code:
<Patch name="Rewards Hack">
<Description>This makes it so LVL/JP gain occurs at the end of any mission, and makes bonus gil from enemy levels 0. This hack also makes it so only enemies with KO statii will yield after battle trophies/gil. To be used with hacks that disallow random battles, JP/EXP Gain, Spillover JP.</Description>
3. Does anyone know/have any documentation on the actual code that pieces together event instructions? Specifically the code behind this one: http://ffhacktics.com/wiki/Event_Instruction_92 I'd like to know where in the code it links together 0x02 = Poison/Critical, for the purpose of potentially changing that to something else. **Edit** Found this routine with the debugger: http://ffhacktics.com/wiki/001488a8_-_00148cd4 I have no idea what 0x80173c78 is though, it's not in data locations. :(