Users browsing this thread: 1 Guest(s)
FFVI: Veteran Edition

#32
Posts: 3,971
Threads: 279
Thanks Received: 238
Thanks Given: 58
Joined: Oct 2011
Reputation: 65
Status
Tissue-aware
First before attempting anything, I suggest you work in close relation with the event dump and the event command list, both available here. Every time you go to an event offset, locate yourself in the event dump, with an offset search or dialogue search. One you know where you are, you'll know what just went by and what is coming, in terms of event. Now I won't answer your last question because I have no clue what you are looking for.

However what Angelo was talking about is forcing the jump to the second choice. Here you have a choice:

Code:
CC/0B37: 4B    Display dialogue message $05EF, wait for button press
               I ran a Weapon Shop for 70 years!
               This stone gives off an eerie aura!
               If I melted it, and forged a sword, it'd be powerful!
               Well?
               Make this stone into a sword?
               ^ Leave it the stone “Ragnarok”
               ^ Make it the sword “Ragnarok”
CC/0B3A: B6    Indexed branch based on prior dialogue selection [$CC0B42, $CC0B58]
CC/0B41: FE    Return

If you look at the event command document, under command B6, you will understand what the bytes after the B6 means. They are the 2 addresses of the 2 choice.

First Choice; The Esper. All this code is useless because you want to force the second choice. You can therefore use the space for extra code or put FF or FD all over the place it doesn't matter.

Code:
CC/0B42: 4B    Display dialogue message $05F0, wait for button press
               Right.
CC/0B45: F4    Play sound effect 103
CC/0B47: B2    Call subroutine $CC9AD5
CC/0B4B: 42    Hide object $11
CC/0B4D: B2    Call subroutine $CC9AD5
CC/0B51: F4    Play sound effect 141
CC/0B53: 86    Give esper $46 (Ragnarok) to party
CC/0B55: D0    Set event bit $1E80($0B6) [$1E96, bit 6]
CC/0B57: FE    Return

Second choice: The Sword. Now what you need to do is jump here and to force this you use the B2 command instead of this (same code from above):

Code:
CC/0B3A: B6    Indexed branch based on prior dialogue selection

Since you will edit the dialogue, there is no more choice so instead of command B6 it will be command B2 with the good 3 bytes that come after for the address to jump to. Once again check the command document to know how to use it, but Angelo pretty much gave you your answer on a silver plate. Here it is again: B2 58 0B 02.

Code:
CC/0B58: 4B    Display dialogue message $05F0, wait for button press
               Right.
CC/0B5B: F4    Play sound effect 103
CC/0B5D: B2    Call subroutine $CC9AD5
CC/0B61: 42    Hide object $11
CC/0B63: B2    Call subroutine $CC9AD5
CC/0B67: 80    Add item $1B (<D9>Ragnarok    ) to inventory
CC/0B69: D0    Set event bit $1E80($0B6) [$1E96, bit 6]
CC/0B6B: FE    Return

----------------------------------------------------------------------

Now for you pug event, if you want him to react to your sword you can set an unused event bit when you get the sword(see event bit list available here). Then once you get to the pug NPC you trigger a custom event that will check if your event bit is set. Based on that condition, you can choose two path. You put whatever you want in these two path. One if you found the sword (Pug is pissed off and stab you) and one path is the sword is not found (Pug say "Hello!" or Pug does nothing, whatever). This is called conditional branching and I made a tutorial about it.

You could even make pug invisible if the sword is not found, but the conditional branching has to be set in the entrance event of the map, e.g. it will check if the event bit is set every time you enter the map.

-----------------------------------------------------------------------

Last thing. The magic spells are part of the list of 255 spells (with dances, enemy magic and magitek and other stuff). They have an order in the ROM as data. You can check a ROM map to see where they are. Their order is hard coded and they are only regrouped by type (that I mentionned). Nothing in their name organize them. There is no simply way to reorganize them, at least not one that I know about. The best thing is to use a white magic to have a new white magic as an example.
  Find
 



