Users browsing this thread: 1 Guest(s)
Umaro's Dash, Relics & Unequipping All

#5
 
Status
None
Thanks lot guys. I'm trying the first option (putting the rest of the routine into unused space and calling it from the current routine).

I've decided to use the free space at 26F640 (up to 80 bytes).

In theory, this is what I think you're saying:
Code:
____(Last bit of "Unequip All" sub)____

CC/3592: B2    Branch to (26F640)
CC/3595: EA
         EA    Skip last 4 bytes in routine
         EA
         EA


____(Subroutine @ 26F640)____

(Gogo, since I had to take him out to make room for the sub call)
C?/????: C0    If ($1E80($1AC) [$1EB5, bit 4] is clear), branch to $CC352E
C?/????: 8D    Remove all equipment from character $0C (Actor in slot 12)
C?/????: E1    Load CaseWord with characters who are collected (excludes Veldt-jumped Gau)

(Umaro)
C?/????: C0    If ($1E80($1AD) [$1EB4, bit 5] is clear), branch to $CA5EB3 (simply returns)
C?/????: 8D    Remove all equipment from character $0D (Actor in slot 13)
CC/????: FE    Return

In order to make that happen, it looks like, line by line, the bytes would be:
Code:
@0C3792:
B2 ?? ?? ??          <--Goto new sub
EA EA EA EA          <--Skip rest of this sub


@26F640:
C0 AC 01 ?? ?? ??    <--If ($1E80($1AC) [$1EB5, bit 4] is clear), branch to $?????? (next E1 call)
8D 0C                <--Remove all equipment from character $0C (Actor in slot 12)
E1                   <--Load CaseWord with characters who are collected (excludes Veldt-jumped Gau)
C0 AD 01 B3 5E 00    <--If ($1E80($1AD) [$1EB5, bit 5] is clear), branch to $CA5EB3 (simply returns)
8D 0D                <--Remove all equipment from character $0D (Actor in slot 13)
FE                   <--Return

Am I near the mark or way off here?
 
 



Messages In This Thread
Umaro's Dash, Relics & Unequipping All - by aatc85 - 11-25-2013, 10:12 AM
RE: Umaro's Dash, Relics & Unequipping All - by aatc85 - 11-25-2013, 02:14 PM
RE: Umaro's Dash, Relics & Unequipping All - by aatc85 - 11-25-2013, 06:18 PM
RE: Umaro's Dash, Relics & Unequipping All - by aatc85 - 11-25-2013, 07:05 PM
RE: Umaro's Dash, Relics & Unequipping All - by aatc85 - 11-25-2013, 08:34 PM
RE: Umaro's Dash, Relics & Unequipping All - by aatc85 - 11-25-2013, 10:00 PM
RE: Umaro's Dash, Relics & Unequipping All - by aatc85 - 11-25-2013, 11:31 PM
RE: Umaro's Dash, Relics & Unequipping All - by aatc85 - 11-26-2013, 12:26 AM
RE: Umaro's Dash, Relics & Unequipping All - by aatc85 - 11-26-2013, 07:48 PM
RE: Umaro's Dash, Relics & Unequipping All - by aatc85 - 11-27-2013, 12:16 AM
RE: Umaro's Dash, Relics & Unequipping All - by aatc85 - 11-27-2013, 01:56 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite