Edit wording and diff format

This commit is contained in:
Rangi 2020-12-18 09:25:49 -05:00 committed by GitHub
parent cfc9bf5a33
commit 49458edf94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -767,54 +767,45 @@ This bug existed for all battles in Gold and Silver, and was only fixed for sing
### Moves that do damage and increase your stats do not increase stats after a KO ### Moves that do damage and increase your stats do not increase stats after a KO
The `checkfaint` routine skips the stats increasing effects if the opponent is KO'd, unlike in modern pokemon games. Note that this can lead to stats being increased at the end of battle, but will not have any negative effects. `BattleCommand_CheckFaint` "ends the move effect if the opponent faints", and these moves attempt to raise the user's stats *after* `checkfaint`. Note that fixing this can lead to stats being increased at the end of battle, but will not have any negative effects.
**Fix:** Make the following changes in [data/moves/effects.asm](https://github.com/pret/pokecrystal/blob/master/data/moves/effects.asm) **Fix:** Edit [data/moves/effects.asm](https://github.com/pret/pokecrystal/blob/master/data/moves/effects.asm):
```diff ```diff
DefenseUpHit: DefenseUpHit:
checkobedience ...
usedmovetext criticaltext
doturn supereffectivetext
... + defenseup
criticaltext checkfaint
supereffectivetext buildopponentrage
+ defenseup - defenseup
checkfaint statupmessage
buildopponentrage endmove
- defenseup
statupmessage
endmove
AttackUpHit: AttackUpHit:
checkobedience ...
usedmovetext criticaltext
doturn supereffectivetext
... + attackup
criticaltext checkfaint
supereffectivetext buildopponentrage
+ attackup - attackup
checkfaint statupmessage
buildopponentrage endmove
- attackup
statupmessage
endmove
AllUpHit: AllUpHit:
checkobedience ...
usedmovetext criticaltext
doturn supereffectivetext
... + allstatsup
criticaltext checkfaint
supereffectivetext buildopponentrage
+ allstatsup - allstatsup
checkfaint endmove
buildopponentrage
- allstatsup
endmove
``` ```
## Single-player battle engine ## Single-player battle engine