summaryrefslogtreecommitdiff
path: root/main.asm
diff options
context:
space:
mode:
authorstag019 <stag019@gmail.com>2012-09-20 05:45:54 -0400
committerstag019 <stag019@gmail.com>2012-09-20 05:45:54 -0400
commit507170d0ee1ceb54e7f51069635e2d786a13be3d (patch)
treea836eb9cbb7bcff696131737bfffda2becf9c75e /main.asm
parent4b28ddb11f38ad2a45b2d7c6cb4c93c2a539ec71 (diff)
Type effectiveness display message. That's right, I did some work for once.
Diffstat (limited to 'main.asm')
-rw-r--r--main.asm11
1 files changed, 10 insertions, 1 deletions
diff --git a/main.asm b/main.asm
index 94bada11..3680a362 100644
--- a/main.asm
+++ b/main.asm
@@ -29812,7 +29812,16 @@ BeedrillPicBack:
FossilKabutopsPic:
INCBIN "pic/bmon/fossilkabutops.pic"
-INCBIN "baserom.gbc",$2fb7b,$2fb8e - $2fb7b
+DisplayEffectiveness:
+ ld a, [$D05B]
+ and a, $7F
+ cp a, $0A
+ ret z
+ ld hl, UnnamedText_2fb8e ; It's super effective!
+ jr nc, .done\@
+ ld hl, UnnamedText_2fb93 ; It's not very effective...
+.done\@
+ jp $3C49
UnnamedText_2fb8e: ; 0x2fb8e
TX_FAR _UnnamedText_2fb8e