Newbie Still Doesn't Understand Code
#14
Can you provide info on what changes you made and a summary of the results?  That would help a bit when trying to diagnose what is happening.

In order to get a spell to display it needs to be marked as learned.  You shouldn't really need to change the display code, you would have to change the code that decides when a spell is learned.  In almost all cases spells are learned after battle, this code is in C2.  In this case spells include Magic, SwdTechs, Blitzes, and Lores as well.

If you are trying to allow spells to be available even if they aren't in the actor's spell list, we would need to first think of a way that you would trigger making that spell available otherwise. This would likely involve some coding that would interfere with the current system in place. Unfortunately I don't think it would be easy as It would be difficult to have spells marked both as not learned and learned at the same time.

A good point of study would be Hatzen08's Imbued Magic patch.  It replaces the current system with only allowing spells to be learned when an esper or item is equipped.  Once the item or esper is unequipped the spell is removed.  This also has the side effect of removing natural magic entirely.  I believe this was for space reasons but there are also some logistical issues to consider with it that make having both difficult at the same time.

EDIT: By logistical issues I mean overriding spell lists.
Reply


Messages In This Thread
RE: Newbie Still Doesn't Understand Code - by dn - 09-21-2016, 12:06 PM
RE: Newbie Still Doesn't Understand Code - by Xontract - 10-12-2016, 06:32 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Dark Knight FF6 SNES vs GBA code differences? Royaken 2 2,583 11-01-2019, 07:32 PM
Last Post: Royaken
  Newbie Question - Granting Playable Character Status Immunity Turbotastic 2 3,625 04-04-2017, 07:28 PM
Last Post: Turbotastic
  Newbie Finally Figures Something Out (NOT a help request) Turbotastic 8 10,097 09-29-2016, 08:32 AM
Last Post: Tenkarider
  asm hacking: "faking" short jumps from your code (in a new bank) to old code Eggers 2 3,904 04-16-2016, 07:18 PM
Last Post: madsiur
  A newbie's question Lateblooming 12 11,275 04-08-2016, 06:08 AM
Last Post: Lateblooming
  Trying to understand subroutines Kugawattan 24 22,720 12-08-2015, 10:48 PM
Last Post: Kugawattan
  Hexadecimal code doesn't match with Invoke Battle? Kugawattan 3 3,942 12-06-2015, 06:03 PM
Last Post: Kugawattan
  Magic Control Code sleepydude 16 14,312 09-19-2015, 02:41 PM
Last Post: Tenkarider
  Sprite Armor Code Royaken 2 3,575 05-30-2015, 11:26 AM
Last Post: Catone
  How do I add magic?(newbie help) Pingurules 5 5,798 03-19-2014, 06:33 PM
Last Post: madsiur

Forum Jump:


Users browsing this thread: 1 Guest(s)