From 15353cf834b5a36e1f4526103208bbab536a6cba Mon Sep 17 00:00:00 2001 From: surtr-games <37739874+surtr-games@users.noreply.github.com> Date: Thu, 21 Nov 2024 00:29:55 -0500 Subject: [PATCH] Added final step of updating gym leaders' dialogue upon receiving the badge --- Remove-badge-boosts.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Remove-badge-boosts.md b/Remove-badge-boosts.md index 601174f..31f0015 100644 --- a/Remove-badge-boosts.md +++ b/Remove-badge-boosts.md @@ -6,6 +6,7 @@ This tutorial will remove the stat boosts given from badges and replace them wit 1. [Remove badge boosts from damage calculations](#1-remove-badge-boosts-from-damage-calculations) 2. [Remove badge boost from speed calculation](#2-remove-badge-boost-from-speed-calculation) 3. [Update obedience levels](#3-update-obedience-levels) +4. [Update Gym Leaders' dialogue](#4-update-gym-leaders-dialogue) ## 1. Remove badge boosts from damage calculations First, we need to remove the badge boost function and every place that calls the badge boost function. That way, badges will not affect how damage is calculated. @@ -93,4 +94,15 @@ This is how it works for Omega Ruby/Alpha Sapphire, Gen 7, and the Let's Go game if (FlagGet(FLAG_BADGE07_GET)) obedienceLevel = 80; ``` -Now, badge boosts are gone, and obedience has been updated to modern levels! \ No newline at end of file +Now, badge boosts are gone, and obedience has been updated to modern levels! + +## 4. Update Gym Leaders' dialogue +The last step is to update some dialogues with the Gym Leaders after receiving a badge because they mention the stat boosts instead of the new obedience levels. The list of affected dialogues is below but the rephrasing is left to the reader. + +In [‎data/maps/RustboroCity_Gym/scripts.inc](../blob/master/data/maps/RustboroCity_Gym/scripts.inc), at `RustboroCity_Gym_Text_StoneBadgeInfoTakeThis`: remove the mention to the Attack boost and inform about the Lv 20 obedience threshold. + +And do the same for: +- [‎data/maps/MauvilleCity_Gym/scripts.inc](../blob/master/data/maps/MauvilleCity_Gym/scripts.inc), at `MauvilleCity_Gym_Text_ExplainDynamoBadgeTakeThis`: Speed boost → Lv 40 obedience +- [‎data/maps/PetalburgCity_Gym/scripts.inc](../blob/master/data/maps/PetalburgCity_Gym/scripts.inc), at `PetalburgCity_Gym_Text_ExplainBalanceBadgeTakeThis`: Defense boost → Lv 60 obedience +- [‎data/maps/MossdeepCity_Gym/scripts.inc](../blob/master/data/maps/MossdeepCity_Gym/scripts.inc), at `MossdeepCity_Gym_Text_ExplainMindBadgeTakeThis`: Sp. Atk/Sp. Def boost → Lv 80 obedience +