Skip to content

Commit

Permalink
Remove badge boosts in Hard Mode
Browse files Browse the repository at this point in the history
  • Loading branch information
JustRegularLuna committed Nov 6, 2018
1 parent 2266903 commit dda7a3a
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 5 deletions.
6 changes: 6 additions & 0 deletions engine/battle/core.asm
Original file line number Diff line number Diff line change
Expand Up @@ -6852,6 +6852,11 @@ CalculateModifiedStat:
ret

ApplyBadgeStatBoosts:
IF DEF (_HARD)
; Hard Mode does not have Badges boost your stats
ret
ELSE
; Normal Mode keeps this in place
ld a, [wLinkState]
cp LINK_STATE_BATTLING
ret z ; return if link battle
Expand Down Expand Up @@ -6903,6 +6908,7 @@ ApplyBadgeStatBoosts:
ld a, 999 % $100
ld [hld], a
ret
ENDC

LoadHudAndHpBarAndStatusTilePatterns:
call LoadHpBarAndStatusTilePatterns
Expand Down
8 changes: 7 additions & 1 deletion text/maps/CinnabarGym.asm
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,17 @@ _BlaineFireBlastText::
_BlaineBadgeText::
text "Hah!"

IF DEF(_HARD)
text "The VolcanoBadge"
line "puts you another"
cont "step closer to"
cont "Victory Road!"
ELSE
para "The VolcanoBadge"
line "heightens the"
cont "Special abilities"
cont "of your #mon!"

ENDC
para "Here, you can"
line "have this too!"
done
Expand Down
9 changes: 8 additions & 1 deletion text/maps/FuchsiaGym_2.asm
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ _KogaExplainToxicText::
done

_FuchsiaGymText9::
IF DEF(_HARD)
text "Now that you have"
line "the SoulBadge,"
cont "it also lets you"
cont "Surf outside of"
cont "battle!"
ELSE
text "Now that you have"
line "the SoulBadge,"
cont "the Defense of"
Expand All @@ -19,7 +26,7 @@ _FuchsiaGymText9::
para "It also lets you"
line "Surf outside of"
cont "battle!"

ENDC
para "Ah! Take this"
line "too!"
done
Expand Down
10 changes: 7 additions & 3 deletions text/maps/PewterGym_2.asm
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,16 @@ _PewterGymText_5c4c1::
para "That's an official"
line "#mon League"
cont "Badge!"

IF DEF(_HARD)
para "It's your first"
line "step on the road"
cont "to the League!"
ELSE
para "Its bearer's"
line "#mon become"
cont "more powerful!"

para "The technique"
ENDC
para "Also, the move"
line "Flash can now be"
cont "used anytime!"
prompt
Expand Down
7 changes: 7 additions & 0 deletions text/maps/VermilionGym_2.asm
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,20 @@ _VermilionGymText_5cb72::
done

_VermilionGymText_5cb77::
IF DEF(_HARD)
text "The ThunderBadge"
line "lets your #mon"
cont "use Fly any time,"
cont "kid!"
ELSE
text "The ThunderBadge"
line "cranks up your"
cont "#mon's Speed!"

para "It also lets your"
line "#mon Fly any-"
cont "time, kid!"
ENDC

para "You're special,"
line "kid! Take this!"
Expand Down

0 comments on commit dda7a3a

Please sign in to comment.