summaryrefslogtreecommitdiff
path: root/Physical-Special-split.md
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-05-21 13:03:40 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2018-05-21 13:03:40 -0400
commit8ec8f3792d09ced6e20c363a6d9b2ca0fb2d101c (patch)
tree6a46dfa2520503bb7d4823fd09e7ae9ac20f38f8 /Physical-Special-split.md
parent129975916dc90e6d9fc2c9b0b64783690d04b699 (diff)
parent322dc84b3d1dc0b847f062730705acbbcd921074 (diff)
Merge branch 'master' of https://github.com/pret/pokecrystal.wiki
Diffstat (limited to 'Physical-Special-split.md')
-rw-r--r--Physical-Special-split.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/Physical-Special-split.md b/Physical-Special-split.md
index 2449ad5..6eb176b 100644
--- a/Physical-Special-split.md
+++ b/Physical-Special-split.md
@@ -250,15 +250,14 @@ Here we're just masking out categories again.
+; Get the Pokémon's base Special Attack
+ ld a, BANK(BaseData)
+ call GetFarByte
++ pop hl
+; If its base Attack is greater than its base Special Attack,
+; don't encourage this move.
+ cp d
+ jr nc, .asm_38b09
-+ pop hl
+ ret
.asm_38b09
-+ pop hl
call AI_80_20
ret c
dec [hl]