Users browsing this thread: 1 Guest(s)
ASM Requests

#9
Posts: 2,550
Threads: 98
Thanks Received: 149
Thanks Given: 160
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
Next on my list of needed assembly work is a command that will grant any playable character any spell. Apparently there is already code for this, but no event command assigned to it. Hopefully that would make it a lot easier:

C0/AE0D: A5EB LDA $EB (load parameter, character)
C0/AE0F: 8D0242 STA $4202 (save as a multiplier)
C0/AE12: A936 LDA #$36 (54...)
C0/AE14: 8D0342 STA $4203 (save as the other multiplier)
C0/AE17: A5EC LDA $EC (load another parameter, the spell number)
C0/AE19: C221 REP #$21
C0/AE1B: EA NOP
C0/AE1C: 6D1642 ADC $4216 (add the result of the multiplication)
C0/AE1F: AA TAX (new index)
C0/AE20: 7B TDC
C0/AE21: E220 SEP #$20 (8 bit accum./memory)
C0/AE23: A9FF LDA #$FF (empty slot in most cases, but for this...)
C0/AE25: 9D6E1A STA $1A6E,X (set spell as learned)
C0/AE28: A903 LDA #$03 (Advance the script pointer by 3)
C0/AE2A: 4C5C9B JMP $9B5C

I am already using unused commands 9E, 83, and A3, so it can't be one of those. Many thanks to anyone who will do this and will credit of course. I swear I will try and learn assembly one of these days when I can devote time solely to it, so I can do this stuff myself and feel proud! I am still getting familiar with the most basic commands...

Example of the command: 9F 02 01
9F (unused command) 02 (Cyan) 02 (grants spell 00 Fire)

P.S. In case it is to tedious to make a command that will give any character a spell, I really just need something for character 02, like how Sabin is granted the Bumrush, but it would be nice to have it for every PC for other hacks or w/e.


We are born, live, die and then do the same thing over again.
Quote  



Messages In This Thread
ASM Requests - by Gi Nattak - 08-10-2013, 08:15 PM
RE: ASM Request - by Synchysi - 08-11-2013, 12:41 PM
RE: ASM Request - by Gi Nattak - 08-11-2013, 03:27 PM
RE: ASM Request - by Synchysi - 08-20-2013, 07:38 PM
RE: ASM Request - by B-Run - 08-20-2013, 08:54 PM
RE: ASM Request - by Synchysi - 08-21-2013, 07:14 PM
RE: ASM Request - by Synchysi - 08-22-2013, 07:33 PM
RE: ASM Request - by Gi Nattak - 12-05-2013, 04:08 PM
RE: ASM Requests - by Gi Nattak - 03-28-2014, 07:46 PM
RE: ASM Requests - by GrayShadows - 03-28-2014, 09:07 PM
RE: ASM Requests - by Gi Nattak - 03-28-2014, 09:28 PM
RE: ASM Requests & Questions - by Gi Nattak - 04-01-2014, 07:50 PM
RE: ASM Requests - by madsiur - 04-02-2014, 11:01 AM
RE: ASM Requests - by assassin - 07-04-2016, 09:32 PM
RE: ASM Requests - by Gi Nattak - 04-02-2014, 02:55 PM
RE: ASM Requests - by Gi Nattak - 08-21-2014, 09:43 PM
RE: ASM Requests - by GrayShadows - 08-21-2014, 10:35 PM
RE: ASM Requests - by Gi Nattak - 08-21-2014, 11:29 PM
RE: ASM Requests - by GrayShadows - 08-22-2014, 12:26 AM
RE: ASM Requests - by Gi Nattak - 08-22-2014, 03:31 AM
RE: ASM Requests - by Tenkarider - 08-22-2014, 06:38 AM
RE: ASM Requests - by Synchysi - 08-22-2014, 06:59 AM
RE: ASM Requests - by Tenkarider - 08-22-2014, 08:00 AM
RE: ASM Requests - by Gi Nattak - 09-26-2014, 06:08 PM
RE: ASM Requests - by GrayShadows - 09-26-2014, 06:30 PM
RE: ASM Requests - by Tenkarider - 09-26-2014, 06:30 PM
RE: ASM Requests - by Gi Nattak - 09-26-2014, 06:51 PM
RE: ASM Requests - by GrayShadows - 09-26-2014, 08:26 PM
RE: ASM Requests - by dn - 09-26-2014, 08:40 PM
RE: ASM Requests - by Gi Nattak - 09-26-2014, 08:59 PM
RE: ASM Requests - by GrayShadows - 09-26-2014, 09:13 PM
RE: ASM Requests - by dn - 09-26-2014, 09:30 PM
RE: ASM Requests - by Gi Nattak - 11-13-2014, 06:16 PM
RE: ASM Requests - by Lockirby2 - 11-13-2014, 07:02 PM
RE: ASM Requests - by wolfokami321 - 11-13-2014, 11:55 PM
RE: ASM Requests - by abyssonym - 11-14-2014, 08:53 PM
RE: ASM Requests - by wolfokami321 - 11-14-2014, 11:21 PM
RE: ASM Requests - by Synchysi - 11-18-2014, 04:14 AM
RE: ASM Requests - by Gi Nattak - 11-18-2014, 02:50 PM
RE: ASM Requests - by dn - 11-18-2014, 05:41 PM
RE: ASM Requests - by Synchysi - 11-18-2014, 09:55 PM
RE: ASM Requests - by wolfokami321 - 11-20-2014, 05:54 PM
RE: ASM Requests - by Gi Nattak - 12-03-2014, 01:51 AM
RE: ASM Requests - by Tenkarider - 12-03-2014, 04:43 AM
RE: ASM Requests - by Gi Nattak - 12-03-2014, 05:19 AM
RE: ASM Requests - by Tenkarider - 12-03-2014, 11:18 AM
RE: ASM Requests - by Gi Nattak - 12-03-2014, 01:09 PM
RE: ASM Requests - by Tenkarider - 12-03-2014, 04:12 PM
RE: ASM Requests - by Gi Nattak - 12-06-2014, 04:51 PM
RE: ASM Requests - by Gi Nattak - 06-29-2015, 05:38 PM
RE: ASM Requests - by Tenkarider - 06-29-2015, 11:50 PM
RE: ASM Requests - by dn - 12-06-2016, 12:31 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite