summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Don't-lose-HP-from-poisoning-in-the-overworld.md4
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