• Welcome to Final Fantasy Hacktics. Please login or sign up.
 
April 30, 2024, 03:43:01 pm

News:

Use of ePSXe before 2.0 is highly discouraged. Mednafen, RetroArch, and Duckstation are recommended for playing/testing, pSX is recommended for debugging.


Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Arimala

1
PSX FFT Hacking / Help with Raven's Workbooks and more
September 20, 2021, 02:15:36 am
I was testing some asm hacks with my patch and came across a small error in PSXfin when I tested the "Equip X and Gender Equips" hack that came from raven's workbooks download here: https://ffhacktics.com/smf/index.php?topic=7271. PSXfin did not crash and the game ran just fine but I saw this pop up:
cuebin: read sector out of range (234992, max=234992)
cuebin: read sector out of range (235024, max=234992)
cuebin: read sector out of range (235056, max=234992)
cuebin: read sector out of range (235088, max=234992)
cuebin: read sector out of range (235120, max=234992)

Is this something that will break the iso? If so is there a fix or more up to date hack that can accomplish the same thing? Or is this just down to PSXfin and is it time to move on to a new emulator?

I am also curious about the other worksheets and which ones work correctly, specifically these:
Pride's Weapon Proc Rate ASM
Secondadvent's Critical Hit Rate
Pride's Job Defense Boost ASM

Last question, I noticed in the conflict checker that Secondadvent's Critical Hit Rate hack and Glain's Apply Defense (v2) hack overlap in the BATTLE.BIN. From what I can tell, it looks like both of those are located in the 'free space' or whatever its called so I should be able to move one or the other correct? Those are the only 2 hacks that I have seen a conflict with in the checker and I was really hoping to use both.  -After relearning how the conflict checker works I realized it is possible to move since the conflict is not highlighted in red.

After successfully testing 27 custom formula hacks my patch is so close to finally doing a playthrough!  I have 20 more hacks or so to test and see if they are working correctly in game, so any insight into these would be greatly appreciated.
2
And now it works! (although it is still using the inefficient method)
I kept the original code of the store PA and WP + Y routine to make sure I got it to work with X inserted in. I might go back and change it when I am not half asleep, but right now I am just happy it works.

I can use this to balance the sword skills and reconfigure a bunch of custom abilities I had paired with formulas that did not really match up.
Finally Cleave will work the way I originally wanted it to.

This might keep me motivated to continue digging into the world of asm.

Thanks a bunch here! I really appreciate the guidance and patience Glain.
3
Hmm I did not notice this... using the formula 2D Dmg (PA*(WP+Y)) on the wiki, "addiu r29, r29, 0x0018" did not get transferred over using import code because on the wiki it says:
"27bd 0018 addiu r29,r29,0x 0018" instead of "27bd0018 addiu r29,r29,0x 0018"
Is that space there for a reason? Most of the formulas on the wiki seem to be like that, but not all. I guess it is not intended for this use is why.

The first "jr r31" is just from me diving in head first and not knowing enough.. it was copied over from the Store PA and WP + Y routine.
Everything is just copied over from the wiki. Started with formula 2D, replaced the "WP + Y as Y" routine with its actual code (https://ffhacktics.com/wiki/Store_PA_and_WP_%2B_Y) to divide it by X before the other routines.
The divide by X code was taken from formula 42:
lui r3,0x8019
lbu r3,0x38f9(r3)      Load Ability's X
 
div r2,r3
mflo r2        Damage / X

So if I can just keep using r1 as the base then you are telling me the code on the wiki is less efficient?
From what I could see on all the code, anything new loaded in used a new register.

I am confused by the wires crossed bit though.
This is taken directly from https://ffhacktics.com/wiki/Store_PA_and_WP_%2B_Y.
lui r4, 0x8019
lbu r4, 0x0036(r4)  Load Attacker's PA

and loading ability X is 0x38f9 in all the other formulas from what I saw

It looked so easy with the spreadsheet.. to just insert Load Ability X and then divide by X, guess I have some more reading/browsing to do.
4
I am a complete newbie to formula hacking, but like most people I find the swordskills a bit overpowered, so I have been attempting to learn some minor asm hacking to get this much needed formula into my game.  I watched Xifanie's tutorials on how to use the FFT Hack Template, and got started from there. I tried adding in the /X later in the formula, after 'lw r2, 0x2D90(r2)' as well as an attempt at putting the command in after 'lbu r2, 0x0000(r2). All the 0's in the lbu command tell me that is almost for sure the wrong place for a div command. These 2 attempts ended in either the game freezing when i selected a target or glitched out damage prediction.

I even attempted saving it in the slot for formula 18. When I did this formula 18 froze the game, and for some reason the swordskills I kept as formula 2D even froze the game.. even though I did not change a thing on those skills or touch the formula. Not sure what that was about.

So I tried inserting the raw code for the Store PA and WP + Y routine with my div and mflo commands in... this version of the hack always ends in the game freezing when I go to select my target.

BATTLE.BIN
0x0018F6C4 E4101580 formula 2D

BATTLE.BIN
0x801510E4 addiu r29, r29, 0xFFE8
0x801510E8 sw r31, 0x0010(r29)
0x801510EC jal 0x80188510 Physical Evade Calculation
0x801510F0 nop
0x801510F4 bne r2, r0, 0x8015118C
0x801510F8 nop
0x801510FC lui r5, 0x8019
0x80151100 lw r5, 0x2D94(r5) Load Attacker's Stats
0x80151104 lui r2, 0x8019
0x80151108 lbu r2, 0x3902(r2) Load Weapon Power
0x8015110C lui r3, 0x8019
0x80151110 lbu r3, 0x38FA(r3) Load Ability Y
0x80151114 lui r4, 0x8019
0x80151118 lbu r4, 0x0036(r4) Load Attacker's PA
0x8015111C lbu r5, 0x38F9(r5) Load Ability's X
0x80151120 addu r2, r2, r3 WP + Y
0x80151124 div r2, r5
0x80151128 mflo r2 (WP + Y) / X
0x8015112C nop
0x80151130 lui r1, 0x8019
0x80151134 sh r2, 0x38D0(r1) Store (WP + Y) / X as YA
0x80151138 lui r1, 0x8019
0x8015113C sh r4, 0x38CE(r1) Store PA as XA
0x80151140 jr r31
0x80151144 nop
0x80151148 jal 0x80185FA4 Element Strengthen Calculation
0x8015114C nop
0x80151150 jal 0x801886A4 Physical Damage Calculation
0x80151154 nop
0x80151158 jal 0x80186FD0 Weapon Elemental = Swordskill Routine (Fixed by Xifanie.)
0x8015115C nop
0x80151160 lui r2, 0x8019
0x80151164 lw r2, 0x2D90(r2)
0x80151168 nop
0x8015116C lbu r2, 0x0000(r2)
0x80151170 nop
0x80151174 beq r2, r0, 0x8015118C
0x80151178 nop
0x8015117C jal 0x801870FC Elemental Absorption
0x80151180 nop
0x80151184 jal 0x80187EB4 Status Proc
0x80151188 nop
0x8015118C lw r31, 0x0010(r29)
0x80151190 nop
0x80151194 jr r31
0x80151198 nop



I find it hard to believe no one has modified formula 2D in some way similar to this.. considering the common opinion within this community is that the swordskills have always been overpowered.

We need more WP, PA formula hacks!

Please help.

edit: all attempts were made with a patched iso and then a fresh iso as well
5
PSX FFT Hacking / Re: ASM Requests
September 25, 2020, 06:51:59 pm
I was hoping to edit formula 2D Dmg_(PA*(WP+Y)) PE  to  Dmg_(PA*(WP+Y))/X

Sorry if this already exists, I thought for sure it did, but I cannot seem to find it anywhere now.
Any help would be much appreciated.
6
oh wow.. is it really that simple? i'll check this out asap.

thanks for the quick responses like always

EDIT: IT WORKS!!! It really was that simple. thanks guys
7
I have play tested my entire patch all the way up to the bed desert boss fight.. The main purpose of my patch was to make most of the boss fight conditions "defeat all enemies" including the Bed Desert fight vs Balk. I have not seen any major glitches or bugs until this fight and I cannot seem to figure out what is going wrong other than the fact I know it has to do with the step involving the test.evt and cdmage.

There is nothing added into this event thats special.. all I did was change the "display conditions" part so it would show the defeat all enemies screen, but the event wont even get that far.
This is where it freezes every time, right after everyone gets poisoned and kneels down:

The music keeps playing but nothing ever happens on screen

Even when I extract a fresh test.evt from an original iso and just add 1 random custom event in(doesn't even have to be the bed desert event).. this bed desert fight will still freeze at the same spot, so the problem cant be the bed desert battle event right?

not sure if this will help...Bed Desert event:
Offset(x002C4000)
//Remove the previous line if you wish not to override the offset in CONFIG.INI.
//Remove the previous line if you wish text to compile directly after instructions.

Erase(x03,x00)
Erase(x78,x00)
Erase(x79,x00)
Erase(x7A,x00)
Erase(x7B,x00)
Erase(x7C,x00)
Camera(+00872,+00019,+00728,+00238,+02208,+00000,+04096,+00001)
WaitForInstruction(x04,x00)
UnitAnim(x00,x00,x02,x00,x00)
{63}(rAA)
Camera(+00584,-00172,+01064,+00430,+03584,+00000,+04096,+00180)
LoadEVTCHR(x01,x64,x00)
{4D}(r40)
WaitForInstruction(x04,x00)
Wait(00040)
DisplayMessage(x10,x11,x0001,x2B,x00,x00,+00006,+00008,+00000,x03)
WaitForInstruction(x01,x00)
WaitForInstruction(x34,x00)
SaveEVTCHR(x01)
WarpUnit(x03,x00,005,002,x00,x02)
Draw(x03,x00)
Draw(x78,x00)
Draw(x79,x00)
Draw(x7A,x00)
Draw(x7B,x00)
Draw(x7C,x00)
UnitAnim(x00,x01,x02,x00,x00)
Sound(x0078)
Wait(00100)
{47}(r2B00000503000001)
{48}()
SpriteMove(x64,x00,+00000,+00088,+00000,x00,x01,+00001)
WaitSpriteMove(x64,x00)
Draw(x64,x00)
AddUnit(x64,x00,x01)
RotateUnit(x2B,x00,x00,x00,x00,000)
Wait(00012)
RotateUnit(x80,x00,x00,x00,x00,000)
Wait(00006)
RotateUnit(x82,x00,x00,x00,x00,000)
Wait(00010)
RotateUnit(x84,x00,x00,x00,x00,000)
Wait(00004)
RotateUnit(x81,x00,x00,x00,x00,000)
Wait(00008)
RotateUnit(x83,x00,x00,x00,x00,000)
{63}(rCA)
Camera(+00728,+00067,+00392,+00462,+02496,+00000,+04096,+00064)
WaitForInstruction(x04,x00)
Wait(00030)
Effect(x021C,x64,005,003,x00)
DisplayMessage(x10,x92,x0002,x2B,x00,x00,+00000,+00010,-00002,x02)
WaitForInstruction(x01,x00)
DisplayMessage(x10,x91,x0003,x03,x00,x00,+00000,+00000,+00002,x03)
WaitForInstruction(x01,x00)
ChangeDialog(x02,x0004,x00,x00)
WaitForInstruction(x01,x00)
ChangeDialog(x01,x0005,x00,x00)
WaitForInstruction(x01,x00)
ChangeDialog(x02,x0006,x00,x00)
WaitForInstruction(x01,x00)
ChangeDialog(x01,xFFFF,x00,x00)
Wait(00004)
ChangeDialog(x02,xFFFF,x00,x00)
WaitForInstruction(x01,x00)
Wait(00020)
EffectStart()
UnitAnim(x2B,x00,x58,x02,x00)
Wait(00006)
UnitAnim(x2B,x00,x59,x02,x00)
Wait(00008)
Sound(x0041)
UnitAnim(x2B,x00,x5A,x02,x00)
Wait(00016)
UnitAnim(x2B,x00,x59,x02,x00)
Wait(00008)
UnitAnim(x2B,x00,x5B,x02,x00)
Wait(00006)
UnitAnim(x2B,x00,x5C,x02,x00)
Wait(00006)
UnitAnim(x2B,x00,x5D,x02,x00)
Wait(00008)
UnitAnim(x2B,x00,x5E,x02,x00)
Wait(00010)
Sound(x0030)
UnitAnim(x2B,x00,x5D,x02,x00)
Wait(00006)
UnitAnim(x2B,x00,x5C,x02,x00)
Wait(00002)
UnitAnim(x2B,x00,x5F,x02,x00)
Wait(00002)
UnitAnim(x2B,x00,x60,x02,x00)
Wait(00004)
UnitAnim(x64,x00,x6D,x02,x00)
SpriteMove(x64,x00,-00028,-00089,+00118,x00,x01,+00001)
WaitSpriteMove(x64,x00)
BlockStart()
UnitAnim(x03,x00,x66,x02,x00)
Wait(00010)
UnitAnim(x03,x00,x67,x02,x00)
Wait(00008)
UnitAnim(x03,x00,x68,x02,x00)
Wait(00010)
UnitAnim(x03,x00,x67,x02,x00)
Wait(00008)
UnitAnim(x03,x00,x69,x02,x00)
Wait(00006)
UnitAnim(x03,x00,x6A,x02,x00)
Wait(00006)
UnitAnim(x03,x00,x6B,x02,x00)
Wait(00006)
BlockEnd()
BlockStart()
UnitAnim(x2B,x00,x61,x02,x00)
Wait(00006)
UnitAnim(x2B,x00,x62,x02,x00)
Wait(00008)
UnitAnim(x2B,x00,x63,x02,x00)
Wait(00024)
UnitAnim(x2B,x00,x62,x02,x00)
Wait(00008)
UnitAnim(x2B,x00,x61,x02,x00)
Wait(00006)
UnitAnim(x2B,x00,x64,x02,x00)
Wait(00006)
UnitAnim(x2B,x00,x65,x02,x00)
Wait(00008)
UnitAnim(x2B,x00,x02,x00,x00)
BlockEnd()
SpriteMove(x64,x00,-00023,-00093,+00104,x00,x01,+00008)
WaitSpriteMove(x64,x00)
SpriteMove(x64,x00,-00019,-00089,+00075,x00,x01,+00008)
WaitSpriteMove(x64,x00)
SpriteMove(x64,x00,-00014,-00074,+00049,x00,x01,+00008)
WaitSpriteMove(x64,x00)
SpriteMove(x64,x00,-00009,-00055,+00028,x00,x01,+00007)
WaitSpriteMove(x64,x00)
SpriteMove(x64,x00,-00004,-00029,+00013,x00,x01,+00006)
WaitSpriteMove(x64,x00)
SpriteMove(x64,x00,+00000,-00002,+00000,x00,x01,+00005)
WaitSpriteMove(x64,x00)
{1C}(r02)
EffectEnd()
Wait(00020)
Erase(x64,x00)
Wait(00050)
EffectStart()
{1C}(r01)
InflictStatus(x03,x00,x02,x0C,x00)
WaitForInstruction(x43,x00)
InflictStatus(x78,x00,x02,x0C,x00)
WaitForInstruction(x43,x00)
InflictStatus(x79,x00,x02,x0C,x00)
WaitForInstruction(x43,x00)
InflictStatus(x7A,x00,x02,x0C,x00)
WaitForInstruction(x43,x00)
InflictStatus(x7B,x00,x02,x0C,x00)
WaitForInstruction(x43,x00)
InflictStatus(x7C,x00,x02,x0C,x00)
WaitForInstruction(x43,x00)
Wait(00040)
RemoveUnit(x64,x00)
DisplayMessage(x10,x91,x0007,x03,x00,x00,+00012,+00000,-00008,x01)
WaitForInstruction(x01,x00)
DisplayMessage(x10,x92,x0008,x2B,x00,x00,+00000,+00010,+00000,x01)
WaitForInstruction(x01,x00)
ChangeDialog(x01,x0009,x00,x00)
WaitForInstruction(x01,x00)
ChangeDialog(x02,x000A,x00,x00)
WaitForInstruction(x01,x00)
ChangeDialog(x01,x000B,x00,x00)
WaitForInstruction(x01,x00)
ChangeDialog(x02,x000C,x00,x00)
WaitForInstruction(x01,x00)
Sound(x0041)
UnitAnim(x03,x00,x02,x00,x00)
Wait(00020)
ChangeDialog(x01,x000D,x00,x00)
WaitForInstruction(x01,x00)
ChangeDialog(x02,x000E,x00,x00)
WaitForInstruction(x01,x00)
ChangeDialog(x01,xFFFF,x00,x00)
Wait(00008)
ChangeDialog(x02,xFFFF,x00,x00)
WaitForInstruction(x01,x00)
Wait(00030)
{1C}(r02)
Camera(+00504,-00268,+00952,+00302,+03584,+00000,+04096,+00128)
Wait(00030)
DarkScreen(x00,x01,012,064,x00,004)
WaitForInstruction(x36,x00)
Wait(00030)
DisplayConditions(x08,060)
WaitForInstruction(x38,x00)
WaitForInstruction(x04,x00)
DisplayConditions(x00,060)
WaitForInstruction(x38,x00)
RemoveDarkScreen()
WaitForInstruction(x36,x00)
{1C}(r01)
Wait(00040)
UnitAnim(x2B,x00,x03,x00,x00)
UnitAnim(x03,x00,x03,x00,x00)
Wait(00014)
UnitAnim(x81,x00,x03,x00,x00)
UnitAnim(x79,x00,x03,x00,x00)
Wait(00008)
UnitAnim(x83,x00,x03,x00,x00)
UnitAnim(x7A,x00,x03,x00,x00)
Wait(00012)
UnitAnim(x82,x00,x03,x00,x00)
UnitAnim(x7B,x00,x03,x00,x00)
Wait(00010)
UnitAnim(x80,x00,x03,x00,x00)
UnitAnim(x7C,x00,x03,x00,x00)
Wait(00014)
UnitAnim(x84,x00,x03,x00,x00)
RemoveUnit(x85,x00)
RemoveUnit(x86,x00)
{63}(rA8)
EventEnd()

//INSTRUCTION SECTION END -  TEXT START
//Message x01
{font:08}Balk{br}
{font:00}...They're all spread?{br}
{br}
Nice wind. Should be enough{br}
to float them around in{br}
the air for most of the day.{end}

//Message x02
{font:08}Balk{br}
{font:00}Uh{D11D}oh...Didn't think I'd{br}
see you here...{end}

//Message x03
{font:08}{Ramza}{br}
{font:00}What are the Shrine Knights{br}
doing here?{br}
You said, "spread"...{br}
What the hell did you spread?{end}

//Message x04
{font:08}Balk{br}
{font:00}Wanna know...?{br}
{br}
I guess I can tell you{br}
because there's nothing{br}
you can do now.{end}

//Message x05
{font:08}{Ramza}{br}
{font:00}Spill it!{br}
What did you spread?{end}

//Message x06
{font:08}Balk{br}
{font:00}This!{end}

//Message x07
{font:08}{Ramza}{br}
{font:00}Poison!?{end}

//Message x08
{font:08}Balk{br}
{font:00}That's right. I spread this{br}
to the Hokuten Province.   {br}
Any soldier who inhales this{br}
will be too sick to fight!{end}

//Message x09



I tried this with 1.91 easyvent.. until i saw there was a new version out.. so i went into 2.0, made a new custom event for the bed desert boss fight, compiled it in and imported with cdmage and it still freezes.

I have completely hit a wall with this, any help would be much appreciated.


8
Help! / Re: I want to defeat all enemies!
November 20, 2016, 04:39:52 am
Quote from: Guru on November 20, 2016, 02:07:18 am
Initial warning....I not a wizard like xif and emmy. I just popped in to post a link that may help you understand the battle conditions codes.

However, I also noticed you are missing an opening tag <patches>


and that's all it was.. I knew it was something simple I missed.

QuoteHere the link for a tutorial on battle conditions http://ffhacktics.com/smf/index.php?topic=6694


Oh I read that, a bit of cheetah's link in that thread, and an image modifier tutorial that I thought was about changing winning conditions lol... and tried doing it the hex editor way with no success. Then emmy pointed out that I should do it through fftorgasm.. which was a lot easier and quicker

Thanks all, I fixed it, tested it and everything in the event/battle went perfectly

so future reference then..

initial copy/paste didn't work:
<?xml version="1.0" encoding="utf-8" ?>
<Patch name="ATTACK.OUT Battle Event Conditionals Edits">
<Location file="EVENT_ATTACK_OUT" offset="14938">
24012801300134013C014001520156015A015E0164016C01700176017A017E0188018C019001940198019C01AA01AE01BA01BE01D401D801E801F80108021802280238024802580268026E02740278027E028C029E02A202B002B402B802BE02C202C602CA02CE02D402D802DE02E202E602EA02F40206030A0314031C03200324032C033003340338033C0340034A034E0358035C036003660370037C03800388038C0392039603A603AA03B003B403C003C403CE03D203DE03E203E603EA03F003F803FC0304040C0414041C042004240428042E043A04400444044E0452045A045E0464046A046E047C04800484048A04900494049C04A004AA04B404B804BE04C204C604D204D604DC04EA04F404F804000504050C05120518051E0528052C0534053805000042054C05660500006C05000076058005A0050000A6050000B005BA05CA05DA05F40510062606380600004A060000540600005E060000680672060000780682069C060000A2060000AC06B6060000BC060000C6060000D006DA06FA06100700001A070000240700002E07000038070000420700004C07560770079007B007CA070000D4070000DE07E80708082E084E0800005808000062086C088608A608D008F608260946096C0986090000900900009A09A409BE09D809F2090C0A260A00002C0A360A500A6A0A840A9E0AB80A0000BE0AC80AE20AFC0A160B300B4A0B0000500B5A0B740B8E0BA80BC20BDC0B0000E20BEC0B060C200C3A0C540C6E0C0000740C7E0C980CB20CCC0CE60C000D0000060D100D2A0D440D5E0D780D920D0000980DA20DBC0DD60DF00D0A0E240E00002A0E340E4E0E680E820E9C0EB60E0000BC0EC60E0000D00EDA0E0000E00E0000EA0EF40E0000FA0E040F140F240F400F560F00005C0F660F800FA00FC00FCA0FEA0FF40F0000FA0F000004100E101E102E104A106010000066100000701000007A10841000008A100000941000009E100000A8100000B210BC100000C2100000CC10D6100000DC100000E6100000F0100000FA1004111E11281100002E113811581172119211B211D811E2110000E8110000F211FC1110121A12000020122A124A120000541200005E120000681272127C120000821200008C12000096120000A0120000AA120000B412BE12DE12E8120000EE120000F81202132213421300004C1300005613000060136A13000070137A139A13BA130000C413CE13E213021428140000321400003C144614501400005A14000064146E140000741400007E148814A214C814D814E814F8140000FE1400000815121500001815000022152C154C155C156C150000721500007C158615A615B6150000C0150000CA15D415DE15E815F2150000FC15000006160000101600001A16241600002A163416541600005E16000068167216921600009C16A616C6160000D016DA16F4160000FE16081718170000221700002C1700003617000040174A17000050175A177A179A17C0170000CA17D4170000DA170000E417EE170E18341800003E18000048185218721800007C1800008618901800009618A0180000A6180000B018BA18D418EE1808192219000036190000401900004A19541900005A19641900006A19000074197E1988190000921900009C19A619B619C6190000D019DA19F419141A00001E1A0000281A321A00003C1A0000461A0000501A5A1A741A941AA41A0000AE1A0000B81AC21A0000C81AD21AEC1A061B101B1A1B0000241B2E1B481B6E1B0000781B0000821B8C1B9C1B0000AC1B0000B61BC01BD01B0000E01BEA1B0000F01BFA1B0000001C0A1C0000101C1A1C2A1C3A1C0000401C00004A1C541C641C0000741C00000100FD010100190002000100FD0101001900040001007F0000000B001700050017000100050034000100190005001600190006000100FD010100190008000100FD01010019000A0001007F0000000B00010005000400010005008000010005000100010019000B00160019000C000100FD01010019000E000100FD0101001900100001007D0000000100960000001900110001007D0000000100960001001900120001007D00010001007E0000000B0007000500070001001900130001007D00010001007F0000000100960000000600070000001900140001007D0001000100960001000600070000001900150001007D00010016000600070000001900160001007D0001001600050007000100190017000100FD010100190019000100FD01010019001B000100FD01010019001D000100FD01010019001F001600190020000100FD0101001900220001007F0000000B000400050004000100050007000100190023001600190024000100FD010100190026000100FD010100190028001600190029000100FD01010019002B000100FD01010019002D000100FD01010019002F0001007F0000000500070001000800850046000B0085000500850001001900300001007E00000001007F00010005000400010019003100060085000000190032000100FD010100190034000100FD010100190036000100FD010100190038000100FD01010019003A000100FD01010019003C000100FD01010019003E0001007F0000000500040001000500850001000B00040019003F0001007E00000001007F000100080085004B000B0085000500850001001900400001007D00000001007E0001000B000100050085000100050001000100190041000100810000000800850019000B00850005008500010019004200060085000000190043000100FD010100190045000100FD0101001900470001007F0000000500040001000500200001000B0004000500010001001900480001007E00000001007F000100080020004B000B0020000500200001000500010001001900490001007D00000001007E0001000500200001000B00010005000100010019004A0008002000190019004B000100FD01010019004D000100FD01010019004F0001007F0000000500070001000B0001000500010001001900500001007E00000001007F0001000500070001000B0007000500010001001900510001007D00000001007E000100010080000000040007000500070001000B0001000500010001001900520001008100000001007D0001000100960000000500070001000B0007000500010001001900530001008100000001007D000100010080000000010096000100040007000500070001000B0007000500010001001900540001008200000001007F0001000500040001000500070001000B0004001900550001007D0001000100820001000100830000000500040001000500070001000B000700190056000100840000000800040032000B00010005000100010019005700060007000000190058000100FD01010019005A000100FD01010019005C002500000001000100000001006800000001006500000019005D002500000003000100000001006800010001006500000019005D002500000008000300000001006800020001006500000019005D002500000009000000000001006800030001006500000019005D002500000009000600000001006800040001006500000019005D00160019005E000100FD010100190060002500000000000000000001006800000001006500010019005D002500000000000800000001006800010001006500010019005D002500000001000200000001006800020001006500010019005D002500000004000700000001006800030001006500010019005D002500000009000800000001006800040001006500010019005D00160019005E000100FD010100190062002500000004000300000001006800000001006500020019005D002500000007000700000001006800010001006500020019005D002500000007000800000001006800020001006500020019005D00250000000D000800000001006800030001006500020019005D00250000000E000100000001006800040001006500020019005D00160019005E000100FD010100190064002500000000000400000001006800000001006500030019005D002500000001000600000001006800010001006500030019005D002500000002000800000001006800020001006500030019005D002500000004000700000001006800030001006500030019005D002500000007000000000001006800040001006500030019005D00160019005E000100FD010100190066002500000001000200000001006800000001006500040019005D002500000003000400000001006800010001006500040019005D002500000004000200000001006800020001006500040019005D002500000006000000000001006800030001006500040019005D002500000006000400000001006800040001006500040019005D00160019005E000100FD010100190068002500000000000000000001006800000001006500050019005D002500000000000900000001006800010001006500050019005D002500000001000700000001006800020001006500050019005D002500000002000200000001006800030001006500050019005D002500000005000700000001006800040001006500050019005D00160019005E000100FD01010019006A002500000002000400000001006800000001006500060019005D002500000006000300000001006800010001006500060019005D002500000008000600000001006800020001006500060019005D00250000000D000600000001006800030001006500060019005D00250000000E000800000001006800040001006500060019005D00160019005E000100FD01010019006C002500000000000D00000001006800000001006500070019005D002500000001000A00000001006800010001006500070019005D002500000001000D00000001006800020001006500070019005D002500000008000500000001006800030001006500070019005D00250000000A000A00000001006800040001006500070019005D00160019005E000100FD01010019006E002500000000000300000001006800000001006500080019005D002500000000000800000001006800010001006500080019005D002500000002000100000001006800020001006500080019005D002500000002000500000001006800030001006500080019005D00250000000A000700000001006800040001006500080019005D00160019005E000100FD01010019007000060080000000190071000100FD01010019007300160019005E000100FD010100190075000100FD010100190077001600190078000100FD01010019007A0001007D00000001009700000019007B0001007D00000001009700010019007C0001007D00010001007F00000001009700000006008000000019007D0001007D00010001009700010006008000000019007E00160019007F000100FD0101001900810001007D0000000500340001000500170001000B0034001900820001007E0000000500050001000500170001000B0002000500020001001900830001007E00010001007F00000005000500010005000C0001000B000C001900840006000C0000001900850001007F0001000100810000000500170001000B00020005000200010019008600080017001400190087001600190088000100FD01010019008A000100FD01010019008C0001007D00000001009800000019008D0001007D00000001009800010019008E0001007D00010001007F00000001009800000006002200000019008F0001007D000100010098000100060022000000190090001600190091000100FD010100190093000100FD010100190095000100FD010100190097001600190098000100FD01010019009A000100FD01010019009C000100FD01010019009E000100FD0101001900A0000100FD0101001900A20016001900A3000100FD0101001900A5000100FD0101001900A70016001900A8000100FD0101001900AA000100FD0101001900AC000100FD0101001900AE000100FD0101001900B00001007D00000005001E0001000B001E000500020001001900B10006001E0000001900B20016001900B3000100FD0101001900B50001007D00000008001E003C0005001E0001000500110001000B001E001900B60001007E0000000500110001000B0011000500020001001900B70001007E00010001007F0000000500110001000B0002000500020001001900B80001007F0001000100810000000500110001000B0011000500020001001900B90001007E00010001008200000005001E0001000500110001000B001E000500020001001900BA000800110014001900BB0016001900BC000100FD0101001900BE000100FD0101001900C00001007D0000001800020007000B0000001900C1000600110000001900C20016001900C3000100FD0101001900C50001007D0000000800020032000B0002000500020001000500430001001900C6000600430000001900C7000100FD0101001900C9000100FD0101001900CB000100FD0101001900CD000600150000001900CE0016001900CF000100FD0101001900D1000100FD0101001900D3000100FD0101001900D5000100FD0101001900D7000100FD0101001900D9000100FD0101001900DB0001007D0000000800320050000B0032000500320001000500030001001900DC000600320000001900DD0016001900DE000100FD0101001900E0000100FD0101001900E20001007D0000000800100046000B0010000500100001000500020001001900E30001007D00010001007E0000000500300001000B0030000500020001001900E4000800100014001900E5000100FD0101001900E7000100FD0101001900E9000100FD0101001900EB0016001900EC000100FD0101001900EE0001007D0000000800260050000B0026000500260001000500020001001900EF0001007D00010001007E0000000500260001000B0002000500020001001900F0000800260014001900F1000100FD0101001900F30001007D0000000500280001000B0028001900F40001007D00010001007E0000000500280001000B0002000500020001001900F50001007E00010001007F000000080028003C000B0028000500280001000500020001001900F6000600280000001900F7000100FD0101001900F9000100FD0101001900FB0001009D0000001900FC0001009D0001001900FD000100FD0101001900FF000100FD010100190001011600190002010100FD010100190004010100FD0101001900060101007D00000005001A0001000B0002000500020001001900070101007D00010001007E00000005001A0001000500800001000B001A000500020001001900080101007F00000008001A0014001900090101007F00000006001900000019000A0101007F00010006001900000019000B01160019000C010100FD01010019000E010100FD010100190010011600190011010100FD010100190013010100FD0101001900150101007D00000005001900010005001A0001000B0002000500020001001900160101007E00000008001A0028001900170101007E000000080019002800190018011600190019010100FD01010019001B010100FD01010019001D0101007D000000080028004B000B00020005002800010005000200010019001E0101007E00000008002800190019001F0106003C000000190020010100FD010100190022010100FD010100190024010600290000001900250108001B0014001900260108002D0014001900260108002E001400190026010100FD010100190028010100FD01010019002A010100FD01010019002C010100FD01010019002E01160019002F010100FD0101001900310101007D0000000800250050000B00030005002500010005000300010019003201060025000000190033010100FD010100190035010100FD0101001900370101007D0000000800270046000B00030005002700010005000300010019003801060027000000190039010100FD01010019003B0101007D00000008002B004B000B00030005002B00010005000300010019003C0106002B00000019003D010100FD01010019003F0101007D0000000B00030005004000010005000300010019004001060040000000190041010100FD0101001900430101007D000000080041000A0019004401060049000000190045010100FD010100190047010100FD010100190049010100FD01010019004B010100FD01010019004D01160019004E010100FD0101001900500101007D00000008002F0050000B00030005002F0001000500030001001900510101007D00010001007E00000008002F0032000B002F0005002F0001001900520101007E00010001007F00000008002F0032000B00030005002F0001000500030001001900530108002F000F00190054010100FD010100190056011600190057010100FD010100190059010100FD01010019005B0101007D000000080010004B000B00100005001000010005000500010019005C0101007D00010001007E000000080010004B000B00030005001000010005000300010019005D0106001000000019005E010100FD010100190060010100FD0101001900620101007D00000008002B004B000B002B0005002B0001000500030001001900630106002B000000190064010100FD010100190066010100FD010100190068011600190069010100FD01010019006B01160019006C010100FD01010019006E010100FD0101001900700101007D00000001007E000000180003000800070000001900710101007D00000001007E000100180003000800070000001900720101007D00000001007E000000180003000800020000001900730101007D00010001007E000000180003000800020000001900740101007F0000000500030001000B0003001900EA010100FD010100190076010100FD010100190078010100FD01010019007A01160019007B010100FD01010019007D01160019007E010100FD010100190080010100FD0101001900820108002D0014001900830108002E001400190083010100FD010100190085010100FD0101001900870101007D00000006002D0000001900880101007E00000006002E0000001900890108001B000A0019008A010100FD01010019008C0101007D00000005002A0001000500030001000B002A0019008D0101007D00010001007E00000005002A0001000500030001000B00030019008E0106003E00000019008F010100FD0101001900AB010100FD0101001900AD0101007D0001001900AE010100FD0101001900B0010100FD0101001900B2010100FD0101001900B40101007D0000000500080001000500030001000B0008001900B50101007D00010001007E0000000500090001000500080001000B0009001900B60101007F0000000600090000001900B7010600450000001900B8010100FD0101001900BA010100FD0101001900BC0116001900BD010100FD0101001900BF0101007D00000005002400010005002A0001000B002A001900C00101007E0000000500240001000500030001000B0003001900C101080024000A001900C201080025000A001900C201080027000A001900C2010100FD0101001900C40101007D0000000500080001000500030001000B0003001900C50101007D00010001007E0000000500080001000800080032000500030001000B0008001900C6010600080000001900C7010100FD0101001900C9010100FD0101001900CB010100A10000000100A20000001900CC010100A10001000100A20000001900CD010100FD0101001900CF010100FD0101001900D1010100A70000000100A80000001900D2010100A70000000100A80001001900D3010100FD0101001900D50116001900D6010100FD0101001900D80116001900D9010100FD0101001900DB0116001900DC010100FD0101001900DE0106004800000005001F0001001900DF0106004800000006001F0000001900E00116001900E1010100FD0101001900E3010100FD0101001900E50101007D0000000600800000001900E60101007D0001000600800000001900E7010100FD0101001900E901
</Location>
</Patch>
</Patches>


Readable by FFTorgASM:
<?xml version="1.0" encoding="utf-8" ?>
<Patches>
<Patch name="ATTACK.OUT Battle Event Conditionals Edits">
<Location file="EVENT_ATTACK_OUT" offset="14938">
24012801300134013C014001520156015A015E0164016C01700176017A017E0188018C019001940198019C01AA01AE01BA01BE01D401D801E801F80108021802280238024802580268026E02740278027E028C029E02A202B002B402B802BE02C202C602CA02CE02D402D802DE02E202E602EA02F40206030A0314031C03200324032C033003340338033C0340034A034E0358035C036003660370037C03800388038C0392039603A603AA03B003B403C003C403CE03D203DE03E203E603EA03F003F803FC0304040C0414041C042004240428042E043A04400444044E0452045A045E0464046A046E047C04800484048A04900494049C04A004AA04B404B804BE04C204C604D204D604DC04EA04F404F804000504050C05120518051E0528052C0534053805000042054C05660500006C05000076058005A0050000A6050000B005BA05CA05DA05F40510062606380600004A060000540600005E060000680672060000780682069C060000A2060000AC06B6060000BC060000C6060000D006DA06FA06100700001A070000240700002E07000038070000420700004C07560770079007B007CA070000D4070000DE07E80708082E084E0800005808000062086C088608A608D008F608260946096C0986090000900900009A09A409BE09D809F2090C0A260A00002C0A360A500A6A0A840A9E0AB80A0000BE0AC80AE20AFC0A160B300B4A0B0000500B5A0B740B8E0BA80BC20BDC0B0000E20BEC0B060C200C3A0C540C6E0C0000740C7E0C980CB20CCC0CE60C000D0000060D100D2A0D440D5E0D780D920D0000980DA20DBC0DD60DF00D0A0E240E00002A0E340E4E0E680E820E9C0EB60E0000BC0EC60E0000D00EDA0E0000E00E0000EA0EF40E0000FA0E040F140F240F400F560F00005C0F660F800FA00FC00FCA0FEA0FF40F0000FA0F000004100E101E102E104A106010000066100000701000007A10841000008A100000941000009E100000A8100000B210BC100000C2100000CC10D6100000DC100000E6100000F0100000FA1004111E11281100002E113811581172119211B211D811E2110000E8110000F211FC1110121A12000020122A124A120000541200005E120000681272127C120000821200008C12000096120000A0120000AA120000B412BE12DE12E8120000EE120000F81202132213421300004C1300005613000060136A13000070137A139A13BA130000C413CE13E213021428140000321400003C144614501400005A14000064146E140000741400007E148814A214C814D814E814F8140000FE1400000815121500001815000022152C154C155C156C150000721500007C158615A615B6150000C0150000CA15D415DE15E815F2150000FC15000006160000101600001A16241600002A163416541600005A16000064166E168E1600009816A216C2160000CC16D616F0160000FA160417141700001E17000028170000321700003C17461700004C17561776179617BC170000C617D0170000D6170000E017EA170A18301800003A18000044184E186E1800007818000082188C18000092189C180000A2180000AC18B618D018EA1804191E190000321900003C1900004619501900005619601900006619000070197A19841900008E1900009819A219B219C2190000CC19D619F019101A00001A1A0000241A2E1A0000381A0000421A00004C1A561A701A901AA01A0000AA1A0000B41ABE1A0000C41ACE1AE81A021B0C1B161B0000201B2A1B441B6A1B0000741B00007E1B881B981B0000A81B0000B21BBC1BCC1B0000DC1BE61B0000EC1BF61B0000FC1B061C00000C1C161C261C361C00003C1C0000461C501C601C0000701C00000100FD010100190002000100FD0101001900040001007F0000000B001700050017000100050034000100190005001600190006000100FD010100190008000100FD01010019000A0001007F0000000B00010005000400010005008000010005000100010019000B00160019000C000100FD01010019000E000100FD0101001900100001007D0000000100960000001900110001007D0000000100960001001900120001007D00010001007E0000000B0007000500070001001900130001007D00010001007F0000000100960000000600070000001900140001007D0001000100960001000600070000001900150001007D00010016000600070000001900160001007D0001001600050007000100190017000100FD010100190019000100FD01010019001B000100FD01010019001D000100FD01010019001F001600190020000100FD0101001900220001007F0000000B000400050004000100050007000100190023001600190024000100FD010100190026000100FD010100190028001600190029000100FD01010019002B000100FD01010019002D000100FD01010019002F0001007F0000000500070001000800850046000B0085000500850001001900300001007E00000001007F00010005000400010019003100060085000000190032000100FD010100190034000100FD010100190036000100FD010100190038000100FD01010019003A000100FD01010019003C000100FD01010019003E0001007F0000000500040001000500850001000B00040019003F0001007E00000001007F000100080085004B000B0085000500850001001900400001007D00000001007E0001000B000100050085000100050001000100190041000100810000000800850019000B00850005008500010019004200060085000000190043000100FD010100190045000100FD0101001900470001007F0000000500040001000500200001000B0004000500010001001900480001007E00000001007F000100080020004B000B0020000500200001000500010001001900490001007D00000001007E0001000500200001000B00010005000100010019004A0008002000190019004B000100FD01010019004D000100FD01010019004F0001007F0000000500070001000B0001000500010001001900500001007E00000001007F0001000500070001000B0007000500010001001900510001007D00000001007E000100010080000000040007000500070001000B0001000500010001001900520001008100000001007D0001000100960000000500070001000B0007000500010001001900530001008100000001007D000100010080000000010096000100040007000500070001000B0007000500010001001900540001008200000001007F0001000500040001000500070001000B0004001900550001007D0001000100820001000100830000000500040001000500070001000B000700190056000100840000000800040032000B00010005000100010019005700060007000000190058000100FD01010019005A000100FD01010019005C002500000001000100000001006800000001006500000019005D002500000003000100000001006800010001006500000019005D002500000008000300000001006800020001006500000019005D002500000009000000000001006800030001006500000019005D002500000009000600000001006800040001006500000019005D00160019005E000100FD010100190060002500000000000000000001006800000001006500010019005D002500000000000800000001006800010001006500010019005D002500000001000200000001006800020001006500010019005D002500000004000700000001006800030001006500010019005D002500000009000800000001006800040001006500010019005D00160019005E000100FD010100190062002500000004000300000001006800000001006500020019005D002500000007000700000001006800010001006500020019005D002500000007000800000001006800020001006500020019005D00250000000D000800000001006800030001006500020019005D00250000000E000100000001006800040001006500020019005D00160019005E000100FD010100190064002500000000000400000001006800000001006500030019005D002500000001000600000001006800010001006500030019005D002500000002000800000001006800020001006500030019005D002500000004000700000001006800030001006500030019005D002500000007000000000001006800040001006500030019005D00160019005E000100FD010100190066002500000001000200000001006800000001006500040019005D002500000003000400000001006800010001006500040019005D002500000004000200000001006800020001006500040019005D002500000006000000000001006800030001006500040019005D002500000006000400000001006800040001006500040019005D00160019005E000100FD010100190068002500000000000000000001006800000001006500050019005D002500000000000900000001006800010001006500050019005D002500000001000700000001006800020001006500050019005D002500000002000200000001006800030001006500050019005D002500000005000700000001006800040001006500050019005D00160019005E000100FD01010019006A002500000002000400000001006800000001006500060019005D002500000006000300000001006800010001006500060019005D002500000008000600000001006800020001006500060019005D00250000000D000600000001006800030001006500060019005D00250000000E000800000001006800040001006500060019005D00160019005E000100FD01010019006C002500000000000D00000001006800000001006500070019005D002500000001000A00000001006800010001006500070019005D002500000001000D00000001006800020001006500070019005D002500000008000500000001006800030001006500070019005D00250000000A000A00000001006800040001006500070019005D00160019005E000100FD01010019006E002500000000000300000001006800000001006500080019005D002500000000000800000001006800010001006500080019005D002500000002000100000001006800020001006500080019005D002500000002000500000001006800030001006500080019005D00250000000A000700000001006800040001006500080019005D00160019005E000100FD01010019007000060080000000190071000100FD01010019007300160019005E000100FD010100190075000100FD010100190077001600190078000100FD01010019007A0001007D00000001009700000019007B0001007D00000001009700010019007C0001007D00010001007F00000001009700000006008000000019007D0001007D00010001009700010006008000000019007E00160019007F000100FD0101001900810001007D0000000500340001000500170001000B0034001900820001007E0000000500050001000500170001000B0002000500020001001900830001007E00010001007F00000005000500010005000C0001000B000C001900840006000C0000001900850001007F0001000100810000000500170001000B00020005000200010019008600080017001400190087001600190088000100FD01010019008A000100FD01010019008C0001007D00000001009800000019008D0001007D00000001009800010019008E0001007D00010001007F00000001009800000006002200000019008F0001007D000100010098000100060022000000190090001600190091000100FD010100190093000100FD010100190095000100FD010100190097001600190098000100FD01010019009A000100FD01010019009C000100FD01010019009E000100FD0101001900A0000100FD0101001900A20016001900A3000100FD0101001900A5000100FD0101001900A70016001900A8000100FD0101001900AA000100FD0101001900AC000100FD0101001900AE000100FD0101001900B00001007D00000005001E0001000B001E000500020001001900B10006001E0000001900B20016001900B3000100FD0101001900B50001007D00000008001E003C0005001E0001000500110001000B001E001900B60001007E0000000500110001000B0011000500020001001900B70001007E00010001007F0000000500110001000B0002000500020001001900B80001007F0001000100810000000500110001000B0011000500020001001900B90001007E00010001008200000005001E0001000500110001000B001E000500020001001900BA000800110014001900BB0016001900BC000100FD0101001900BE000100FD0101001900C00001007D0000001800020007000B0000001900C1000600110000001900C20016001900C3000100FD0101001900C50001007D0000000800020032000B0002000500020001000500430001001900C6000600430000001900C7000100FD0101001900C9000100FD0101001900CB000100FD0101001900CD000600150000001900CE0016001900CF000100FD0101001900D1000100FD0101001900D3000100FD0101001900D5000100FD0101001900D7000100FD0101001900D9000100FD0101001900DB0001007D0000000800320050000B0032000500320001000500030001001900DC000600320000001900DD0016001900DE000100FD0101001900E0000100FD0101001900E20001007D0000000800100046000B0010000500100001000500020001001900E30001007D00010001007E0000000500300001000B0030000500020001001900E4000800100014001900E5000100FD0101001900E7000100FD0101001900E9000100FD0101001900EB0016001900EC000100FD0101001900EE0001007D0000000800260050000B0026000500260001000500020001001900EF0001007D00010001007E0000000500260001000B0002000500020001001900F0000800260014001900F1000100FD0101001900F30001007D0000000500280001000B0028001900F40001007D00010001007E0000000500280001000B0002000500020001001900F50001007E00010001007F000000080028003C000B0028000500280001000500020001001900F6000600280000001900F7000100FD0101001900F9000100FD0101001900FB0001009D0000001900FC0001009D0001001900FD000100FD0101001900FF000100FD010100190001011600190002010100FD010100190004010100FD0101001900060101007D00000005001A0001000B0002000500020001001900070101007D00010001007E00000005001A0001000500800001000B001A000500020001001900080101007F00000008001A0014001900090101007F00000006001900000019000A0101007F00010006001900000019000B01160019000C010100FD01010019000E010100FD010100190010011600190011010100FD010100190013010100FD0101001900150101007D00000005001900010005001A0001000B0002000500020001001900160101007E00000008001A0028001900170101007E000000080019002800190018011600190019010100FD01010019001B010100FD01010019001D0101007D000000080028004B000B00020005002800010005000200010019001E0101007E00000008002800190019001F0106003C000000190020010100FD010100190022010100FD010100190024010600290000001900250108001B0014001900260108002D0014001900260108002E001400190026010100FD010100190028010100FD01010019002A010100FD01010019002C010100FD01010019002E01160019002F010100FD0101001900310101007D0000000800250050000B000300050025000100050003000100190032011600190033010100FD010100190035010100FD0101001900370101007D0000000800270046000B00030005002700010005000300010019003801060027000000190039010100FD01010019003B0101007D00000008002B004B000B00030005002B00010005000300010019003C0106002B00000019003D010100FD01010019003F0101007D0000000B00030005004000010005000300010019004001060040000000190041010100FD0101001900430101007D000000080041000A0019004401060049000000190045010100FD010100190047010100FD010100190049010100FD01010019004B010100FD01010019004D01160019004E010100FD0101001900500101007D00000008002F0050000B00030005002F0001000500030001001900510101007D00010001007E00000008002F0032000B002F0005002F0001001900520101007E00010001007F00000008002F0032000B00030005002F0001000500030001001900530108002F000F00190054010100FD010100190056011600190057010100FD010100190059010100FD01010019005B0101007D000000080010004B000B00100005001000010005000500010019005C0101007D00010001007E000000080010004B000B00030005001000010005000300010019005D0106001000000019005E010100FD010100190060010100FD0101001900620101007D00000008002B004B000B002B0005002B0001000500030001001900630106002B000000190064010100FD010100190066010100FD010100190068011600190069010100FD01010019006B01160019006C010100FD01010019006E010100FD0101001900700101007D00000001007E000000180003000800070000001900710101007D00000001007E000100180003000800070000001900720101007D00000001007E000000180003000800020000001900730101007D00010001007E000000180003000800020000001900740101007F0000000500030001000B0003001900EA010100FD010100190076010100FD010100190078010100FD01010019007A01160019007B010100FD01010019007D01160019007E010100FD010100190080010100FD0101001900820108002D0014001900830108002E001400190083010100FD010100190085010100FD0101001900870101007D00000006002D0000001900880101007E00000006002E0000001900890108001B000A0019008A010100FD01010019008C0101007D00000005002A0001000500030001000B002A0019008D0101007D00010001007E00000005002A0001000500030001000B00030019008E0106003E00000019008F010100FD0101001900AB010100FD0101001900AD0101007D0001001900AE010100FD0101001900B0010100FD0101001900B2010100FD0101001900B40101007D0000000500080001000500030001000B0008001900B50101007D00010001007E0000000500090001000500080001000B0009001900B60101007F0000000600090000001900B7010600450000001900B8010100FD0101001900BA010100FD0101001900BC0116001900BD010100FD0101001900BF0101007D00000005002400010005002A0001000B002A001900C00101007E0000000500240001000500030001000B0003001900C101080024000A001900C201080025000A001900C201080027000A001900C2010100FD0101001900C40101007D0000000500080001000500030001000B0003001900C50101007D00010001007E0000000500080001000800080032000500030001000B0008001900C6010600080000001900C7010100FD0101001900C9010100FD0101001900CB010100A10000000100A20000001900CC010100A10001000100A20000001900CD010100FD0101001900CF010100FD0101001900D1010100A70000000100A80000001900D2010100A70000000100A80001001900D3010100FD0101001900D50116001900D6010100FD0101001900D80116001900D9010100FD0101001900DB0116001900DC010100FD0101001900DE0106004800000005001F0001001900DF0106004800000006001F0000001900E00116001900E1010100FD0101001900E3010100FD0101001900E50101007D0000000600800000001900E60101007D0001000600800000001900E7010100FD0101001900E901
</Location>
</Patch>
</Patches>

9
Help! / Re: I want to defeat all enemies!
November 18, 2016, 07:26:56 pm
edit:  hmm fftorgasm isn't able to load in the xml file i save with. The error: "did not load correctly"
here is what I copied and pasted if it helps
<?xml version="1.0" encoding="utf-8" ?>
<Patch name="ATTACK.OUT Battle Event Conditionals Edits">
<Location file="EVENT_ATTACK_OUT" offset="14938">
24012801300134013C014001520156015A015E0164016C01700176017A017E0188018C019001940198019C01AA01AE01BA01BE01D401D801E801F80108021802280238024802580268026E02740278027E028C029E02A202B002B402B802BE02C202C602CA02CE02D402D802DE02E202E602EA02F40206030A0314031C03200324032C033003340338033C0340034A034E0358035C036003660370037C03800388038C0392039603A603AA03B003B403C003C403CE03D203DE03E203E603EA03F003F803FC0304040C0414041C042004240428042E043A04400444044E0452045A045E0464046A046E047C04800484048A04900494049C04A004AA04B404B804BE04C204C604D204D604DC04EA04F404F804000504050C05120518051E0528052C0534053805000042054C05660500006C05000076058005A0050000A6050000B005BA05CA05DA05F40510062606380600004A060000540600005E060000680672060000780682069C060000A2060000AC06B6060000BC060000C6060000D006DA06FA06100700001A070000240700002E07000038070000420700004C07560770079007B007CA070000D4070000DE07E80708082E084E0800005808000062086C088608A608D008F608260946096C0986090000900900009A09A409BE09D809F2090C0A260A00002C0A360A500A6A0A840A9E0AB80A0000BE0AC80AE20AFC0A160B300B4A0B0000500B5A0B740B8E0BA80BC20BDC0B0000E20BEC0B060C200C3A0C540C6E0C0000740C7E0C980CB20CCC0CE60C000D0000060D100D2A0D440D5E0D780D920D0000980DA20DBC0DD60DF00D0A0E240E00002A0E340E4E0E680E820E9C0EB60E0000BC0EC60E0000D00EDA0E0000E00E0000EA0EF40E0000FA0E040F140F240F400F560F00005C0F660F800FA00FC00FCA0FEA0FF40F0000FA0F000004100E101E102E104A106010000066100000701000007A10841000008A100000941000009E100000A8100000B210BC100000C2100000CC10D6100000DC100000E6100000F0100000FA1004111E11281100002E113811581172119211B211D811E2110000E8110000F211FC1110121A12000020122A124A120000541200005E120000681272127C120000821200008C12000096120000A0120000AA120000B412BE12DE12E8120000EE120000F81202132213421300004C1300005613000060136A13000070137A139A13BA130000C413CE13E213021428140000321400003C144614501400005A14000064146E140000741400007E148814A214C814D814E814F8140000FE1400000815121500001815000022152C154C155C156C150000721500007C158615A615B6150000C0150000CA15D415DE15E815F2150000FC15000006160000101600001A16241600002A163416541600005A16000064166E168E1600009816A216C2160000CC16D616F0160000FA160417141700001E17000028170000321700003C17461700004C17561776179617BC170000C617D0170000D6170000E017EA170A18301800003A18000044184E186E1800007818000082188C18000092189C180000A2180000AC18B618D018EA1804191E190000321900003C1900004619501900005619601900006619000070197A19841900008E1900009819A219B219C2190000CC19D619F019101A00001A1A0000241A2E1A0000381A0000421A00004C1A561A701A901AA01A0000AA1A0000B41ABE1A0000C41ACE1AE81A021B0C1B161B0000201B2A1B441B6A1B0000741B00007E1B881B981B0000A81B0000B21BBC1BCC1B0000DC1BE61B0000EC1BF61B0000FC1B061C00000C1C161C261C361C00003C1C0000461C501C601C0000701C00000100FD010100190002000100FD0101001900040001007F0000000B001700050017000100050034000100190005001600190006000100FD010100190008000100FD01010019000A0001007F0000000B00010005000400010005008000010005000100010019000B00160019000C000100FD01010019000E000100FD0101001900100001007D0000000100960000001900110001007D0000000100960001001900120001007D00010001007E0000000B0007000500070001001900130001007D00010001007F0000000100960000000600070000001900140001007D0001000100960001000600070000001900150001007D00010016000600070000001900160001007D0001001600050007000100190017000100FD010100190019000100FD01010019001B000100FD01010019001D000100FD01010019001F001600190020000100FD0101001900220001007F0000000B000400050004000100050007000100190023001600190024000100FD010100190026000100FD010100190028001600190029000100FD01010019002B000100FD01010019002D000100FD01010019002F0001007F0000000500070001000800850046000B0085000500850001001900300001007E00000001007F00010005000400010019003100060085000000190032000100FD010100190034000100FD010100190036000100FD010100190038000100FD01010019003A000100FD01010019003C000100FD01010019003E0001007F0000000500040001000500850001000B00040019003F0001007E00000001007F000100080085004B000B0085000500850001001900400001007D00000001007E0001000B000100050085000100050001000100190041000100810000000800850019000B00850005008500010019004200060085000000190043000100FD010100190045000100FD0101001900470001007F0000000500040001000500200001000B0004000500010001001900480001007E00000001007F000100080020004B000B0020000500200001000500010001001900490001007D00000001007E0001000500200001000B00010005000100010019004A0008002000190019004B000100FD01010019004D000100FD01010019004F0001007F0000000500070001000B0001000500010001001900500001007E00000001007F0001000500070001000B0007000500010001001900510001007D00000001007E000100010080000000040007000500070001000B0001000500010001001900520001008100000001007D0001000100960000000500070001000B0007000500010001001900530001008100000001007D000100010080000000010096000100040007000500070001000B0007000500010001001900540001008200000001007F0001000500040001000500070001000B0004001900550001007D0001000100820001000100830000000500040001000500070001000B000700190056000100840000000800040032000B00010005000100010019005700060007000000190058000100FD01010019005A000100FD01010019005C002500000001000100000001006800000001006500000019005D002500000003000100000001006800010001006500000019005D002500000008000300000001006800020001006500000019005D002500000009000000000001006800030001006500000019005D002500000009000600000001006800040001006500000019005D00160019005E000100FD010100190060002500000000000000000001006800000001006500010019005D002500000000000800000001006800010001006500010019005D002500000001000200000001006800020001006500010019005D002500000004000700000001006800030001006500010019005D002500000009000800000001006800040001006500010019005D00160019005E000100FD010100190062002500000004000300000001006800000001006500020019005D002500000007000700000001006800010001006500020019005D002500000007000800000001006800020001006500020019005D00250000000D000800000001006800030001006500020019005D00250000000E000100000001006800040001006500020019005D00160019005E000100FD010100190064002500000000000400000001006800000001006500030019005D002500000001000600000001006800010001006500030019005D002500000002000800000001006800020001006500030019005D002500000004000700000001006800030001006500030019005D002500000007000000000001006800040001006500030019005D00160019005E000100FD010100190066002500000001000200000001006800000001006500040019005D002500000003000400000001006800010001006500040019005D002500000004000200000001006800020001006500040019005D002500000006000000000001006800030001006500040019005D002500000006000400000001006800040001006500040019005D00160019005E000100FD010100190068002500000000000000000001006800000001006500050019005D002500000000000900000001006800010001006500050019005D002500000001000700000001006800020001006500050019005D002500000002000200000001006800030001006500050019005D002500000005000700000001006800040001006500050019005D00160019005E000100FD01010019006A002500000002000400000001006800000001006500060019005D002500000006000300000001006800010001006500060019005D002500000008000600000001006800020001006500060019005D00250000000D000600000001006800030001006500060019005D00250000000E000800000001006800040001006500060019005D00160019005E000100FD01010019006C002500000000000D00000001006800000001006500070019005D002500000001000A00000001006800010001006500070019005D002500000001000D00000001006800020001006500070019005D002500000008000500000001006800030001006500070019005D00250000000A000A00000001006800040001006500070019005D00160019005E000100FD01010019006E002500000000000300000001006800000001006500080019005D002500000000000800000001006800010001006500080019005D002500000002000100000001006800020001006500080019005D002500000002000500000001006800030001006500080019005D00250000000A000700000001006800040001006500080019005D00160019005E000100FD01010019007000060080000000190071000100FD01010019007300160019005E000100FD010100190075000100FD010100190077001600190078000100FD01010019007A0001007D00000001009700000019007B0001007D00000001009700010019007C0001007D00010001007F00000001009700000006008000000019007D0001007D00010001009700010006008000000019007E00160019007F000100FD0101001900810001007D0000000500340001000500170001000B0034001900820001007E0000000500050001000500170001000B0002000500020001001900830001007E00010001007F00000005000500010005000C0001000B000C001900840006000C0000001900850001007F0001000100810000000500170001000B00020005000200010019008600080017001400190087001600190088000100FD01010019008A000100FD01010019008C0001007D00000001009800000019008D0001007D00000001009800010019008E0001007D00010001007F00000001009800000006002200000019008F0001007D000100010098000100060022000000190090001600190091000100FD010100190093000100FD010100190095000100FD010100190097001600190098000100FD01010019009A000100FD01010019009C000100FD01010019009E000100FD0101001900A0000100FD0101001900A20016001900A3000100FD0101001900A5000100FD0101001900A70016001900A8000100FD0101001900AA000100FD0101001900AC000100FD0101001900AE000100FD0101001900B00001007D00000005001E0001000B001E000500020001001900B10006001E0000001900B20016001900B3000100FD0101001900B50001007D00000008001E003C0005001E0001000500110001000B001E001900B60001007E0000000500110001000B0011000500020001001900B70001007E00010001007F0000000500110001000B0002000500020001001900B80001007F0001000100810000000500110001000B0011000500020001001900B90001007E00010001008200000005001E0001000500110001000B001E000500020001001900BA000800110014001900BB0016001900BC000100FD0101001900BE000100FD0101001900C00001007D0000001800020007000B0000001900C1000600110000001900C20016001900C3000100FD0101001900C50001007D0000000800020032000B0002000500020001000500430001001900C6000600430000001900C7000100FD0101001900C9000100FD0101001900CB000100FD0101001900CD000600150000001900CE0016001900CF000100FD0101001900D1000100FD0101001900D3000100FD0101001900D5000100FD0101001900D7000100FD0101001900D9000100FD0101001900DB0001007D0000000800320050000B0032000500320001000500030001001900DC000600320000001900DD0016001900DE000100FD0101001900E0000100FD0101001900E20001007D0000000800100046000B0010000500100001000500020001001900E30001007D00010001007E0000000500300001000B0030000500020001001900E4000800100014001900E5000100FD0101001900E7000100FD0101001900E9000100FD0101001900EB0016001900EC000100FD0101001900EE0001007D0000000800260050000B0026000500260001000500020001001900EF0001007D00010001007E0000000500260001000B0002000500020001001900F0000800260014001900F1000100FD0101001900F30001007D0000000500280001000B0028001900F40001007D00010001007E0000000500280001000B0002000500020001001900F50001007E00010001007F000000080028003C000B0028000500280001000500020001001900F6000600280000001900F7000100FD0101001900F9000100FD0101001900FB0001009D0000001900FC0001009D0001001900FD000100FD0101001900FF000100FD010100190001011600190002010100FD010100190004010100FD0101001900060101007D00000005001A0001000B0002000500020001001900070101007D00010001007E00000005001A0001000500800001000B001A000500020001001900080101007F00000008001A0014001900090101007F00000006001900000019000A0101007F00010006001900000019000B01160019000C010100FD01010019000E010100FD010100190010011600190011010100FD010100190013010100FD0101001900150101007D00000005001900010005001A0001000B0002000500020001001900160101007E00000008001A0028001900170101007E000000080019002800190018011600190019010100FD01010019001B010100FD01010019001D0101007D000000080028004B000B00020005002800010005000200010019001E0101007E00000008002800190019001F0106003C000000190020010100FD010100190022010100FD010100190024010600290000001900250108001B0014001900260108002D0014001900260108002E001400190026010100FD010100190028010100FD01010019002A010100FD01010019002C010100FD01010019002E01160019002F010100FD0101001900310101007D0000000800250050000B000300050025000100050003000100190032011600190033010100FD010100190035010100FD0101001900370101007D0000000800270046000B00030005002700010005000300010019003801060027000000190039010100FD01010019003B0101007D00000008002B004B000B00030005002B00010005000300010019003C0106002B00000019003D010100FD01010019003F0101007D0000000B00030005004000010005000300010019004001060040000000190041010100FD0101001900430101007D000000080041000A0019004401060049000000190045010100FD010100190047010100FD010100190049010100FD01010019004B010100FD01010019004D01160019004E010100FD0101001900500101007D00000008002F0050000B00030005002F0001000500030001001900510101007D00010001007E00000008002F0032000B002F0005002F0001001900520101007E00010001007F00000008002F0032000B00030005002F0001000500030001001900530108002F000F00190054010100FD010100190056011600190057010100FD010100190059010100FD01010019005B0101007D000000080010004B000B00100005001000010005000500010019005C0101007D00010001007E000000080010004B000B00030005001000010005000300010019005D0106001000000019005E010100FD010100190060010100FD0101001900620101007D00000008002B004B000B002B0005002B0001000500030001001900630106002B000000190064010100FD010100190066010100FD010100190068011600190069010100FD01010019006B01160019006C010100FD01010019006E010100FD0101001900700101007D00000001007E000000180003000800070000001900710101007D00000001007E000100180003000800070000001900720101007D00000001007E000000180003000800020000001900730101007D00010001007E000000180003000800020000001900740101007F0000000500030001000B0003001900EA010100FD010100190076010100FD010100190078010100FD01010019007A01160019007B010100FD01010019007D01160019007E010100FD010100190080010100FD0101001900820108002D0014001900830108002E001400190083010100FD010100190085010100FD0101001900870101007D00000006002D0000001900880101007E00000006002E0000001900890108001B000A0019008A010100FD01010019008C0101007D00000005002A0001000500030001000B002A0019008D0101007D00010001007E00000005002A0001000500030001000B00030019008E0106003E00000019008F010100FD0101001900AB010100FD0101001900AD0101007D0001001900AE010100FD0101001900B0010100FD0101001900B2010100FD0101001900B40101007D0000000500080001000500030001000B0008001900B50101007D00010001007E0000000500090001000500080001000B0009001900B60101007F0000000600090000001900B7010600450000001900B8010100FD0101001900BA010100FD0101001900BC0116001900BD010100FD0101001900BF0101007D00000005002400010005002A0001000B002A001900C00101007E0000000500240001000500030001000B0003001900C101080024000A001900C201080025000A001900C201080027000A001900C2010100FD0101001900C40101007D0000000500080001000500030001000B0003001900C50101007D00010001007E0000000500080001000800080032000500030001000B0008001900C6010600080000001900C7010100FD0101001900C9010100FD0101001900CB010100A10000000100A20000001900CC010100A10001000100A20000001900CD010100FD0101001900CF010100FD0101001900D1010100A70000000100A80000001900D2010100A70000000100A80001001900D3010100FD0101001900D50116001900D6010100FD0101001900D80116001900D9010100FD0101001900DB0116001900DC010100FD0101001900DE0106004800000005001F0001001900DF0106004800000006001F0000001900E00116001900E1010100FD0101001900E3010100FD0101001900E50101007D0000000600800000001900E60101007D0001000600800000001900E7010100FD0101001900E901
</Location>
</Patch>
</Patches>


pretty sure its my excel causing the problem because I copied and pasted your example and it shows up just fine in fftorgasm
I made sure the analysis toolpad was enabled...using excel 2007...not sure what I am missing, Its probably something simple..
please help.
10
Help! / Re: Is it possible to add more encounters?
November 18, 2016, 05:02:37 pm
QuoteAlso! In your ASM hack that turns off the music (i think random encounter music is too repetitive, then I put another song in the background), how can you turn it on again?


For this i just made two isos.. one with all my asm hacks except for the no music hack and then another iso with the no music hack included. Not sure if there would be another way.
11
Help! / I want to defeat all enemies!
November 18, 2016, 03:46:04 pm
hello, I was looking to change the winning conditions of pretty much all the story battles in the game that have 'defeat x-unit' to 'defeat all enemies'

I have been working on a somewhat vanilla patch recently after a couple years away from all the editors and I cant seem to figure out which procedure is the most up-to-date.
I also have zero experience with xml editors and hex editors.

I tried using the battle evend conditionals editor spreadsheet with no success..

what I tried: I had a saved state for underground book storage 5th floor so I tested that with replacing 06002500000019003301 with 06002500160019003301 pasted the blue section into the attack.out (using HxD.. not sure whats good) starting at offset x014E70. I made sure to write over and not insert paste and then hit save, imported the attack.out to my iso and tested it out. The battle started right up with no text or the winning conditions displaying..it was just ramza's turn. The battle was also never ending even when rofel died and ramza turned into treasure.

So I was wondering if I was going about this all wrong or am I on the right track, just doing it wrong by jumping right in and not understanding hex.



12
Edit: Ok so this was just for editing the IMAGES of the winning conditions and not actually editing the winning conditions themselves, which I would have to do through the attack.out, xml editing, and changing all the display conditions for each event. Unless I am just completely mixed up, but it doesn't seem changing some images would do what I am looking to do..
13
Thanks for the quick response. Now I am stuck on:
11) Open the BMP in TIMUTIL.EXE
12) Convert to a 4bit TIM with translucent all but black & transparent black
13) Start "Bonus Bin Utility.exe", Select your BONUS.BIN file (must be extracted from you ISO), Then select your .TIM file, and hit save.
14) Import BONUS.BIN and enjoy!

I have windows 7 so I used timtool like choto said on page 6 i think it was, converted a file no problem.. after that I extracted the bonus.bin file from cdmage, but nothing happens when I hit open bonus.bin. It just acts like something happened .. I thought that was normal so I tried importing the .tim but I just get this error "error: Could not read file from disk. Original Error: Index was outside the bounds of the array"
14
Hello, I was looking into editing the winning conditions of the last few battles so I have to kill everything not just a single shrine knight. I just downloaded graphicsgale for the first time and I can't seem to get passed this part: "7) Import the first palette from the 8bit original BMP and black for everything else. Make sure the "Match Pixels with Colors" box is checked."  I am assuming that picture that doesn't load in the example drop box was supposed to help   :cry:

I see three import options, 2 under file and 1 under edit...I tried all 3  :lol:, opening the original 8-bit through those but then I get lost... Not sure what "black for everything else" means.

Those ending battles need some spice in my vanilla-ish patch, any help would be much appreciated.

edit: and thank you for the awesome event tutorial that helped out a ton

15
I have just been looking at the original event codes and try to go with the flow by adding in my commands where the original are.
like this small example...
original commands
AddUnitPrep()
UnitPresent(x84,x00,x01)
UnitPresent(x85,x00,x01)
AddUnitStart()
Wait(00030)


my commands
AddUnitPrep()
UnitPresent(x84,x00,x01)
UnitPresent(x85,x00,x01)
UnitPresent(x86,x00,x01)
UnitPresent(x87,x00,x01)
UnitPresent(x88,x00,x01)
AddUnitStart()


and then the same kind of stuff for draw/colorunit/unitanim/etc.

it has worked pretty smoothly so far but before xif helped me out with the spritemove I was just winging it by adding those extra guys when they were off camera or sometimes just behind an object so you couldn't see them just warp-in out of nowhere and not make an animation. Otherwise it just looked awkward to have a bunch of guys walk in with one or two guys magically warping in :)
16
heh, yea I think you misunderstood what i meant by adding units after a guy whistles or something. I am not adding units mid battle but just making it so at the beginning of the fight I am up against say 10 guys instead of just 6. For example, in the screenshot I took for the barius valley battle where you have to save agrias the battle doesn't just start right after you finish your formation setup like it would for a random battle. It starts with agrias running into picture and the guy chasing her then he whistles to call his buddies in...thats when I am adding the extra units...so they all walk into battle together.

When I went through redoing all the random battles to make it so I am fighting giant mobs of monsters all the time I only had to use the fftpatcher and just put always present or randomly present...you can do that for some of the story battles too but if I did it with say that barius valley battle they would be standing there even before agrias walks into picture.

And I meant to say... I wasn't adding another unit on top of a unit that is already at a specific coordinate.

Yea sorry about that, I was trying to paraphrase all the stuff I was thinking so I didn't have a wall of text. I have been trying to learn as much as possible on this stuff so thanks again for the help
17
QuoteFirst of all, you can't do that. The game will break terribly if any other unit is present where the new one is supposed to spawn. That will make 2 units on top of each other, and those 2 units won't be able to do anything because the AI can't handle this and just wait, and I'm pretty sure it causes them to gain infinite turns.


not sure where you got that from, i am just adding more units to the battles while remaining within the limit of 16. I wasn't adding more units to a specific coordinate though.

QuoteAs for your code itself, you're completely misinterpreting the whole thing. Coordinates are absolute, but relative to the tile the unit is linked to. not relative to the sprite's position. Meaning if you want the unit to go back to the center of its tile, X/Y/Z all have to be 0.


This helps a lot though. Yea I figured I had something wrong especially since I don't know anything about coding. Thanks for the quick reply xif, you saved me a lot of time.
18
Hey all, somewhat new to the site, i have been doing minor changes to the original game...like making battles harder by adding more units to fight and what not... So I have been using the event editor, reading up on the tutorials to edit the story battles, the last thing I have left. 

I have searched quite a lot but haven't been able to find what I was looking for...In some of the story battles more units join the battle after "X" happens (like a guy whistles, or something like that) so I have been trying to use the spritemove command for the extra units that I am adding to walk into the battle with the rest of the units that normally do so and I keep getting stuff like...


unit facing isn't important in this, i know that is messed up, I am just trying to fix it so the guy is actually standing on one panel and not in the middle of two. The way the map is set up he should only be moving on the Y axis but I even tried changing around the axis with no success

this is what i have added into the original event if it helps..
ColorUnit(x88,x00,x01,-006,-004,-002,000)
SpriteMove(x88,x00,+00016,+00000,+00000,x00,x01,+00000)
UnitAnim(x88,x00,x03,x00,x00)
Draw(x88,x00)
ColorUnit(x88,x00,x08,+000,+000,+000,004)
SpriteMove(x88,x00,-00016,+00000,+00000,x00,x01,+00020)
WaitSpriteMove(x88,x00)
UnitAnim(x88,x00,x02,x00,x00)


I based it off of the code I saw at http://ffhacktics.com/smf/index.php?topic=9506.msg185603#msg185603. My use of it might be wrong though as I am still trying to figure everything out with easyvent. I have tried several different combos messing with the xyz but I cant seem to figure it out. If anyone could help me out with this or if you know a better way of acheiving the "walk onto the battlefield effect" it would save me a lot of time doing guess and check with the editor. thanks in advance