øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;u=123;area=showposts;start=435e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexde32.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;area=showposts;u=123e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexde32.html.zxòg^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈÀKYåOKtext/htmlISO-8859-1gzip@øÕYåÿÿÿÿÿÿÿÿTue, 10 Mar 2020 20:17:48 GMT0ó°° ®0®P®€§²ð®òg^ÿÿÿÿÿÿÿÿ‚=Yå Show Posts - Grimoire LD

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 - Grimoire LD

436
Final Fantasy IV Research & Development / Re: Throw's Special Graphic
« on: February 04, 2015, 11:27:19 AM »
Oh, I was a bit careless in my labels...

You want to change...

$03/E900  A9 C0   LDA #$C0   A:0003   X:0046   Y:FFFF   P:envMxdizc - Load Weapon Swing into A.
$03/E902   8D C4 33   STA $33C4  [$7E:33C4]   A:00C0   X:0046   Y:FFFF   P:eNvMxdizc - Store A in Audio/visual commands.
$03/E905   D0 08   BNE $09    [$E910]   A:0000   X:0010   Y:0000   P:envMxdiZc -If not, branch to 03E910.

And that should do it if you had no plans for Frog Song spot's inclusion...

If you had plans then you can work it into there, I'd say. Just let me know if you need any assistance in that regard.

437
Final Fantasy IV Research & Development / Re: Throw's Special Graphic
« on: February 04, 2015, 06:07:07 AM »
I'm also interested in the answer to this. I'd like FF4kster to be able to edit command "stances" generally if possible.

The "Bonk!" command referenced in the other thread used to be Edward's sing; it has four different effects it randomizes between. But for flavor reasons, it seems extremely odd that she appears to "cast" and then white magic orbs come out. Ideally she should swing her weapon, or even just doing the "attacking" animation/stance would be acceptable.

You would have to sacrifice Frog Song's spot (hope you didn't have anything special planned there...?) but you can easily put in the AV code for a Weapon Strike which consists of the code...

$03/DCF0   A9 C0   LDA #$C0   A:0003   X:0046   Y:FFFF   P:envMxdizc - Load Weapon Swing into A.
$03/DCF2   8D C4 33   STA $33C4  [$7E:33C4]   A:00C0   X:0046   Y:FFFF   P:eNvMxdizc - Store A in Audio/visual commands.

It takes just five bytes and is rather universal in many respects.

You may also get away with erasing the useless Sing Message at the end of the routine, but I'm not sure where precedence lies with the spells or the ending... I suppose it would be worth a shot in any event.

$03/E947   A9 08   LDA #$08   A:0010   X:0680   Y:001A   P:envMxdizC - Load 08 (Sing) into A.
$03/E949   8D C8 34   STA $34C8  [$7E:34C8]   A:0008   X:0680   Y:001A   P:envMxdizC - Store A in Mini-Battle Message Data

438
Here is some preliminary instructions on Visual Effects. To be more specific Visual Effect 01. Credit goes to Avalanche for finding the pointer...

Now Speaking of pointers oh boy... does this Ever love to use them,  Jumps to Jumps to sometimes even More Jumps!

All to do with graphics and timing I imagine, but I didn't find out much, and ended up being more confused than enlightened.

Visual Effect 01 - Airships Flying over Mt. Ordeals.


Effect 01 - Red Wings Flying over Islands 011BD8

Code: [Select]
$00/D81B A9 E1 LDA #$E1 A:00D8 X:0000 Y:0002 P:eNvMxdizc - Load (?X Coordinate) E1 into A
$00/D81D 8D 06 17 STA $1706  [$00:1706] A:00E1 X:0000 Y:0002 P:eNvMxdizc - Store A in Map Location X.
$00/D820 A9 FE LDA #$FE A:00E1 X:0000 Y:0002 P:eNvMxdizc - Load (?Y Coordinate) FE into A.
$00/D822 8D 07 17 STA $1707  [$00:1707] A:00FE X:0000 Y:0002 P:eNvMxdizc - Store A in Map Location Y.
$00/D825 20 4A D9 JSR $D94A  [$00:D94A] A:00FE X:0000 Y:0002 P:eNvMxdizc - Jump to Subroutine. (Might be Map Drawing routine)


----------------------------------
$00/D94A 9C 00 17 STZ $1700  [$00:1700] A:00FE X:0000 Y:0002 P:eNvMxdizc - Store Zero in Index of Current World
$00/D94D A9 04 LDA #$04 A:00FE X:0000 Y:0002 P:eNvMxdizc - Load 04 into A.
$00/D94F 8D 04 17 STA $1704  [$00:1704] A:0004 X:0000 Y:0002 P:envMxdizc - Load Vehicle into A. (It says this, clearly, but changing it doesn't accomplish anything)
$00/D952 20 02 85 JSR $8502  [$00:8502] A:0004 X:0000 Y:0002 P:envMxdizc - Jump to Subroutine


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$00/8502 20 4E 83 JSR $834E  [$00:834E] A:0004 X:0000 Y:0002 P:envMxdizc - Jump to Subroutine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$00/834E A9 80 LDA #$80 A:0004 X:0000 Y:0002 P:envMxdizc - Load 80 into A.
$00/8350 8D 00 21 STA $2100  [$00:2100] A:0080 X:0000 Y:0002 P:eNvMxdizc - Store A in ?Slot 3's Identifier?
$00/8353 9C 0C 42 STZ $420C  [$00:420C] A:0080 X:0000 Y:0002 P:eNvMxdizc - Store Zero in 420C.
$00/8356 9C 00 42 STZ $4200  [$00:4200] A:0080 X:0000 Y:0002 P:eNvMxdizc - Store Zero in 4200.
$00/8359 78 SEI A:0080 X:0000 Y:0002 P:eNvMxdizc - Set Interrupt Disabled Flag
$00/835A 20 59 8F JSR $8F59  [$00:8F59] A:0080 X:0000 Y:0002 P:eNvMxdIzc - Jump to Subroutine (???)
(Store lots of Zero's and lots of ones in the 0006XX part of RAM)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$00/85AB 20 DB 85 JSR $85DB  [$00:85DB] A:0010 X:0000 Y:0002 P:envMxdIZC Jump to Subroutine (Clear Status Byte 2 of all but Float... I don't get it either.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$00/85DB A2 00 00 LDX #$0000 A:0010 X:0000 Y:0002 P:envMxdIZC - Load 0000 into X.
$00/85DE BD 04 10 LDA $1004,x[$00:1004] A:0010 X:0000 Y:0002 P:envMxdIZC - Load A from Slot 1's Status Byte 2.
$00/85E1 29 BF AND #$BF A:0000 X:0000 Y:0002 P:envMxdIZC  - Clear Curse, Paralyze, Sleep, Charm, Berserk, Petrify, or Calcify... (WHY?! All of those are in-battle status!)
$00/85E3 9D 04 10 STA $1004,x[$00:1004] A:0000 X:0000 Y:0002 P:envMxdIZC - Store A in Slot 1's Status Byte 2.
$00/85E6 20 30 E5 JSR $E530  [$00:E530] A:0000 X:0000 Y:0002 P:envMxdIZC - Jump to Subroutine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
$00/E530 C2 20 REP #$20 A:0000 X:0000 Y:0002 P:envMxdIZC - Reset Processor Status.
$00/E532 8A TXA A:0000 X:0000 Y:0002 P:envmxdIZC - Transfer X to A.
$00/E533 18 CLC A:0000 X:0000 Y:0002 P:envmxdIZC - Clear Carry.
$00/E534 69 40 00 ADC #$0040 A:0000 X:0000 Y:0002 P:envmxdIZc - Add 40 onto A.
$00/E537 AA TAX A:0040 X:0000 Y:0002 P:envmxdIzc - Transfer A to X.
$00/E538 A9 00 00 LDA #$0000 A:0040 X:0040 Y:0002 P:envmxdIzc - Load 0000 into A.
$00/E53B E2 20 SEP #$20 A:0000 X:0040 Y:0002 P:envmxdIZc - Set Processor Status
$00/E53D 60 RTS A:0000 X:0040 Y:0002 P:envMxdIZc - Return
~~~~~~~~~~~~~~~~~~~`
$00/85E9 E0 40 01 CPX #$0140 A:0000 X:0040 Y:0002 P:envMxdIZc - Has it done this for all five slots?
$00/85EC D0 F0 BNE $F0    [$85DE] A:0000 X:0040 Y:0002 P:eNvMxdIzc - If not, loop back until done.
$00/85EE 60 RTS A:0000 X:0140 Y:0002 P:envMxdIZC
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$00/85AE 64 D1 STZ $D1    [$00:06D1] A:0000 X:0140 Y:0002 P:envMxdIZC - Store Zero in 06D1.
$00/85B0 A5 85 LDA $85    [$00:0685] A:0000 X:0140 Y:0002 P:envMxdIZC - Load A from 0685.
$00/85B2 D0 05 BNE $05    [$85B9] A:0000 X:0140 Y:0002 P:envMxdIZC - If 00, branch past.
$00/85B4 A9 02 LDA #$02 A:0000 X:0140 Y:0002 P:envMxdIZC - Load 02 into A.
$00/85B6 8D 05 17 STA $1705  [$00:1705] A:0002 X:0140 Y:0002 P:envMxdIzC - Load "Facing Down" into Direction
$00/85B9 64 85 STZ $85    [$00:0685] A:0002 X:0140 Y:0002 P:envMxdIzC - Store Zero in 06B5.
$00/85BB A9 07 LDA #$07 A:0002 X:0140 Y:0002 P:envMxdIzC - Load 07 into A.
$00/85BD 8D 05 21 STA $2105  [$00:2105] A:0007 X:0140 Y:0002 P:envMxdIzC - These are odd and do not actually correspond to what they're listed as. I'm not sure what is going on there.)
$00/85C0 A9 11 LDA #$11 A:0007 X:0140 Y:0002 P:envMxdIzC
$00/85C2 8D 2C 21 STA $212C  [$00:212C] A:0011 X:0140 Y:0002 P:envMxdIzC
$00/85C5 9C 30 21 STZ $2130  [$00:2130] A:0011 X:0140 Y:0002 P:envMxdIzC
$00/85C8 9C 31 21 STZ $2131  [$00:2131] A:0011 X:0140 Y:0002 P:envMxdIzC
$00/85CB A5 B1 LDA $B1    [$00:06B1] A:0011 X:0140 Y:0002 P:envMxdIzC
$00/85CD D0 03 BNE $03    [$85D2] A:0001 X:0140 Y:0002 P:envMxdIzC
$00/85D2 22 81 B1 15 JSL $15B181[$15:B181] A:0001 X:0140 Y:0002 P:envMxdIzC
(The rest of this is gobbledegook to me, I'm afraid.)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$00/D828 A2 80 00 LDX #$0080 A:0081 X:0010 Y:0080 P:eNvMxdIzc - Load 0080 into A.
$00/D82B 20 56 DF JSR $DF56  [$00:DF56] A:0081 X:0080 Y:0080 P:envMxdIzc - Jump to Subroutine (???)
$00/D82E 20 0F 8F JSR $8F0F  [$00:8F0F] A:0000 X:0000 Y:0080 P:envMxdIZc - Jump to Subroutine (flashes the ships in and out when nulled?)
$00/D831 20 36 D9 JSR $D936  [$00:D936] A:0000 X:0000 Y:0080 P:envMxdIzc - Jump to Subroutine
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~```
$00/D936 A5 7A LDA $7A    [$00:067A] A:0000 X:0000 Y:0080 P:envMxdIzc - Load the value from 067A into A.
$00/D938 29 07 AND #$07 A:0081 X:0000 Y:0080 P:eNvMxdIzc - Get rid of 1,2,4.
$00/D93A D0 08 BNE $08    [$D944] A:0001 X:0000 Y:0080 P:envMxdIzc - If not 00 branch elsewhere.
-------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------
$00/D944 A5 80 LDA $80    [$00:0680] A:0001 X:0000 Y:0080 P:envMxdIzc - Load the value from 0680 into A.
$00/D946 8D 00 21 STA $2100  [$00:2100] A:0000 X:0000 Y:0080 P:envMxdIZc  - Store A in ?2100?
$00/D949 60 RTS A:0000 X:0000 Y:0080 P:envMxdIZc - Return
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
$00/D834 A9 08 LDA #$08 A:0000 X:0000 Y:0080 P:envMxdIZc - Load 08 into A.
$00/D836 85 05 STA $05    [$00:0605] A:0008 X:0000 Y:0080 P:envMxdIzc - Store A in 0605.
$00/D838 A9 01 LDA #$01 A:0008 X:0000 Y:0080 P:envMxdIzc - Load 01 into A.
$00/D83A 85 D5 STA $D5    [$00:06D5] A:0001 X:0000 Y:0080 P:envMxdIzc - Store A in 06D5.
$00/D83C 20 E9 D8 JSR $D8E9  [$00:D8E9] A:0001 X:0000 Y:0080 P:envMxdIzc - Jump to Subroutine.
$00/D83F A5 80 LDA $80    [$00:0680] A:0000 X:0010 Y:0050 P:enVMxdIZC - Load A from 80.
$00/D841 C9 0F CMP #$0F A:0000 X:0010 Y:0050 P:enVMxdIZC - Is it 0F? (Something with a timer of some kind?)
$00/D843 D0 E9 BNE $E9    [$D82E] A:0000 X:0010 Y:0050 P:eNVMxdIzc - If not, loop back.
------------------------------------------Ships starting to move--------------------------
$00/D845 A2 E0 01 LDX #$01E0 A:000F X:0010 Y:0050 P:enVMxdIZC - Load 01E0 into X. (Length of time to display the Visual Effect)
$00/D848 86 89 STX $89    [$00:0689] A:000F X:01E0 Y:0050 P:enVMxdIzC - Store X in 0689.
$00/D84A 20 0F 8F JSR $8F0F  [$00:8F0F] A:000F X:01E0 Y:0050 P:enVMxdIzC - (May actually be a time routine of some sort)
$00/D84D A9 08 LDA #$08 A:0000 X:01E0 Y:0050 P:enVMxdIzC - Load 08 into A (Direction moving?)
00 - Stop
01 - Right
02 - Left
04 - Down
08 - Up
$00/D84F 85 05 STA $05    [$00:0605] A:0008 X:01E0 Y:0050 P:enVMxdIzC - Store A in 0605 (I've just noticed that the entry above of 0605 is also the same case.)
$00/D851 20 E9 D8 JSR $D8E9  [$00:D8E9] A:0008 X:01E0 Y:0050 P:enVMxdIzC - Jump to Subroutine (which jumps immediately to Another subroutine...)
$00/D854 A6 89 LDX $89    [$00:0689] A:0000 X:0010 Y:0050 P:enVMxdIZC - Load the value from 89 (In this case, Timer) into X.
$00/D856 CA DEX A:0000 X:01E0 Y:0050 P:enVMxdIzC - -1 to X.
$00/D857 86 89 STX $89    [$00:0689] A:0000 X:01DF Y:0050 P:enVMxdIzC - Store X in 89.
$00/D859 D0 EF BNE $EF    [$D84A] A:0000 X:01DF Y:0050 P:enVMxdIzC - Loop if not 00.
-----------------------------------------Ships moving up--------------------------
$00/D85B 20 0F 8F JSR $8F0F  [$00:8F0F] A:0000 X:0000 Y:0050 P:enVMxdIZC - Same Timer Subroutine.
$00/D85E 20 24 D9 JSR $D924  [$00:D924] A:0000 X:0000 Y:0050 P:enVMxdIzC - Subroutine (???)
$00/D861 A9 08 LDA #$08 A:000F X:0000 Y:0050 P:enVMxdIzC - Load Direction to move into A.
$00/D863 85 05 STA $05    [$00:0605] A:0008 X:0000 Y:0050 P:enVMxdIzC - Store A in 0605.
$00/D865 20 E9 D8 JSR $D8E9  [$00:D8E9] A:0008 X:0000 Y:0050 P:enVMxdIzC - Subroutine (???)
$00/D868 A5 80 LDA $80    [$00:0680] A:0000 X:0010 Y:0050 P:enVMxdIZC - Load the value from 80 into A.
$00/D86A D0 EF BNE $EF    [$D85B] A:000F X:0010 Y:0050 P:enVMxdIzC - If not 00 loop back.
-----------------(As the ships fade out)-------------
$00/D86C A9 03 LDA #$03 A:0000 X:0010 Y:0050 P:enVMxdIZC - Load 03 into A (Not sure... maybe to note normal play?)
$00/D86E 8D 00 17 STA $1700  [$00:1700] A:0003 X:0010 Y:0050 P:enVMxdIzC - Store A in 1700.
$00/D871 64 AC STZ $AC    [$00:06AC] A:0003 X:0010 Y:0050 P:enVMxdIzC - Store Zero in AC.
$00/D873 9C 04 17 STZ $1704  [$00:1704] A:0003 X:0010 Y:0050 P:enVMxdIzC - Store Zero in Vehicle.
$00/D876 4C D3 E0 JMP $E0D3  [$00:E0D3] A:0003 X:0010 Y:0050 P:enVMxdIzC - Jump Elsewhere.

Hopefully when I get out of the Overworld sections this will start to make a little more logical sense...

What I did find easily was Where on the World Map this was taking place. The timer for the visual effect, the directions the ships move in. what I did not find is how 5 Airships are spawned, their directional facing, and how to properly allocate the world maps (say to place this even on the Moon or the Underworld, trying as such only lead to glitched graphics)

The most confusing aspects is the reference to Stats, but even then I know it's not actually modifying stats. Or doing anything to the part of RAM it's claiming to change. I can't say at all what is happening there.

But maybe this will provide a framework nonetheless.

Here's the second one. It seems to follow the same suit.

Effect 02 - Red Wings Landing in Baron    01D879

Code: [Select]
---------------------------------------Ships Fly North------------------------
$00/D879 A9 65 LDA #$65 A:00D8 X:0002 Y:0002 P:eNvMxdizc - Load 65 into A (X Axis)
$00/D87B 8D 06 17 STA $1706  [$00:1706] A:0065 X:0002 Y:0002 P:envMxdizc - Store A in X Axis.
$00/D87E A9 00 LDA #$00 A:0065 X:0002 Y:0002 P:envMxdizc - Load 00 into A.
$00/D880 8D 07 17 STA $1707  [$00:1707] A:0000 X:0002 Y:0002 P:envMxdiZc - Store A in Y Axis.
$00/D883 20 4A D9 JSR $D94A  [$00:D94A] A:0000 X:0002 Y:0002 P:envMxdiZc - Jump to Possibly Map Drawing Routine
$00/D886 20 0F 8F JSR $8F0F  [$00:8F0F] A:0081 X:0010 Y:0080 P:eNvMxdIzc - Jump to Timer Routine
$00/D889 20 36 D9 JSR $D936  [$00:D936] A:0000 X:0010 Y:0080 P:envMxdIzc - Subroutine (???)
$00/D88C A9 08 LDA #$08 A:0000 X:0010 Y:0080 P:envMxdIZc - Load Direction moving into A.
$00/D88E 85 05 STA $05    [$00:0605] A:0008 X:0010 Y:0080 P:envMxdIzc - Store A in 0605
$00/D890 20 E9 D8 JSR $D8E9  [$00:D8E9] A:0008 X:0010 Y:0080 P:envMxdIzc - Jump to Moving Routine
$00/D893 A5 80 LDA $80    [$00:0680] A:0000 X:0010 Y:0050 P:enVMxdIZC - Load A from 80.
$00/D895 C9 0F CMP #$0F A:0000 X:0010 Y:0050 P:enVMxdIZC - Has it looped 16 times?
$00/D897 D0 ED BNE $ED    [$D886] A:0000 X:0010 Y:0050 P:eNVMxdIzc - If not, loop back.

------------------------------Ships continuing to Fly North-------------------------
$00/D899 A2 10 01 LDX #$0110 A:000F X:0010 Y:0050 P:enVMxdIZC - Load Timer of Effect into X.
$00/D89C 86 89 STX $89    [$00:0689] A:000F X:0110 Y:0050 P:enVMxdIzC - Store X in 89.
$00/D89E 20 0F 8F JSR $8F0F  [$00:8F0F] A:000F X:0110 Y:0050 P:enVMxdIzC - Timer Routine.
$00/D8A1 A9 08 LDA #$08 A:0000 X:0110 Y:0050 P:enVMxdIzC - Load Direction moving into A.
$00/D8A3 85 05 STA $05    [$00:0605] A:0008 X:0110 Y:0050 P:enVMxdIzC - Store A 0605.
$00/D8A5 20 E9 D8 JSR $D8E9  [$00:D8E9] A:0008 X:0110 Y:0050 P:enVMxdIzC - Jump to Moving Routine
$00/D8A8 A6 89 LDX $89    [$00:0689] A:0000 X:0010 Y:0050 P:enVMxdIZC - Load X from 89 (Timer)
$00/D8AA CA DEX A:0000 X:0110 Y:0050 P:enVMxdIzC - -1 to X.
$00/D8AB 86 89 STX $89    [$00:0689] A:0000 X:010F Y:0050 P:enVMxdIzC - Store X in Timer.
$00/D8AD D0 EF BNE $EF    [$D89E] A:0000 X:010F Y:0050 P:enVMxdIzC - If Timer is not 00 loop back.
-----------------------------Ships Stop Over Baron--------------------------------
$00/D8AF A2 40 00 LDX #$0040 A:0000 X:0000 Y:0050 P:enVMxdIZC - Load 0040 into X.
$00/D8B2 86 89 STX $89    [$00:0689] A:0000 X:0040 Y:0050 P:enVMxdIzC - Store X in Timer.
$00/D8B4 20 0F 8F JSR $8F0F  [$00:8F0F] A:0000 X:0040 Y:0050 P:enVMxdIzC - Timer Routine
$00/D8B7 64 05 STZ $05    [$00:0605] A:0000 X:0040 Y:0050 P:enVMxdIzC - Store Zero in Direction moving (Stop)
$00/D8B9 20 E9 D8 JSR $D8E9  [$00:D8E9] A:0000 X:0040 Y:0050 P:enVMxdIzC - Jump to Moving Routine
$00/D8BC A6 89 LDX $89    [$00:0689] A:0000 X:0010 Y:0050 P:enVMxdIZC - Load X from 89 (Timer)
$00/D8BE CA DEX A:0000 X:0040 Y:0050 P:enVMxdIzC - -1 to X.
$00/D8BF 86 89 STX $89    [$00:0689] A:0000 X:003F Y:0050 P:enVMxdIzC - Store X in Timer.
$00/D8C1 D0 F1 BNE $F1    [$D8B4] A:0000 X:003F Y:0050 P:enVMxdIzC - If Timer is not 00 loop back.
---------------------------Ships Landing in Baron-----------------------------------
$00/D8C3 20 35 8B JSR $8B35  [$00:8B35] A:0000 X:0000 Y:0050 P:enVMxdIZC - ???
$00/D8C6 20 0F 8F JSR $8F0F  [$00:8F0F] A:0085 X:0000 Y:0050 P:enVMxdIZC - Timer Routine
$00/D8C9 64 05 STZ $05    [$00:0605] A:0000 X:0000 Y:0050 P:enVMxdIzC - Store Zero in Movement.
$00/D8CB 20 24 D9 JSR $D924  [$00:D924] A:0000 X:0000 Y:0050 P:enVMxdIzC - (Partner to Timer)
$00/D8CE A5 80 LDA $80    [$00:0680] A:000F X:0000 Y:0050 P:enVMxdIzC - Load A from 80.
$00/D8D0 18 CLC A:000F X:0000 Y:0050 P:enVMxdIzC - Clear Carry Flag.
$00/D8D1 69 10 ADC #$10 A:000F X:0000 Y:0050 P:enVMxdIzc - Add 10 to A. (Height for landing)
$00/D8D3 85 AD STA $AD    [$00:06AD] A:001F X:0000 Y:0050 P:envMxdIzc - Store A in AD.
$00/D8D5 20 E9 D8 JSR $D8E9  [$00:D8E9] A:001F X:0000 Y:0050 P:envMxdIzc - ???
$00/D8D8 A5 80 LDA $80    [$00:0680] A:0000 X:0010 Y:0050 P:enVMxdIZC - Load A from 80.
$00/D8DA D0 EA BNE $EA    [$D8C6] A:000F X:0010 Y:0050 P:enVMxdIzC - Loop if not 00.
---------------------------------Screen fading to Black-------------------
$00/D8DC A9 03 LDA #$03 A:0000 X:0010 Y:0050 P:enVMxdIZC - Load 03 into A.
$00/D8DE 8D 00 17 STA $1700  [$00:1700] A:0003 X:0010 Y:0050 P:enVMxdIzC - Store A in World Index.
$00/D8E1 64 AC STZ $AC    [$00:06AC] A:0003 X:0010 Y:0050 P:enVMxdIzC - Load Zero in A
$00/D8E3 9C 04 17 STZ $1704  [$00:1704] A:0003 X:0010 Y:0050 P:enVMxdIzC - Store Zero in Vehicle
$00/D8E6 4C D3 E0 JMP $E0D3  [$00:E0D3] A:0003 X:0010 Y:0050 P:enVMxdIzC - Jump to Rest of Routine.

439
Final Fantasy IV Research & Development / Re: Graphics info
« on: February 03, 2015, 08:48:41 PM »
That looked great! And rather challenging too, I noticed some interesting things here...

Obviously that you have the Twins, Edge and Dark Knight Cecil. A new command called "Bonk!" (Great in-character reference by the way) for Porom, Tornado being a damage spell instead of 0-9 HP. A set of Black Magic for Cecil and oddly a set of Black Magic for Edge, seemingly losing his unique Ninjutsu. Rosa has Charge instead of Aim. Dark Knight Cecil starts with the Chaos Blade (Oh wonderful FFT/XII Reference!) in this battle and can equip swords. Coral Sword from Easytype making an appearance.

The new spells are Awake (I imagine it does what it says), Demi (A very interesting idea for a spell, may I add. The routine was there all along after all.) Berserk as a Black Magic, Warp as a White Magic.

All in all I am impressed by what I'm seeing! I had thought from the sounds of it it would be a tech demo sort of deal, but it seems you are going all out. I can't wait for news for this!

440
Now that I think of it, yes... that probably was the problem. But now I don't remember what I was doing where that was the preferred method... oh right! The party clear. Yeah, I'll try that and see if it works.

It worked wonderfully! Great find there Avalanche! That makes it feel So much more natural than "leave the ship, re-enter the ship for everyone to reappear." This makes so much more sense.

441
Very nice updates! It helps to make custom bosses, that's for certain! I also really like the Palette chooser option as the next logical step from there is a Palette editor, possibly in all matters from Spells, to Monsters, to Weapons.

442
Hah! I was completely unaware. Good find indeed Avalanche.

443
Well as it turns out it seems that my Infinite Arrow Fix only ended up creating more bugs... so as sad as I am to say it, none of it is a valid alternative, the game looks at too much and focuses too much on certain numbers in this case to safely change. If I could just make the original code to look at the Bow-Wielder as soon as the attack is used and not at their next turn, I could accomplish this, but for now I have to say that this was a failure.

444
Will it be a carbon copy of the one in FF1? Or just named after it?

Just named. There would be issues with trying to put FFI's Gulg Volcano into FFIV mainly the many rooms that FFI used in a clever fashion wouldn't really be convincing in FFIV without using a Lot of maps to work it.

There will be references in enemies to the original FFI area, and the boss will be a Lamia named Marilith but that's as far as that goes. Mainly because of plot purposes I want the party to go Up the volcano rather than down deep as is done in FFI. I also like the idea of exploring several different tilesets for an area (which is never done for any area in FFIV aside from Crystal Chambers)

Interior Castle Tileset to Mountain Tileset to Watery Caves Tileset to Crystal Chamber.


445
Ah. Sounds good to me then. I'm impressed you managed this all in Bank 1, I'm a bit lost in hacking when I can't use the easy 03 Bank shortcuts.

446
The first event is complete. The only flaw is that the Airship isn't there after the event is done, which is because of Visual Effect 41 setting the Airship to that specific location. I'll have to live with that. I have also put the warp in the Crater as I had planned so this first preparation part is done, now it's a matter of designing the dungeon.

447
Yes, posted indeed, which is one of the reasons I post even some of my more insignificant matters because I just Know I'll lose them if I don't record them somewhere.

The code itself looks pretty solid. Looks like the APL first checks if there's a character in that slot proper. Though what is this 01E170 address that you're JSRing too fairly often in the Stat Routines

448
Ah right, PinkPuff I was looking through the ROM to see where the event that is called when you go to the Underworld and I saw in ROM how much free space is there it looks as if Event Triggers end at 97650 (Unheadered). Just in case there wasn't an overflow check for that yet.

449
I'm making some progress on the new level adjustment code today. Hopefully I can finish it soon.
The way it will work is this:
All normal monster stats will adjust the same as before, except for Agility. Agility will adjust by half the difference it was adjusting before.
So, if a Monster normally had an agility score of 0x10, and the adjustment ratio would normally adjust it up to 0x20, then it will instead adjust to 0x18.
Likewise, if a Monster had an agility score of 0x10 and the ratio would adjust it down to 0x08, then it will adjust down to 0x0C instead.
So the agility changes will be half as drastic as all other stat changes.

As for Bosses...
If the boss monster's starting level is higher than the adjusted APL, then there will be no effect on the Monster's stats at all (boss monsters will not weaken under any circumstances).
If the boss monster's starting level is lower than the adjusted APL, then all stats will adjust as though the Boss was a normal monster (Weaker bosses will get significantly harder the higher your party's level).

I still have to debug the APL calculations before this is complete, but he new coding jumps to a subroutine to calculate APL, so making changes is easy to do without disturbing the rest of the code.


As for Exp adjustment...
I haven't begun that portion yet, but if I recall correctly, what the game does is look at the monster types and quantities and simply perform some calculations based on those figures to determine the total experience award.
This presents a bit of an issue with adjustments, since a different adjustment cannot be made for each individual monster.
SO, my plan is to save each monster's adjustment ratio in the unused stat bytes 2012,x and 2013,x (base wisdom and willpower). At the end of the battle, an average adjustment ratio will be calculated, and the total experience award will be multiplied by this number.
This will make things kinda weird if you fight a battle against, say, an Imp and an EvilMask (I know, this generally will never happen, but you get my point), because the adjustment average will be close to nothing.
For most normal battles, though, this will work nicely, I think...

Looks like things are moving smoothly! I am still a little confused about your adjustment Ratio and plan and how an Imp and EvilMask would be next to nothing. An Imp's ratio at a Level 60 or so should give roughly 1200 Exp. per Imp? Or something like that? Whereas with an early EvilMask fought at level... say 10. it would decrease from 50000 Exp to... (50000 /10 =) 5000 Exp. Also will this plan allow for breaking of the 65535 limit on default Exp. assignments?

450
Ah that's wonderful Chillyfeez! I had completely forgotten that you not only marked them out, but also put them on a tileset to more easily change them.

That should help immensely. Though aren't one of the Tower of Babil triggers unused? I recorded down 3 when there should only be 2. But it is probably just best to be safe and take a firing of the Dwarven Cannons.

Well that does mean that I can have the player re-enter the Northern Wastes then. Terrific!

I'll cross that bridge when it is pertinent for putting Gulg Volcano on the map proper, but looking at the tiles I have available I think that it shouldn't be too difficult to create a Volcano looking area.

But I did have a question... do we know how "Entering Underworld for first time" event is called when you go to the Underworld? It wasn't on any trigger map that I could make out. Since obviously I do Not want to use that event space by deleting the fairly complicated original event. I still have many unused event spaces (and if I need more, I can make more)

If it's unknown I don't think it should take me too long to find... in theory.

So I will need three event slots for the Northern Wastes... 1 for the crashing event, 1 for the switch/?key? and 1 for the Crystal Chamber. I may just cheat and save myself a trigger event space (those things are stupidly precious.) And create an event that "unseals the door". And the events happen when you interact with the door. I can start that event from the "Entering Underworld for first time" slot to keep on point.

 :edit: Well that was a large waste of time. It was in the editor all along at Event Call 47. That's all I need to change,  :bah: