Users browsing this thread: 2 Guest(s)
MMMMMMMagic update

#6
Posts: 149
Threads: 21
Thanks Received: 40
Thanks Given: 3
Joined: Dec 2013
Reputation: 9
Status
Auto-life
It will be a relatively complex project because you must hunt down any piece of code related with the learning rate of the magic system to change it from one-byte to one-bit. They are scattered in the rom and if you fail to detect all of them bugs surely will happen. I recommend to be pragmatic and to check all information available to discovery what can be implemented. Based on it, a plan can be designed.

The relevant main routines that i know are described below:

C0/A17F to learn magic or update other skills at level up

It is necessary to update Terra/Celes natural learning of spells. I suspect this routine only works at character creation to enable spells based on the level of the character created.

C2/4F08 to discover mp cost for spell

When i changed the C2/568D routine in the imbued magic hack, i discovered that the mp costs, in the battle menu, are wrong. In the end, this routine has a bad design and may not work correctly based in your changes in the C2/568D routine. If you have trouble with the mp costs for the magic spells in the battle menu, i tell you in advance that this routine deserve you attention.

C2/568D to setup magic spells in the magic menu in battle

It is a complex code because it aggregates the summon, magic and lore spells in the same routine. They are too much optimized that you will be forced to deal with all of them in the code. It is not possible to change only the magic spells. Many other factors are in the way, like the alteration of the summon/spells/lore MP costs. Anyway, in battle, if you want the magic spells in the magic menu to work in one-bit instead of one-byte, you must update this routine.

C2/5FEF cursed shield and learning spells by equipment

The cursed shield and the learning by equipment are mixed in code. Probably you must separate the aggregated routines.

C2/602A to update learn rate or enable spell after battle based on esper

To turn the one-byte storage of learned spells to one-bit. You need also to check where the new learn rate of spells will be stored.

C2/61FC to learn magic or update other skills at level up

It is similar in functionality to C0/A17F. However, it update the natural magic for Terra or Celes after every battle if the conditions are correct.

C2/6283 to discovery address of stored spell learn rate

This function probably must be converted from one-byte to one-bit. It probably setup $F4 as a pointer to check, in another functions, the learn rate of the character spells.

C3/0D2B discovery if character knows magic

To discover if the character knows magic and enable/disable the mp display. If the display of the mp points in the menus are disabled, you should check this routine.

C3/50A2 discover learned spells from character for no-battle menus

It must be reimplemented to read from one-byte to one-bit.
  Find
Quote  
[-] The following 1 user says Thank You to HatZen08 for this post:
  • madsiur (07-02-2016)



Messages In This Thread
MMMMMMMagic update - by B-Run - 06-30-2016, 09:34 AM
RE: MMMMMMMagic update - by m06 - 06-30-2016, 11:39 AM
RE: MMMMMMMagic update - by B-Run - 06-30-2016, 12:21 PM
RE: MMMMMMMagic update - by m06 - 06-30-2016, 01:43 PM
RE: MMMMMMMagic update - by B-Run - 06-30-2016, 02:06 PM
RE: MMMMMMMagic update - by HatZen08 - 07-01-2016, 05:51 PM
RE: MMMMMMMagic update - by Imzogelmo - 07-07-2016, 12:37 AM
RE: MMMMMMMagic update - by B-Run - 07-07-2016, 07:38 AM
RE: MMMMMMMagic update - by B-Run - 07-22-2016, 07:48 AM
RE: MMMMMMMagic update - by B-Run - 08-18-2016, 12:18 PM
RE: MMMMMMMagic update - by seibaby - 08-18-2016, 02:21 PM
RE: MMMMMMMagic update - by Lockirby2 - 08-19-2016, 08:24 PM
RE: MMMMMMMagic update - by B-Run - 08-31-2016, 09:17 AM
RE: MMMMMMMagic update - by madsiur - 08-31-2016, 11:54 AM
RE: MMMMMMMagic update - by seibaby - 08-31-2016, 12:17 PM
RE: MMMMMMMagic update - by B-Run - 08-31-2016, 01:50 PM
RE: MMMMMMMagic update - by B-Run - 09-01-2016, 08:13 AM
RE: MMMMMMMagic update - by B-Run - 09-04-2016, 02:46 PM
RE: MMMMMMMagic update - by B-Run - 09-11-2016, 11:16 AM
RE: MMMMMMMagic update - by B-Run - 09-23-2016, 08:43 AM
RE: MMMMMMMagic update - by Scorcher - 09-23-2016, 09:57 AM
RE: MMMMMMMagic update - by Turbotastic - 09-23-2016, 10:40 AM
RE: MMMMMMMagic update - by B-Run - 09-23-2016, 11:20 AM
RE: MMMMMMMagic update - by Turbotastic - 09-23-2016, 04:44 PM

Forum Jump:

Users browsing this thread: 2 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite