mirror of
https://github.com/pret/pokered.git
synced 2024-10-23 06:58:24 +00:00
Type effectiveness display message. That's right, I did some work for once.
This commit is contained in:
parent
4b28ddb11f
commit
507170d0ee
1 changed files with 10 additions and 1 deletions
11
main.asm
11
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
|
||||
|
|
Loading…
Reference in a new issue