diff options
| author | Idain <luiscarlosholguinperez@outlook.com> | 2021-03-08 01:46:57 -0400 |
|---|---|---|
| committer | Idain <luiscarlosholguinperez@outlook.com> | 2021-03-08 01:46:57 -0400 |
| commit | 5bf4908a9fbf4a5e4dbf6ee2bfcaeff4eb8f2766 (patch) | |
| tree | e7a0968defa3dd3bd2e6d0a62711e9ab4a338f9e | |
| parent | ea8ec6bc89a864300e0a831898b84ef9387c716e (diff) | |
Updated Don't lose HP from poisoning in the overworld (markdown)
| -rw-r--r-- | Don't-lose-HP-from-poisoning-in-the-overworld.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Don't-lose-HP-from-poisoning-in-the-overworld.md b/Don't-lose-HP-from-poisoning-in-the-overworld.md index 0695130..56824d0 100644 --- a/Don't-lose-HP-from-poisoning-in-the-overworld.md +++ b/Don't-lose-HP-from-poisoning-in-the-overworld.md @@ -20,6 +20,7 @@ CountStep: inc [hl] ; Every 256 steps, increase the happiness of all your Pokemon. jr nz, .skip_happiness + ... ``` ## 2. Get rid of useless routines @@ -44,7 +45,8 @@ In the same file: -.skip_poison farcall DoBikeStep +... ``` Since wPoisonStepCounter has stopped counting our steps, we no longer need to check how many steps we've taken to determine whether to take poison damage or not. -And that's it! Our Pokémon will no longer lose HP while walking in the overworld. Optionally, you can safely delete [engine/events/poisonstep.asm](https://github.com/pret/pokecrystal/blob/master/engine/events/poisonstep.asm), since this was the only instance where DoPoisonStep was called.
\ No newline at end of file +And that's it! Our Pokémon will no longer lose HP while walking in the overworld. Optionally, you can safely delete [poisonstep.asm](https://github.com/pret/pokecrystal/blob/master/engine/events/poisonstep.asm), since this was the only instance where DoPoisonStep was called.
\ No newline at end of file |
