Users browsing this thread: 1 Guest(s)
Some final code requests (and screenshots)

Posts: 3,970
Threads: 279
Thanks Received: 236
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
(05-19-2019, 10:03 PM)Lightning Wrote: Is there a way to have a weapon randomly cast something else other than basic magic?  In FF3USME, it only lets you select magic (other than the specific wind slash effect in the drop down menu).  I would like to have something else casted randomly, like sand storm or Aero.  Can this be done merely by hacking a byte somewhere, or is there more to it?

It only allow 64 choice; player spells and a few Espers spells. The highest two bits are used for something else so you can't have 256 choices of spells or attacks.
If you want a different range of available spells, you could add a ADC #$XX in the code below. If you add $60, you would have access to spells $60 to $9F. Another thing you could do is add exceptions, like if the spell ID is X or Y, load Aero or Sandstorm instead.

Code:
C2/10F4: BF 12 50 D8  LDA $D85012,X  (random weapon spellcast)
// add here ADC #$XX
C2/10F8: 99 B4 11     STA $11B4,Y
  Find
Quote  
[-] The following 1 user says Thank You to madsiur for this post:
  • Lightning (05-20-2019)



Messages In This Thread
RE: Some final code requests (and screenshots) - by madsiur - 05-20-2019, 11:17 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite