Solybum / PSOBBMod-Addons

GNU General Public License v3.0
29 stars 29 forks source link

Fix crash caused by fetching mag photon blast names at the main menu … #76

Closed Elixir70 closed 11 months ago

Elixir70 commented 11 months ago

Unitxt is unloaded for a frame at the main menu, so the AIO may crash when fetching certain strings. Item kill counters in the bank and multi-floor list were missing or bogus--this corrects them by using the item data.

Also fixed the mag timer in ReadItemData() to round up to the nearest second. This way the timer starts at 03:30 and will hit 00:00 exactly when the mag can be fed.