øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=2141.0;prev_next=preve:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index2b27.htmldelayedslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=2141.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index2b27.html.zxg^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ`¦DžpOKtext/htmlISO-8859-1gzip@øÕžpÿÿÿÿÿÿÿÿÑHTue, 10 Mar 2020 04:26:02 GMT0ó°° ®0®P®€§²ð®g^·žp Item Usability Outside of Battle?

Author Topic: Item Usability Outside of Battle?  (Read 972 times)

Bahamut ZERO

  • Cagnazzo
  • *
  • Posts: 347
  • Gender: Male
  • If ye're takin a beatin, hop in de back row!
    • View Profile
Item Usability Outside of Battle?
« on: August 02, 2015, 11:58:45 AM »
For my project I've decided to trim down the amount of status-healing items to four so I could have more space for other items as well as better management of my Item Description space. 

The thing is I can't get them to work correctly outside of battle in terms of usuability, they still rely on the original item's conditions. A funny example of my problem - my item that's used for healing Poison, Blind, and Mute is only usable outside of battle whenever a character has the Mini status.

Is there any information on how to set what conditions an item needs to be usuable outside of battle to an item?


As additional information, here's a tiny list of the items I'm looking to change the OoB condition for and the items they replace:

1: Normalize - Heals Toad, Mini, Pig, and Petrify. Replaces the "MaidKiss" item

2: Remedy - Heals Poison, Blind, and Mute. Replaces the "Mallet" item (Original "Remedy" item renamed to "Miracle")

3: Panacea - Heals 1/3 HP to Self. Replaces the "Soft" (Original "Panacea" item renamed to "PickMeUp")

I update my graphics thread on almost a daily basis, so keep an eye out for new stuff!

Grimoire LD

  • FF4 Hacker
  • *
  • Posts: 1,684
    • View Profile
Re: Item Usability Outside of Battle?
« Reply #1 on: August 02, 2015, 01:06:40 PM »
Let's see... took me a bit of time to dig up but I found the old topic...

http://slickproductions.org/forum/index.php?topic=1863.msg19427#msg19427

Now what you're looking to do should be easily done.

Your first request is easy enough, as I said in the topic there is a table that the game looks at to check how to use in a byte.

BF (-40) is normally used to heal Petrify, now if you wanted it to heal Toad, Mini, and Pig as well you would change BF (-40) to... let's see...

Pig is 8, Mini is 10, and Toad is 20. So BF should have 38 subtracted from it which is... 87, if I'm not mistaken here that should clear those statuses. Granted you could replace this over the DF, put 87 and get the same result, which would work for you since you want to change that item.

Your second request is the same vein. Poison - 1, Blind is 2, Mute is 4. So you just put F8 in place of EF and you're good to go.

BF (-40 getting rid of Petrify) FF - ?? DF (-20 getting rid of Toad) FF - ?? EF (-10 getting rid of Small.) FF - ?? F7 (-8 getting rid of Pig) FF FB (-4 getting rid of Mute)  FF FD (-2 getting rid of Darkness) FF FE (-1 Getting rid of Poison) - FF FF (getting rid of All Statuses) - Just search for those values in ROM and you should find it.

Your third request would require a lot of new coding and wouldn't work At All in the status healing items, since the status healing items themselves all run the same code, but look in this small table (above) to remove status.

As a side note, isn't PickMeUp the name of the reviving item in Super Mario RPG?

Bahamut ZERO

  • Cagnazzo
  • *
  • Posts: 347
  • Gender: Male
  • If ye're takin a beatin, hop in de back row!
    • View Profile
Re: Item Usability Outside of Battle?
« Reply #2 on: November 20, 2015, 02:34:50 PM »
I know it's been a good while since you replied, but I just realized I had yet to actually implement this until today. You da man! Thank you for sharing this info! Works like a charm!


Quote
Your third request would require a lot of new coding and wouldn't work At All in the status healing items, since the status healing items themselves all run the same code, but look in this small table (above) to remove status.

All good. I'm probably going to do something else with that item instead. Might test how helpful 1/3 health healing would be for a potion and see how that goes!



Quote
As a side note, isn't PickMeUp the name of the reviving item in Super Mario RPG?

...I thought that name seemed familiar when I was brainstorming. I've changed it's name to Relaxer for now, though that sounds more along the lines of something that would heal constipation, rather than the negative statuses effects that only last during battle. Hmm...


11/21/15  :edit:

F8OC0 (HEADERED) - Offset for the values determining outside of battle usability talked about in earlier posts.
« Last Edit: November 21, 2015, 12:35:38 PM by Bahamut ZERO »
I update my graphics thread on almost a daily basis, so keep an eye out for new stuff!