Messages In This Thread
FFVI: Veteran Edition - by KajDarkwind - 04-02-2011, 09:17 PM
RE: FFVI: Veteran Edition - by ribbits - 04-02-2011, 10:22 PM
RE: FFVI: Veteran Edition - by Angelo26 - 04-03-2011, 07:50 AM
RE: FFVI: Veteran Edition - by KajDarkwind - 04-03-2011, 03:36 PM
RE: FFVI: Veteran Edition - by Angelo26 - 04-03-2011, 05:04 PM
RE: FFVI: Veteran Edition - by KajDarkwind - 04-03-2011, 11:14 PM
RE: FFVI: Veteran Edition - by Angelo26 - 04-04-2011, 08:03 AM
RE: FFVI: Veteran Edition - by xJCSx - 04-04-2011, 03:55 PM
RE: FFVI: Veteran Edition - by KajDarkwind - 04-08-2011, 05:47 PM
RE: FFVI: Veteran Edition - by Angelo26 - 04-08-2011, 06:32 PM
RE: FFVI: Veteran Edition - by KajDarkwind - 04-09-2011, 08:47 PM
RE: FFVI: Veteran Edition - by Angelo26 - 04-09-2011, 10:07 PM
RE: FFVI: Veteran Edition - by KajDarkwind - 04-10-2011, 05:07 PM
RE: FFVI: Veteran Edition - by Angelo26 - 04-10-2011, 08:31 PM
RE: FFVI: Veteran Edition - by KajDarkwind - 04-11-2011, 09:44 PM
RE: FFVI: Veteran Edition - by Angelo26 - 04-12-2011, 01:29 AM
RE: FFVI: Veteran Edition - by KajDarkwind - 04-12-2011, 06:55 PM
RE: FFVI: Veteran Edition - by Angelo26 - 04-12-2011, 07:44 PM
RE: FFVI: Veteran Edition - by KajDarkwind - 04-13-2011, 12:20 AM
RE: FFVI: Veteran Edition - by Angelo26 - 04-13-2011, 11:55 AM
RE: FFVI: Veteran Edition - by KajDarkwind - 04-17-2011, 02:13 AM
RE: FFVI: Veteran Edition - by Angelo26 - 04-17-2011, 03:18 PM
RE: FFVI: Veteran Edition - by KajDarkwind - 04-23-2011, 06:27 PM
RE: FFVI: Veteran Edition - by KajDarkwind - 04-29-2012, 12:02 PM
RE: FFVI: Veteran Edition - by SSJ Rick - 04-29-2012, 01:42 PM
RE: FFVI: Veteran Edition - by KajDarkwind - 07-03-2012, 04:58 PM
RE: FFVI: Veteran Edition - by Angelo26 - 07-03-2012, 06:24 PM
RE: FFVI: Veteran Edition - by SSJ Rick - 07-03-2012, 06:20 PM
RE: FFVI: Veteran Edition - by KajDarkwind - 07-03-2012, 06:52 PM
RE: FFVI: Veteran Edition - by Angelo26 - 07-03-2012, 07:57 PM
RE: FFVI: Veteran Edition - by KajDarkwind - 07-03-2012, 09:36 PM
RE: FFVI: Veteran Edition - by madsiur - 07-03-2012, 11:25 PM
RE: FFVI: Veteran Edition - by KajDarkwind - 07-04-2012, 12:10 AM
RE: FFVI: Veteran Edition - by Gi Nattak - 07-04-2012, 01:05 AM
RE: FFVI: Veteran Edition - by Angelo26 - 07-04-2012, 03:09 AM
RE: FFVI: Veteran Edition - by Gi Nattak - 07-04-2012, 05:19 AM
RE: FFVI: Veteran Edition - by Angelo26 - 07-04-2012, 05:38 AM
RE: FFVI: Veteran Edition - by KajDarkwind - 07-04-2012, 02:45 PM
RE: FFVI: Veteran Edition - by KajDarkwind - 09-17-2012, 01:03 PM
RE: FFVI: Veteran Edition - by madsiur - 09-17-2012, 05:35 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite