Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

what

I genuinely have no idea how that could happen.
the text for using Overheal is specifically X 'cast' Y
X 'used' Y is the text used for items

so somehow, not only did it take the input for a spell and output an item use, but also used an action as an item.

and ignoring for the moment the problem of item use triggering when trying to cast a spell, when using an item, usable items are pulled from an inventory list, which is only altered in 4 cases:
1 - start menu opened, delete all items from inventory
2 - battle started, add 8 items to inventory
3 - item used, remove used item from inventory
4 - if topchef assist triggers while you do not have a spincake, add a spincake
there is no situation where an item called 'fight' should be added to your inventory, and the item menu should ONLY pull from the inventory list

there are SO many things that had to have gone wrong for this to happen, and I have no idea what could've made any of them behave that way.

is there any more context you can provide, because that's REALLY weird.

So first there was a bug where the ITEM and SPELL menu showed the same thing when selected (Displaying Susie's spell menu) So from the "ITEM" menu I selected overheal since I originally wanted to use bittertear but I could only use spells.

Then that happened.

Was anyone down at this point?

Ralsei was swooned at that point, and I believe my Kris was still alive

Is there anything else that you remember.
also is this like- a common thing? how many times has it come up?

I've been going through the project trying to figure out how either bug is possible.

the way I have it working right now is a variable for each character's action,
and a script you use to alter it by pressing [</>]
if it is 'ITEM' when [z] is pressed, it sends a message to open the item menu, then stops that script, if it is 'MAGIC', it sends a message to open the spell menu, and stops that script.

the 'stopping script' part specifically should make it impossible for both to trigger.

there are only two things that receive the 'open item menu' message:
first, the menu text controller, to delete the flavor text so it doesn't overlap the menu.
Second, the item menu itself, which opens.

the same is true for the magic menu, only three things receive that message:
first, menu text controller
second, magic menu itself
and third, something to hide the knight's HP bar, for when you're returning to the magic menu after canceling [rude buster].

there should be no way they get mixed up, there is no overlap between the messages that triggers either one.


as for the 'used the [FIGHT]' issue, when you're in the item menu and press [x], it sets your selection to 'FIGHT', which might be how you're getting that bug? But it should also immediately return you to the previous menu and end the item script, which should prevent that from happening.

Any additional information would be helpful, because as of now, I am more confused than when I started looking into this, and have no idea what could possibly cause the bugs.