From 418e99719301ff2e4e4fbef148b46fe8f46115a9 Mon Sep 17 00:00:00 2001 From: voloved <36523934+voloved@users.noreply.github.com> Date: Mon, 28 Aug 2023 17:19:26 -0400 Subject: [PATCH] Got ride of VAR_MULT_EXP and getScaledLevel --- Add-Nuzlocke-Challenge.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Add-Nuzlocke-Challenge.md b/Add-Nuzlocke-Challenge.md index 0fffc46..51baccd 100644 --- a/Add-Nuzlocke-Challenge.md +++ b/Add-Nuzlocke-Challenge.md @@ -1311,7 +1311,7 @@ index 6e6f5886e..c5f9baa57 100644 + if (partyData[i].lvl > levelCap) + levelCap = partyData[i].lvl; + } -+ return GetScaledLevel(levelCap); ++ return levelCap; +} + +bool8 levelCappedNuzlocke(u8 level){ @@ -1404,8 +1404,7 @@ index e6e0721e1..f73cae167 100644 } - else if (GetMonData(&gPlayerParty[gBattleStruct->expGetterMonId], MON_DATA_LEVEL) == MAX_LEVEL) + else if (GetMonData(&gPlayerParty[gBattleStruct->expGetterMonId], MON_DATA_LEVEL) == MAX_LEVEL -+ || levelCappedNuzlocke(GetMonData(&gPlayerParty[gBattleStruct->expGetterMonId], MON_DATA_LEVEL)) -+ || VarGet(VAR_EXP_MULT) == 4) ++ || levelCappedNuzlocke(GetMonData(&gPlayerParty[gBattleStruct->expGetterMonId], MON_DATA_LEVEL))) { *(&gBattleStruct->sentInPokes) >>= 1; gBattleScripting.getexpState = 5;