diff options
author | kiliwily <69381603+kiliwily@users.noreply.github.com> | 2020-09-19 20:46:26 +0200 |
---|---|---|
committer | kiliwily <69381603+kiliwily@users.noreply.github.com> | 2020-09-19 20:46:26 +0200 |
commit | f1366dfc694c78ac934e58a917a173f95c55df28 (patch) | |
tree | d7ff02e9ef044dfd0bb50181983bed06ae4afca2 | |
parent | 56848fb891f55acdc98ee1b5956ffd2b1c8174eb (diff) |
Fix typos
-rw-r--r-- | src/metatile_behavior.c | 8 | ||||
-rw-r--r-- | src/pokemon.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/metatile_behavior.c b/src/metatile_behavior.c index 516a44a07..51cc65c22 100644 --- a/src/metatile_behavior.c +++ b/src/metatile_behavior.c @@ -968,10 +968,10 @@ bool8 MetatileBehavior_IsDiveable(u8 metatileBehavior) bool8 MetatileBehavior_IsUnableToEmerge(u8 metatileBehavior) { - //BUG: The player is unintentionally able to emerge on water doors. - //Also the narrower underwater door in the underwater tileset has the wrong metatile behavior. This causes the dive glitch. - //To fix that add ||metatileBehavior == MB_WATER_DOOR to the if statement below and - //change the metatile behavior of the narrower water door with porymaps tilset editor. + // BUG: The player is unintentionally able to emerge on water doors. + // Also the narrower underwater door in the underwater tileset has the wrong metatile behavior. This causes the dive glitch. + // To fix that add || metatileBehavior == MB_WATER_DOOR to the if statement below and + // change the metatile behavior of the narrower water door with porymaps tileset editor. if (metatileBehavior == MB_NO_SURFACING || metatileBehavior == MB_SEAWEED_NO_SURFACING) return TRUE; diff --git a/src/pokemon.c b/src/pokemon.c index b6bec0329..30f0b0e73 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -2861,8 +2861,8 @@ void CalculateMonStats(struct Pokemon *mon) if (currentHP == 0 && oldMaxHP == 0) currentHP = newMaxHP; else if (currentHP != 0) - //BUG: currentHP is unintentionally able to become <= 0 after the instruction below. This causes the pomeg berry glitch. - //To fix this add another if statement after the instruction that sets currentHP = 1 if currentHP <= 0. + // BUG: currentHP is unintentionally able to become <= 0 after the instruction below. This causes the pomeg berry glitch. + // To fix that set currentHP = 1 if currentHP <= 0. currentHP += newMaxHP - oldMaxHP; else return; |