1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-20 00:46:34 +00:00

Aegis Sword disappearing on save state load fix (#574)

* Prevent Aegis's sword from vanishing on state load

* Include Pyra's sword
This commit is contained in:
GradualSyrup 2023-08-06 20:24:33 -05:00 committed by GitHub
parent fb9d1648d4
commit fea2651726
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ use crate::training::ui::notifications;
use crate::{is_ptrainer, ITEM_MANAGER_ADDR};
// Don't remove Mii hats, or Luma, or crafting table
const ARTICLE_ALLOWLIST: [(LuaConst, LuaConst); 5] = [
const ARTICLE_ALLOWLIST: [(LuaConst, LuaConst); 7] = [
(
FIGHTER_KIND_MIIFIGHTER,
FIGHTER_MIIFIGHTER_GENERATE_ARTICLE_HAT,
@ -49,6 +49,8 @@ const ARTICLE_ALLOWLIST: [(LuaConst, LuaConst); 5] = [
),
(FIGHTER_KIND_ROSETTA, FIGHTER_ROSETTA_GENERATE_ARTICLE_TICO),
(FIGHTER_KIND_PICKEL, FIGHTER_PICKEL_GENERATE_ARTICLE_TABLE),
(FIGHTER_KIND_ELIGHT, FIGHTER_ELIGHT_GENERATE_ARTICLE_ESWORD),
(FIGHTER_KIND_EFLAME, FIGHTER_EFLAME_GENERATE_ARTICLE_ESWORD),
];
extern "C" {