diff --git a/README.md b/README.md index b66ba74..0e2e610 100644 --- a/README.md +++ b/README.md @@ -521,7 +521,7 @@ These are the features that can be found [in the latest beta release](https://gi * **Dodge Staling**: Control whether the CPU is affected by the game's default dodge (roll, airdodge, etc.) staling mechanism. - @GradualSyrup ## Bugfixes -* Keep Luma, Mii Fighter hats, Mythra's sword, and Pikmin when loading save states - @GradualSyrup +* Keep Duck Hunt's Reticle, Luma, Mii Fighter hats, Mythra's sword, and Pikmin when loading save states - @GradualSyrup * Fix Pokemon Trainer load on save state - @GradualSyrup * Allow Pokemon to be saved properly * Speed up load to match other fighters diff --git a/src/training/save_states.rs b/src/training/save_states.rs index 62e27ed..b2359aa 100644 --- a/src/training/save_states.rs +++ b/src/training/save_states.rs @@ -37,7 +37,7 @@ use crate::training::ui::notifications; use crate::{is_ptrainer, ITEM_MANAGER_ADDR}; // Don't remove Mii hats, Pikmin, Luma, or crafting table -const ARTICLE_ALLOWLIST: [(LuaConst, LuaConst); 8] = [ +const ARTICLE_ALLOWLIST: [(LuaConst, LuaConst); 9] = [ ( FIGHTER_KIND_MIIFIGHTER, FIGHTER_MIIFIGHTER_GENERATE_ARTICLE_HAT, @@ -55,6 +55,10 @@ const ARTICLE_ALLOWLIST: [(LuaConst, LuaConst); 8] = [ (FIGHTER_KIND_ELIGHT, FIGHTER_ELIGHT_GENERATE_ARTICLE_ESWORD), (FIGHTER_KIND_EFLAME, FIGHTER_EFLAME_GENERATE_ARTICLE_ESWORD), (FIGHTER_KIND_PIKMIN, FIGHTER_PIKMIN_GENERATE_ARTICLE_PIKMIN), + ( + FIGHTER_KIND_DUCKHUNT, + FIGHTER_DUCKHUNT_GENERATE_ARTICLE_RETICLE, + ), ]; extern "C" {