ref: 507170d0ee1ceb54e7f51069635e2d786a13be3d
parent: 4b28ddb11f38ad2a45b2d7c6cb4c93c2a539ec71
author: stag019 <stag019@gmail.com>
date: Thu Sep 20 01:45:54 EDT 2012
Type effectiveness display message. That's right, I did some work for once.
--- a/main.asm
+++ b/main.asm
@@ -29812,7 +29812,16 @@
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