mirror of https://github.com/pret/pokeemerald.git
Added final step of updating gym leaders' dialogue upon receiving the badge
parent
199095a5b2
commit
15353cf834
|
@ -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!
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue